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
654e051e
"test/git@developer.sourcefind.cn:hehl2/torchaudio.git" did not exist on "5b07c33e393b9d2f59101ddebe14d83494439a46"
Commit
654e051e
authored
Dec 21, 2019
by
Aymeric Augustin
Browse files
Ignore F401 flake8 warning (x326 / 594).
parent
fa2ccbc0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
transformers/__init__.py
transformers/__init__.py
+4
-0
transformers/data/__init__.py
transformers/data/__init__.py
+4
-0
transformers/data/processors/__init__.py
transformers/data/processors/__init__.py
+4
-0
No files found.
transformers/__init__.py
View file @
654e051e
# flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
__version__
=
"2.3.0"
# Work around to update TensorFlow's absl.logging threshold which alters the
...
...
transformers/data/__init__.py
View file @
654e051e
# flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
from
.metrics
import
is_sklearn_available
from
.processors
import
(
DataProcessor
,
...
...
transformers/data/processors/__init__.py
View file @
654e051e
# flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
from
.glue
import
glue_convert_examples_to_features
,
glue_output_modes
,
glue_processors
,
glue_tasks_num_labels
from
.squad
import
SquadExample
,
SquadFeatures
,
SquadV1Processor
,
SquadV2Processor
,
squad_convert_examples_to_features
from
.utils
import
DataProcessor
,
InputExample
,
InputFeatures
,
SingleSentenceClassificationProcessor
...
...
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