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
4bf97415
"docs/vscode:/vscode.git/clone" did not exist on "c425d60bb983991bafa33dcaebd6bceb2bfce577"
Unverified
Commit
4bf97415
authored
Jan 24, 2022
by
Patrick von Platen
Committed by
GitHub
Jan 24, 2022
Browse files
Update eval.py (#15310)
parent
b7cb126c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/research_projects/robust-speech-event/eval.py
examples/research_projects/robust-speech-event/eval.py
+1
-1
No files found.
examples/research_projects/robust-speech-event/eval.py
View file @
4bf97415
...
...
@@ -68,7 +68,7 @@ def main(args):
dataset
=
load_dataset
(
args
.
dataset
,
args
.
config
,
split
=
args
.
split
,
use_auth_token
=
True
)
# for testing: only process the first two examples as a test
dataset
=
dataset
.
select
(
range
(
10
))
#
dataset = dataset.select(range(10))
# load processor
feature_extractor
=
AutoFeatureExtractor
.
from_pretrained
(
args
.
model_id
)
...
...
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