"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "bb7557d3ab96f139997bfaa70ff2b4a6c18994e0"
Commit db90e121 authored by Stefan Schweter's avatar Stefan Schweter
Browse files

configuration: use S3 location for XLM-RoBERTa model

parent f09d9996
...@@ -25,7 +25,8 @@ from .configuration_roberta import RobertaConfig ...@@ -25,7 +25,8 @@ from .configuration_roberta import RobertaConfig
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
XLM_ROBERTA_PRETRAINED_CONFIG_ARCHIVE_MAP = { 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",
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment