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
fe9aab10
Commit
fe9aab10
authored
Dec 18, 2019
by
Stefan Schweter
Browse files
tokenization: use S3 location for XLM-RoBERTa model
parent
5c5f67a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
transformers/tokenization_xlm_roberta.py
transformers/tokenization_xlm_roberta.py
+2
-2
No files found.
transformers/tokenization_xlm_roberta.py
View file @
fe9aab10
...
@@ -30,8 +30,8 @@ VOCAB_FILES_NAMES = {'vocab_file': 'sentencepiece.bpe.model'}
...
@@ -30,8 +30,8 @@ VOCAB_FILES_NAMES = {'vocab_file': 'sentencepiece.bpe.model'}
PRETRAINED_VOCAB_FILES_MAP
=
{
PRETRAINED_VOCAB_FILES_MAP
=
{
'vocab_file'
:
'vocab_file'
:
{
{
'xlm-roberta-base'
:
"https://s
chweter.eu/cloud/transform
er
s
/xlm-roberta-base-sentencepiece.bpe.model"
,
'xlm-roberta-base'
:
"https://s
3.amazonaws.com/models.huggingface.co/b
er
t
/xlm-roberta-base-sentencepiece.bpe.model"
,
'xlm-roberta-large'
:
"https://s
chweter.eu/cloud/transform
er
s
/xlm-roberta-large-sentencepiece.bpe.model"
,
'xlm-roberta-large'
:
"https://s
3.amazonaws.com/models.huggingface.co/b
er
t
/xlm-roberta-large-sentencepiece.bpe.model"
,
}
}
}
}
...
...
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