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
339fc51a
Commit
339fc51a
authored
Mar 15, 2021
by
Sylvain Gugger
Browse files
fix styling
parent
4c41c662
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transformers/models/pegasus/tokenization_pegasus_fast.py
src/transformers/models/pegasus/tokenization_pegasus_fast.py
+2
-2
No files found.
src/transformers/models/pegasus/tokenization_pegasus_fast.py
View file @
339fc51a
...
@@ -54,8 +54,8 @@ class PegasusTokenizerFast(PreTrainedTokenizerFast):
...
@@ -54,8 +54,8 @@ class PegasusTokenizerFast(PreTrainedTokenizerFast):
Construct a "fast" PEGASUS tokenizer (backed by HuggingFace's `tokenizers` library). Based on `Unigram
Construct a "fast" PEGASUS tokenizer (backed by HuggingFace's `tokenizers` library). Based on `Unigram
<https://huggingface.co/docs/tokenizers/python/latest/components.html?highlight=unigram#models>`__.
<https://huggingface.co/docs/tokenizers/python/latest/components.html?highlight=unigram#models>`__.
This tokenizer inherits from :class:`~transformers.PreTrainedTokenizerFast` which contains most of the main
methods.
This tokenizer inherits from :class:`~transformers.PreTrainedTokenizerFast` which contains most of the main
Users should refer to this superclass for more information regarding those methods.
methods.
Users should refer to this superclass for more information regarding those methods.
Args:
Args:
vocab_file (:obj:`str`):
vocab_file (:obj:`str`):
...
...
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