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
f38a1454
"docs/vscode:/vscode.git/clone" did not exist on "2da8853775b61cde0894dee17c6c713aba711688"
Unverified
Commit
f38a1454
authored
Oct 31, 2022
by
Sanchit Gandhi
Committed by
GitHub
Oct 31, 2022
Browse files
[ASR] Update 'tasks' for model card (#19986)
parent
9406c7bc
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
examples/pytorch/speech-recognition/run_speech_recognition_ctc.py
.../pytorch/speech-recognition/run_speech_recognition_ctc.py
+1
-1
examples/pytorch/speech-recognition/run_speech_recognition_seq2seq.py
...orch/speech-recognition/run_speech_recognition_seq2seq.py
+1
-1
examples/research_projects/robust-speech-event/run_speech_recognition_ctc_bnb.py
...cts/robust-speech-event/run_speech_recognition_ctc_bnb.py
+1
-1
examples/research_projects/robust-speech-event/run_speech_recognition_ctc_streaming.py
...bust-speech-event/run_speech_recognition_ctc_streaming.py
+1
-1
No files found.
examples/pytorch/speech-recognition/run_speech_recognition_ctc.py
View file @
f38a1454
...
...
@@ -749,7 +749,7 @@ def main():
config_name
=
data_args
.
dataset_config_name
if
data_args
.
dataset_config_name
is
not
None
else
"na"
kwargs
=
{
"finetuned_from"
:
model_args
.
model_name_or_path
,
"tasks"
:
"speech-recognition"
,
"tasks"
:
"
automatic-
speech-recognition"
,
"tags"
:
[
"automatic-speech-recognition"
,
data_args
.
dataset_name
],
"dataset_args"
:
(
f
"Config:
{
config_name
}
, Training split:
{
data_args
.
train_split_name
}
, Eval split:"
...
...
examples/pytorch/speech-recognition/run_speech_recognition_seq2seq.py
View file @
f38a1454
...
...
@@ -503,7 +503,7 @@ def main():
trainer
.
save_metrics
(
"eval"
,
metrics
)
# 14. Write Training Stats
kwargs
=
{
"finetuned_from"
:
model_args
.
model_name_or_path
,
"tasks"
:
"speech
recognition"
}
kwargs
=
{
"finetuned_from"
:
model_args
.
model_name_or_path
,
"tasks"
:
"
automatic-
speech
-
recognition"
}
if
data_args
.
dataset_name
is
not
None
:
kwargs
[
"dataset_tags"
]
=
data_args
.
dataset_name
if
data_args
.
dataset_config_name
is
not
None
:
...
...
examples/research_projects/robust-speech-event/run_speech_recognition_ctc_bnb.py
View file @
f38a1454
...
...
@@ -758,7 +758,7 @@ def main():
config_name
=
data_args
.
dataset_config_name
if
data_args
.
dataset_config_name
is
not
None
else
"na"
kwargs
=
{
"finetuned_from"
:
model_args
.
model_name_or_path
,
"tasks"
:
"speech-recognition"
,
"tasks"
:
"
automatic-
speech-recognition"
,
"tags"
:
[
"automatic-speech-recognition"
,
data_args
.
dataset_name
],
"dataset_args"
:
(
f
"Config:
{
config_name
}
, Training split:
{
data_args
.
train_split_name
}
, Eval split:"
...
...
examples/research_projects/robust-speech-event/run_speech_recognition_ctc_streaming.py
View file @
f38a1454
...
...
@@ -657,7 +657,7 @@ def main():
config_name
=
data_args
.
dataset_config_name
if
data_args
.
dataset_config_name
is
not
None
else
"na"
kwargs
=
{
"finetuned_from"
:
model_args
.
model_name_or_path
,
"tasks"
:
"speech-recognition"
,
"tasks"
:
"
automatic-
speech-recognition"
,
"tags"
:
[
"automatic-speech-recognition"
,
data_args
.
dataset_name
],
"dataset_args"
:
(
f
"Config:
{
config_name
}
, Training split:
{
data_args
.
train_split_name
}
, Eval split:"
...
...
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