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
a32d85f0
Unverified
Commit
a32d85f0
authored
Sep 01, 2020
by
Sam Shleifer
Committed by
GitHub
Sep 01, 2020
Browse files
delete reinit (#6862)
parent
d5f1ffa0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/transformers/configuration_utils.py
src/transformers/configuration_utils.py
+0
-1
No files found.
src/transformers/configuration_utils.py
View file @
a32d85f0
...
...
@@ -195,7 +195,6 @@ class PretrainedConfig(object):
self
.
pad_token_id
=
kwargs
.
pop
(
"pad_token_id"
,
None
)
self
.
eos_token_id
=
kwargs
.
pop
(
"eos_token_id"
,
None
)
self
.
decoder_start_token_id
=
kwargs
.
pop
(
"decoder_start_token_id"
,
None
)
self
.
chunk_size_feed_forward
=
kwargs
.
pop
(
"chunk_size_feed_forwar"
,
0
)
# task specific arguments
self
.
task_specific_params
=
kwargs
.
pop
(
"task_specific_params"
,
None
)
...
...
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