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
a5ecbf73
"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "404adcdabf098ff9c95eb15938ce0454057d5149"
Unverified
Commit
a5ecbf73
authored
Jan 31, 2022
by
Suraj Patil
Committed by
GitHub
Jan 31, 2022
Browse files
correct positionla emb size (#15441)
parent
5a709873
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/transformers/models/xglm/tokenization_xglm.py
src/transformers/models/xglm/tokenization_xglm.py
+1
-1
src/transformers/models/xglm/tokenization_xglm_fast.py
src/transformers/models/xglm/tokenization_xglm_fast.py
+1
-1
No files found.
src/transformers/models/xglm/tokenization_xglm.py
View file @
a5ecbf73
...
@@ -36,7 +36,7 @@ PRETRAINED_VOCAB_FILES_MAP = {
...
@@ -36,7 +36,7 @@ PRETRAINED_VOCAB_FILES_MAP = {
}
}
PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES
=
{
PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES
=
{
"facebook/xglm-564M"
:
1024
,
"facebook/xglm-564M"
:
2048
,
}
}
...
...
src/transformers/models/xglm/tokenization_xglm_fast.py
View file @
a5ecbf73
...
@@ -43,7 +43,7 @@ PRETRAINED_VOCAB_FILES_MAP = {
...
@@ -43,7 +43,7 @@ PRETRAINED_VOCAB_FILES_MAP = {
}
}
PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES
=
{
PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES
=
{
"facebook/xglm-564M"
:
1024
,
"facebook/xglm-564M"
:
2048
,
}
}
...
...
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