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
e778dd85
Commit
e778dd85
authored
Dec 18, 2019
by
Stefan Schweter
Browse files
modeling: add XLM-RoBERTa base model
parent
64a971a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
transformers/modeling_xlm_roberta.py
transformers/modeling_xlm_roberta.py
+1
-0
No files found.
transformers/modeling_xlm_roberta.py
View file @
e778dd85
...
@@ -27,6 +27,7 @@ from .file_utils import add_start_docstrings
...
@@ -27,6 +27,7 @@ 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://schweter.eu/cloud/transformers/xlm-roberta-base-pytorch_model.bin"
,
'xlm-roberta-large'
:
"https://schweter.eu/cloud/transformers/xlm-roberta-large-pytorch_model.bin"
,
'xlm-roberta-large'
:
"https://schweter.eu/cloud/transformers/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