Skip to content

Commit

Permalink
change back to AutoTokenizer
Browse files Browse the repository at this point in the history
  • Loading branch information
ydshieh committed Apr 20, 2022
1 parent a2e5095 commit 3860253
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

_CHECKPOINT_FOR_DOC = "uw-madison/nystromformer-512"
_CONFIG_FOR_DOC = "NystromformerConfig"
_TOKENIZER_FOR_DOC = "AlbertTokenizer"
_TOKENIZER_FOR_DOC = "AutoTokenizer"

NYSTROMFORMER_PRETRAINED_MODEL_ARCHIVE_LIST = [
"uw-madison/nystromformer-512",
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/models/yoso/modeling_yoso.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

_CHECKPOINT_FOR_DOC = "uw-madison/yoso-4096"
_CONFIG_FOR_DOC = "YosoConfig"
_TOKENIZER_FOR_DOC = "AlbertTokenizer"
_TOKENIZER_FOR_DOC = "AutoTokenizer"

YOSO_PRETRAINED_MODEL_ARCHIVE_LIST = [
"uw-madison/yoso-4096",
Expand Down

0 comments on commit 3860253

Please sign in to comment.