Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Repository
0efbb6e93e9bb5307e1925746980e102b94e7254
Switch branch/tag
transformers
tests
models
gpt2
test_tokenization_gpt2.py
Find file
Blame
History
Permalink
fix GPT2 token's `special_tokens_mask` when used with `add_bos_token=True` (#19036)
· 0efbb6e9
SaulLu
authored
Sep 14, 2022
0efbb6e9
test_tokenization_gpt2.py
11.1 KB
Edit
Web IDE
Replace test_tokenization_gpt2.py
×
Attach a file by drag & drop or
click to upload
Commit message
Replace test_tokenization_gpt2.py
Replace file
Cancel
A new branch will be created in your fork and a new merge request will be started.