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
79132d4c
Unverified
Commit
79132d4c
authored
Feb 19, 2024
by
Jay Zhou
Committed by
GitHub
Feb 19, 2024
Browse files
Fix a typo in `examples/pytorch/text-classification/run_classification.py` (#29072)
parent
98308586
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/pytorch/text-classification/run_classification.py
examples/pytorch/text-classification/run_classification.py
+1
-1
No files found.
examples/pytorch/text-classification/run_classification.py
View file @
79132d4c
...
...
@@ -404,7 +404,7 @@ def main():
raw_datasets
.
pop
(
split
)
if
data_args
.
train_split_name
is
not
None
:
logger
.
info
(
f
"using
{
data_args
.
validatio
n_split_name
}
as
validatio
n set"
)
logger
.
info
(
f
"using
{
data_args
.
trai
n_split_name
}
as
trai
n set"
)
raw_datasets
[
"train"
]
=
raw_datasets
[
data_args
.
train_split_name
]
raw_datasets
.
pop
(
data_args
.
train_split_name
)
...
...
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