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
8f8b3cbc
Unverified
Commit
8f8b3cbc
authored
May 31, 2022
by
Yih-Dar
Committed by
GitHub
May 31, 2022
Browse files
Fix checkpoint name (#17484)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
400b3093
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/transformers/models/gpt_neox/configuration_gpt_neox.py
src/transformers/models/gpt_neox/configuration_gpt_neox.py
+2
-2
src/transformers/models/gpt_neox/tokenization_gpt_neox_fast.py
...ransformers/models/gpt_neox/tokenization_gpt_neox_fast.py
+1
-1
No files found.
src/transformers/models/gpt_neox/configuration_gpt_neox.py
View file @
8f8b3cbc
...
@@ -21,7 +21,7 @@ from ...utils import logging
...
@@ -21,7 +21,7 @@ from ...utils import logging
logger
=
logging
.
get_logger
(
__name__
)
logger
=
logging
.
get_logger
(
__name__
)
GPT_NEOX_PRETRAINED_CONFIG_ARCHIVE_MAP
=
{
GPT_NEOX_PRETRAINED_CONFIG_ARCHIVE_MAP
=
{
"
e
leuther
ai
/gpt-neox-20b"
:
"https://huggingface.co/
e
leuther
ai
/gpt-neox-20b/resolve/main/config.json"
,
"
E
leuther
AI
/gpt-neox-20b"
:
"https://huggingface.co/
E
leuther
AI
/gpt-neox-20b/resolve/main/config.json"
,
# See all GPTNeoX models at https://huggingface.co/models?filter=gpt_neox
# See all GPTNeoX models at https://huggingface.co/models?filter=gpt_neox
}
}
...
@@ -31,7 +31,7 @@ class GPTNeoXConfig(PretrainedConfig):
...
@@ -31,7 +31,7 @@ class GPTNeoXConfig(PretrainedConfig):
This is the configuration class to store the configuration of a [`GPTNeoXModel`]. It is used to instantiate an
This is the configuration class to store the configuration of a [`GPTNeoXModel`]. It is used to instantiate an
GPTNeoX model according to the specified arguments, defining the model architecture. Instantiating a configuration
GPTNeoX model according to the specified arguments, defining the model architecture. Instantiating a configuration
with the defaults will yield a similar configuration to that of the GPTNeoX
with the defaults will yield a similar configuration to that of the GPTNeoX
[
e
leuther
ai
/gpt-neox-20b](https://huggingface.co/
e
leuther
ai
/gpt-neox-20b) architecture.
[
E
leuther
AI
/gpt-neox-20b](https://huggingface.co/
E
leuther
AI
/gpt-neox-20b) architecture.
Configuration objects inherit from [`PretrainedConfig`] and can be used to control the model outputs. Read the
Configuration objects inherit from [`PretrainedConfig`] and can be used to control the model outputs. Read the
documentation from [`PretrainedConfig`] for more information.
documentation from [`PretrainedConfig`] for more information.
...
...
src/transformers/models/gpt_neox/tokenization_gpt_neox_fast.py
View file @
8f8b3cbc
...
@@ -32,7 +32,7 @@ VOCAB_FILES_NAMES = {"vocab_file": "vocab.json", "merges_file": "merges.txt", "t
...
@@ -32,7 +32,7 @@ VOCAB_FILES_NAMES = {"vocab_file": "vocab.json", "merges_file": "merges.txt", "t
PRETRAINED_VOCAB_FILES_MAP
=
{
PRETRAINED_VOCAB_FILES_MAP
=
{
"tokenizer_file"
:
{
"tokenizer_file"
:
{
"
e
leuther
ai
/gpt-neox-20b"
:
"https://huggingface.co/EleutherAI/gpt-neox-20b/resolve/main/tokenizer.json"
,
"
E
leuther
AI
/gpt-neox-20b"
:
"https://huggingface.co/EleutherAI/gpt-neox-20b/resolve/main/tokenizer.json"
,
},
},
}
}
...
...
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