saily commited on
Commit
15a5072
1 Parent(s): 6f92f9c

change files

Browse files
__pycache__/config.cpython-310.pyc ADDED
Binary file (1.39 kB). View file
 
__pycache__/preprocess.cpython-310.pyc ADDED
Binary file (3.11 kB). View file
 
__pycache__/train.cpython-310.pyc ADDED
Binary file (3.87 kB). View file
 
data_12345/{trans.txt → train.txt} RENAMED
File without changes
preprocess.py CHANGED
@@ -35,7 +35,7 @@ class DataProcessor(object):
35
  labels = []
36
  labels_map = {}
37
 
38
- labels_path = os.path.join(os.path.dirname(path), "labels.txt")
39
  with open(labels_path, mode="r", encoding="UTF-8") as f:
40
  for index, line in enumerate(tqdm(f)):
41
  line = line.strip()
 
35
  labels = []
36
  labels_map = {}
37
 
38
+ labels_path = os.path.join(os.path.dirname(path), "label.txt")
39
  with open(labels_path, mode="r", encoding="UTF-8") as f:
40
  for index, line in enumerate(tqdm(f)):
41
  line = line.strip()