nguyenvulebinh
commited on
Commit
•
cae4858
1
Parent(s):
778e524
add config for drive
Browse files- main.py +7 -2
- model-bin/finetune/vocab.json +1 -0
main.py
CHANGED
@@ -82,8 +82,13 @@ def load_prepared_dataset(path, processor, cache_file_name):
|
|
82 |
if __name__ == "__main__":
|
83 |
|
84 |
checkpoint_path = "./model-bin/finetune/base/"
|
85 |
-
|
86 |
-
|
|
|
|
|
|
|
|
|
|
|
87 |
cache_processing_dataset_folder = './data-bin/cache/'
|
88 |
if not os.path.exists(cache_processing_dataset_folder):
|
89 |
os.makedirs(cache_processing_dataset_folder)
|
|
|
82 |
if __name__ == "__main__":
|
83 |
|
84 |
checkpoint_path = "./model-bin/finetune/base/"
|
85 |
+
|
86 |
+
# train_dataset_root_folder = './data-bin/train_dataset'
|
87 |
+
# test_dataset_root_folder = './data-bin/test_dataset'
|
88 |
+
|
89 |
+
train_dataset_root_folder = '/content/drive/MyDrive/audio_dataset/train_dataset'
|
90 |
+
test_dataset_root_folder = '/content/drive/MyDrive/audio_dataset/test_dataset'
|
91 |
+
|
92 |
cache_processing_dataset_folder = './data-bin/cache/'
|
93 |
if not os.path.exists(cache_processing_dataset_folder):
|
94 |
os.makedirs(cache_processing_dataset_folder)
|
model-bin/finetune/vocab.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"\u1ebb": 0, "6": 1, "\u1ee5": 2, "\u00ed": 3, "3": 4, "\u1ef9": 5, "\u00fd": 6, "\u1ea9": 7, "\u1edf": 8, "\u1ec1": 9, "\u00f5": 10, "7": 11, "\u00ea": 12, "\u1ee9": 13, "\u1ecf": 14, "v": 15, "\u1ef7": 16, "a": 17, "l": 18, "\u1ef1": 19, "q": 20, "\u1edd": 21, "j": 22, "\u1ed1": 23, "\u00e0": 24, "\u1ed7": 25, "n": 26, "\u00e9": 27, "\u1ee7": 28, "\u0443": 29, "\u00f4": 30, "u": 31, "y": 32, "\u1eb1": 33, "4": 34, "w": 35, "b": 36, "\u1ec7": 37, "\u1ec5": 38, "s": 39, "\u00ec": 40, "\u1ea7": 41, "\u1ef5": 42, "8": 43, "d": 44, "\u1ec3": 45, "r": 47, "\u0169": 48, "c": 49, "\u1ea1": 50, "9": 51, "\u1ebf": 52, "\u00f9": 53, "\u1ee1": 54, "2": 55, "t": 56, "i": 57, "g": 58, "\u0301": 59, "\u1eed": 60, "\u0300": 61, "\u00e1": 62, "0": 63, "\u1ead": 64, "e": 65, "\u1ed9": 66, "m": 67, "\u1eb3": 68, "\u1ee3": 69, "\u0129": 70, "h": 71, "\u00e2": 72, "\u00fa": 73, "\u1ecd": 74, "\u1ed3": 75, "\u1eb7": 76, "f": 77, "\u1eef": 78, "\u1eaf": 79, "\u1ef3": 80, "x": 81, "\u00f3": 82, "\u00e3": 83, "\u1ed5": 84, "\u1ecb": 85, "\u0323": 86, "z": 87, "\u1ea3": 88, "\u0111": 89, "\u00e8": 90, "\u1eeb": 91, "\u00f2": 92, "\u1eb5": 93, "1": 94, "\u01a1": 95, "k": 96, "\u1eab": 97, "p": 98, "\u1ea5": 99, "\u1ebd": 100, "\u1ec9": 101, "\u1edb": 102, "\u1eb9": 103, "\u0103": 104, "o": 105, "\u01b0": 106, "5": 107, "|": 46, "<unk>": 108, "<pad>": 109}
|