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
3871b8a1
"vscode:/vscode.git/clone" did not exist on "015f7812eda667da771cbf67bdfd002c5313d749"
Commit
3871b8a1
authored
Aug 30, 2019
by
thomwolf
Browse files
adding xlm 17 and 100 models and config on aws
parent
8678ff8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
pytorch_transformers/modeling_xlm.py
pytorch_transformers/modeling_xlm.py
+4
-0
No files found.
pytorch_transformers/modeling_xlm.py
View file @
3871b8a1
...
...
@@ -44,6 +44,8 @@ XLM_PRETRAINED_MODEL_ARCHIVE_MAP = {
'xlm-mlm-xnli15-1024'
:
"https://s3.amazonaws.com/models.huggingface.co/bert/xlm-mlm-xnli15-1024-pytorch_model.bin"
,
'xlm-clm-enfr-1024'
:
"https://s3.amazonaws.com/models.huggingface.co/bert/xlm-clm-enfr-1024-pytorch_model.bin"
,
'xlm-clm-ende-1024'
:
"https://s3.amazonaws.com/models.huggingface.co/bert/xlm-clm-ende-1024-pytorch_model.bin"
,
'xlm-mlm-17-1280'
:
"https://s3.amazonaws.com/models.huggingface.co/bert/xlm-mlm-17-1280-pytorch_model.json"
,
'xlm-mlm-100-1280'
:
"https://s3.amazonaws.com/models.huggingface.co/bert/xlm-mlm-17-1280-pytorch_model.json"
,
}
XLM_PRETRAINED_CONFIG_ARCHIVE_MAP
=
{
'xlm-mlm-en-2048'
:
"https://s3.amazonaws.com/models.huggingface.co/bert/xlm-mlm-en-2048-config.json"
,
...
...
@@ -54,6 +56,8 @@ XLM_PRETRAINED_CONFIG_ARCHIVE_MAP = {
'xlm-mlm-xnli15-1024'
:
"https://s3.amazonaws.com/models.huggingface.co/bert/xlm-mlm-xnli15-1024-config.json"
,
'xlm-clm-enfr-1024'
:
"https://s3.amazonaws.com/models.huggingface.co/bert/xlm-clm-enfr-1024-config.json"
,
'xlm-clm-ende-1024'
:
"https://s3.amazonaws.com/models.huggingface.co/bert/xlm-clm-ende-1024-config.json"
,
'xlm-mlm-17-1280'
:
"https://s3.amazonaws.com/models.huggingface.co/bert/xlm-mlm-17-1280-config.json"
,
'xlm-mlm-100-1280'
:
"https://s3.amazonaws.com/models.huggingface.co/bert/xlm-mlm-17-1280-config.json"
,
}
...
...
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