saily commited on
Commit
6f993e2
·
1 Parent(s): 2ffe0f4

retrain the models

Browse files
Files changed (2) hide show
  1. data_12345/model/bert_model.pth +1 -1
  2. preprocess.py +2 -1
data_12345/model/bert_model.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f6045c4b10e13c1d65b710c1b322a117b5ffe99be4786c7744837c5708a81da1
3
  size 409232775
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99bedfda4b316a0df11a818ece6b0577357e7486f8a521ae101745e82e492851
3
  size 409232775
preprocess.py CHANGED
@@ -53,7 +53,8 @@ class DataProcessor(object):
53
  content, label = line.rsplit('\t', 1)
54
  mapped_label = labels_map.get(label)
55
  if mapped_label is not None and isinstance(mapped_label, int) and mapped_label >= 0:
56
- content= self.summarizerModel.generate_summary(content, 128, 64)
 
57
  contents.append(content)
58
  labels.append(mapped_label)
59
  else:
 
53
  content, label = line.rsplit('\t', 1)
54
  mapped_label = labels_map.get(label)
55
  if mapped_label is not None and isinstance(mapped_label, int) and mapped_label >= 0:
56
+ #content= self.summarizerModel.generate_summary(content, 128, 64)
57
+ #print(content)
58
  contents.append(content)
59
  labels.append(mapped_label)
60
  else: