Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
0acd84f7
Unverified
Commit
0acd84f7
authored
Feb 08, 2022
by
Suraj Patil
Committed by
GitHub
Feb 08, 2022
Browse files
[GPTJ] fix docs (#15558)
parent
87d08afb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
src/transformers/models/gptj/modeling_flax_gptj.py
src/transformers/models/gptj/modeling_flax_gptj.py
+1
-2
src/transformers/models/gptj/modeling_gptj.py
src/transformers/models/gptj/modeling_gptj.py
+1
-2
No files found.
src/transformers/models/gptj/modeling_flax_gptj.py
View file @
0acd84f7
...
@@ -668,8 +668,7 @@ class FlaxGPTJForCausalLMModule(nn.Module):
...
@@ -668,8 +668,7 @@ class FlaxGPTJForCausalLMModule(nn.Module):
@
add_start_docstrings
(
@
add_start_docstrings
(
"""
"""
The GPTJ Model transformer with a language modeling head on top (linear layer with weights tied to the input
The GPTJ Model transformer with a language modeling head on top.
embeddings).
"""
,
"""
,
GPTJ_START_DOCSTRING
,
GPTJ_START_DOCSTRING
,
)
)
...
...
src/transformers/models/gptj/modeling_gptj.py
View file @
0acd84f7
...
@@ -683,8 +683,7 @@ class GPTJModel(GPTJPreTrainedModel):
...
@@ -683,8 +683,7 @@ class GPTJModel(GPTJPreTrainedModel):
@
add_start_docstrings
(
@
add_start_docstrings
(
"""
"""
The GPT-J Model transformer with a language modeling head on top (linear layer with weights tied to the input
The GPT-J Model transformer with a language modeling head on top.
embeddings).
"""
,
"""
,
GPTJ_START_DOCSTRING
,
GPTJ_START_DOCSTRING
,
)
)
...
...
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