marinone94 commited on
Commit
575922b
1 Parent(s): 393fd68

do not remove columns when building vocab

Browse files
Files changed (2) hide show
  1. run_speech_recognition_ctc.py +1 -1
  2. vocab.json +0 -1
run_speech_recognition_ctc.py CHANGED
@@ -331,7 +331,7 @@ def create_vocabulary_from_data(
331
  batched=True,
332
  batch_size=10000,
333
  keep_in_memory=False,
334
- remove_columns=datasets["train"].column_names,
335
  )
336
 
337
  # take union of all unique characters in each dataset
 
331
  batched=True,
332
  batch_size=10000,
333
  keep_in_memory=False,
334
+ # remove_columns=datasets["train"].column_names,
335
  )
336
 
337
  # take union of all unique characters in each dataset
vocab.json DELETED
@@ -1 +0,0 @@
1
- {"a": 1, "b": 2, "c": 3, "d": 4, "e": 5, "f": 6, "g": 7, "h": 8, "i": 9, "j": 10, "k": 11, "l": 12, "m": 13, "n": 14, "o": 15, "p": 16, "q": 17, "r": 18, "s": 19, "t": 20, "u": 21, "v": 22, "w": 23, "x": 24, "y": 25, "z": 26, "ä": 27, "å": 28, "é": 29, "ô": 30, "ö": 31, "ü": 32, "|": 0, "[UNK]": 33, "[PAD]": 34}