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
7c0f2d0a
Unverified
Commit
7c0f2d0a
authored
Sep 23, 2019
by
Thomas Wolf
Committed by
GitHub
Sep 23, 2019
Browse files
Merge pull request #1294 from sshleifer/delete-n-special-doc
Delete n_special reference in docstring
parents
a2d4950f
119610b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
pytorch_transformers/configuration_openai.py
pytorch_transformers/configuration_openai.py
+0
-1
No files found.
pytorch_transformers/configuration_openai.py
View file @
7c0f2d0a
...
...
@@ -36,7 +36,6 @@ class OpenAIGPTConfig(PretrainedConfig):
Args:
vocab_size_or_config_json_file: Vocabulary size of `inputs_ids` in `OpenAIGPTModel` or a configuration json file.
n_special: The number of special tokens to learn during fine-tuning ('[SEP]', '[CLF]', ...)
n_positions: Number of positional embeddings.
n_ctx: Size of the causal mask (usually same as n_positions).
n_embd: Dimensionality of the embeddings and hidden states.
...
...
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