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
088c1880
Unverified
Commit
088c1880
authored
Mar 25, 2022
by
Sylvain Gugger
Committed by
GitHub
Mar 25, 2022
Browse files
Big file_utils cleanup (#16396)
* Big file_utils cleanup * This one still needs to be treated separately
parent
2b23e080
Changes
222
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
templates/adding_a_new_model/open_model_proposals/ADD_BIG_BIRD.md
...s/adding_a_new_model/open_model_proposals/ADD_BIG_BIRD.md
+1
-1
utils/tests_fetcher.py
utils/tests_fetcher.py
+2
-0
No files found.
templates/adding_a_new_model/open_model_proposals/ADD_BIG_BIRD.md
View file @
088c1880
...
...
@@ -532,7 +532,7 @@ to make your debugging environment as efficient as possible.
due to multiple dropout layers in the model. Make sure that the
forward pass in your debugging environment is
**deterministic**
so
that the dropout layers are not used. Or use
`transformers.
file_
utils.set_seed`
if the old and new
`transformers.utils.set_seed`
if the old and new
implementations are in the same framework.
#### (Important) More details on how to create a debugging environment for BigBird
...
...
utils/tests_fetcher.py
View file @
088c1880
...
...
@@ -268,6 +268,8 @@ SPECIAL_MODULE_TO_TEST_MAP = {
"feature_extraction_sequence_utils.py"
:
"test_sequence_feature_extraction_common.py"
,
"feature_extraction_utils.py"
:
"test_feature_extraction_common.py"
,
"file_utils.py"
:
[
"utils/test_file_utils.py"
,
"utils/test_model_output.py"
],
"utils/generic.py"
:
[
"utils/test_file_utils.py"
,
"utils/test_model_output.py"
],
"utils/hub.py"
:
"utils/test_file_utils.py"
,
"modelcard.py"
:
"utils/test_model_card.py"
,
"modeling_flax_utils.py"
:
"test_modeling_flax_common.py"
,
"modeling_tf_utils.py"
:
[
"test_modeling_tf_common.py"
,
"utils/test_modeling_tf_core.py"
],
...
...
Prev
1
…
8
9
10
11
12
Next
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