marinone94
commited on
Commit
•
57ad2fb
1
Parent(s):
dceb34d
columns as args in common cols
Browse files
run_speech_recognition_ctc.py
CHANGED
@@ -418,9 +418,9 @@ def main():
|
|
418 |
# 1. First, let's load the dataset
|
419 |
raw_datasets = DatasetDict()
|
420 |
|
421 |
-
def common_cols(
|
422 |
-
col_a = set(
|
423 |
-
col_b = set(
|
424 |
return [col for col in col_a if col in col_b]
|
425 |
|
426 |
if training_args.do_train:
|
|
|
418 |
# 1. First, let's load the dataset
|
419 |
raw_datasets = DatasetDict()
|
420 |
|
421 |
+
def common_cols(columns_a, columns_b):
|
422 |
+
col_a = set(columns_a)
|
423 |
+
col_b = set(columns_b)
|
424 |
return [col for col in col_a if col in col_b]
|
425 |
|
426 |
if training_args.do_train:
|