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
db90e121
Commit
db90e121
authored
Dec 18, 2019
by
Stefan Schweter
Browse files
configuration: use S3 location for XLM-RoBERTa model
parent
f09d9996
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
transformers/configuration_xlm_roberta.py
transformers/configuration_xlm_roberta.py
+2
-1
No files found.
transformers/configuration_xlm_roberta.py
View file @
db90e121
...
...
@@ -25,7 +25,8 @@ from .configuration_roberta import RobertaConfig
logger
=
logging
.
getLogger
(
__name__
)
XLM_ROBERTA_PRETRAINED_CONFIG_ARCHIVE_MAP
=
{
'xlm-roberta-large'
:
"https://schweter.eu/cloud/transformers/xlm-roberta-large-config.json"
,
'xlm-roberta-base'
:
"https://s3.amazonaws.com/models.huggingface.co/bert/xlm-roberta-base-config.json"
,
'xlm-roberta-large'
:
"https://s3.amazonaws.com/models.huggingface.co/bert/xlm-roberta-large-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