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
Commits
189ff9b6
Commit
189ff9b6
authored
Aug 17, 2019
by
Christophe Bourguignat
Committed by
Lysandre Debut
Aug 17, 2019
Browse files
Update README after RoBERTa addition
parent
d8923270
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
189ff9b6
...
@@ -76,7 +76,7 @@ import torch
...
@@ -76,7 +76,7 @@ import torch
from
pytorch_transformers
import
*
from
pytorch_transformers
import
*
# PyTorch-Transformers has a unified API
# PyTorch-Transformers has a unified API
# for
6
transformer architectures and
27
pretrained weights.
# for
7
transformer architectures and
30
pretrained weights.
# Model | Tokenizer | Pretrained weights shortcut
# Model | Tokenizer | Pretrained weights shortcut
MODELS
=
[(
BertModel
,
BertTokenizer
,
'bert-base-uncased'
),
MODELS
=
[(
BertModel
,
BertTokenizer
,
'bert-base-uncased'
),
(
OpenAIGPTModel
,
OpenAIGPTTokenizer
,
'openai-gpt'
),
(
OpenAIGPTModel
,
OpenAIGPTTokenizer
,
'openai-gpt'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment