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
fd405e9a
"deploy/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "7ca76e8b00d6ad49c4068b8d607b6a828f3cf9f3"
Unverified
Commit
fd405e9a
authored
Jun 27, 2020
by
Kevin Canwen Xu
Committed by
GitHub
Jun 27, 2020
Browse files
Add BART-base modeling and configuration (#5315)
parent
798dbff6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/transformers/configuration_bart.py
src/transformers/configuration_bart.py
+1
-0
src/transformers/modeling_bart.py
src/transformers/modeling_bart.py
+1
-0
No files found.
src/transformers/configuration_bart.py
View file @
fd405e9a
...
...
@@ -23,6 +23,7 @@ from .configuration_utils import PretrainedConfig
logger
=
logging
.
getLogger
(
__name__
)
BART_PRETRAINED_CONFIG_ARCHIVE_MAP
=
{
"facebook/bart-base"
:
"https://s3.amazonaws.com/models.huggingface.co/bert/facebook/bart-base/config.json"
,
"facebook/bart-large"
:
"https://s3.amazonaws.com/models.huggingface.co/bert/facebook/bart-large/config.json"
,
"facebook/bart-large-mnli"
:
"https://s3.amazonaws.com/models.huggingface.co/bert/facebook/bart-large-mnli/config.json"
,
"facebook/bart-large-cnn"
:
"https://s3.amazonaws.com/models.huggingface.co/bert/facebook/bart-large-cnn/config.json"
,
...
...
src/transformers/modeling_bart.py
View file @
fd405e9a
...
...
@@ -42,6 +42,7 @@ _TOKENIZER_FOR_DOC = "BartTokenizer"
BART_PRETRAINED_MODEL_ARCHIVE_LIST
=
[
"facebook/bart-base"
,
"facebook/bart-large"
,
"facebook/bart-large-mnli"
,
"facebook/bart-large-cnn"
,
...
...
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