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
7498db06
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "ffceef2042d5a1f2a2d70c8a0606551147dd6f8d"
Unverified
Commit
7498db06
authored
Jul 04, 2022
by
regisss
Committed by
GitHub
Jul 04, 2022
Browse files
Replace BloomTokenizer by BloomTokenizerFast in doc (#18005)
parent
3cfdefaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transformers/models/bloom/modeling_bloom.py
src/transformers/models/bloom/modeling_bloom.py
+2
-2
No files found.
src/transformers/models/bloom/modeling_bloom.py
View file @
7498db06
...
@@ -38,7 +38,7 @@ logger = logging.get_logger(__name__)
...
@@ -38,7 +38,7 @@ logger = logging.get_logger(__name__)
_CHECKPOINT_FOR_DOC
=
"bigscience/Bloom"
_CHECKPOINT_FOR_DOC
=
"bigscience/Bloom"
_CONFIG_FOR_DOC
=
"BloomConfig"
_CONFIG_FOR_DOC
=
"BloomConfig"
_TOKENIZER_FOR_DOC
=
"BloomTokenizer"
_TOKENIZER_FOR_DOC
=
"BloomTokenizer
Fast
"
BLOOM_PRETRAINED_MODEL_ARCHIVE_LIST
=
[
BLOOM_PRETRAINED_MODEL_ARCHIVE_LIST
=
[
"bigscience/bigscience-small-testing"
,
"bigscience/bigscience-small-testing"
,
...
@@ -626,7 +626,7 @@ BLOOM_INPUTS_DOCSTRING = r"""
...
@@ -626,7 +626,7 @@ BLOOM_INPUTS_DOCSTRING = r"""
If `past_key_values` is used, only `input_ids` that do not have their past calculated should be passed as
If `past_key_values` is used, only `input_ids` that do not have their past calculated should be passed as
`input_ids`.
`input_ids`.
Indices can be obtained using [`BloomTokenizer`]. See [`PreTrainedTokenizer.encode`] and
Indices can be obtained using [`BloomTokenizer
Fast
`]. See [`PreTrainedTokenizer.encode`] and
[`PreTrainedTokenizer.__call__`] for details.
[`PreTrainedTokenizer.__call__`] for details.
[What are input IDs?](../glossary#input-ids)
[What are input IDs?](../glossary#input-ids)
...
...
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