Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
zhusg
transformers-new
Commits
b6ae24fc
Commit
b6ae24fc
authored
8 months ago
by
Ita Zaporozhets
Browse files
Options
Download
Patches
Plain Diff
check if repo has tokenizer.json file, then load PreTrainedTokenizerFast
parent
88b140e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/transformers/models/auto/tokenization_auto.py
+97
-3
src/transformers/models/auto/tokenization_auto.py
tests/models/auto/test_tokenization_auto.py
+5
-0
tests/models/auto/test_tokenization_auto.py
with
102 additions
and
3 deletions
+102
-3
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment