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
5c5f67a2
Commit
5c5f67a2
authored
Dec 18, 2019
by
Stefan Schweter
Browse files
modeling: use S3 location for XLM-RoBERTa model
parent
db90e121
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
transformers/modeling_xlm_roberta.py
transformers/modeling_xlm_roberta.py
+2
-2
No files found.
transformers/modeling_xlm_roberta.py
View file @
5c5f67a2
...
@@ -27,8 +27,8 @@ from .file_utils import add_start_docstrings
...
@@ -27,8 +27,8 @@ from .file_utils import add_start_docstrings
logger
=
logging
.
getLogger
(
__name__
)
logger
=
logging
.
getLogger
(
__name__
)
XLM_ROBERTA_PRETRAINED_MODEL_ARCHIVE_MAP
=
{
XLM_ROBERTA_PRETRAINED_MODEL_ARCHIVE_MAP
=
{
'xlm-roberta-base'
:
"https://s
chweter.eu/cloud/transform
er
s
/xlm-roberta-base-pytorch_model.bin"
,
'xlm-roberta-base'
:
"https://s
3.amazonaws.com/models.huggingface.co/b
er
t
/xlm-roberta-base-pytorch_model.bin"
,
'xlm-roberta-large'
:
"https://s
chweter.eu/cloud/transform
er
s
/xlm-roberta-large-pytorch_model.bin"
,
'xlm-roberta-large'
:
"https://s
3.amazonaws.com/models.huggingface.co/b
er
t
/xlm-roberta-large-pytorch_model.bin"
,
}
}
...
...
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