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
cbf6bc23
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "26ce4dd8b79dce59e183a8aeefe20e7e98a49113"
Unverified
Commit
cbf6bc23
authored
Jun 06, 2023
by
Zachary Mueller
Committed by
GitHub
Jun 06, 2023
Browse files
Oops, missed one (#24054)
Oops
parent
7203ea67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/pytorch/text-classification/run_glue_no_trainer.py
examples/pytorch/text-classification/run_glue_no_trainer.py
+1
-1
No files found.
examples/pytorch/text-classification/run_glue_no_trainer.py
View file @
cbf6bc23
...
@@ -217,7 +217,7 @@ def main():
...
@@ -217,7 +217,7 @@ def main():
# If we're using tracking, we also need to initialize it here and it will by default pick up all supported trackers
# If we're using tracking, we also need to initialize it here and it will by default pick up all supported trackers
# in the environment
# in the environment
accelerator
=
(
accelerator
=
(
Accelerator
(
log_with
=
args
.
report_to
,
logging
_dir
=
args
.
output_dir
)
if
args
.
with_tracking
else
Accelerator
()
Accelerator
(
log_with
=
args
.
report_to
,
project
_dir
=
args
.
output_dir
)
if
args
.
with_tracking
else
Accelerator
()
)
)
# Make one log on every process with the configuration for debugging.
# Make one log on every process with the configuration for debugging.
logging
.
basicConfig
(
logging
.
basicConfig
(
...
...
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