baidu / Senta

Baidu's open-source Sentiment Analysis System.
Apache License 2.0
1.91k stars 371 forks source link

can't find task.json #41

Open sarahyq opened 4 years ago

sarahyq commented 4 years ago

can't find task.json at task_group_json="./data/en/pretraining/roberta_skep_large_en/task.json"

sarahyq commented 4 years ago

pretrain里的 训练数据中的 seg_labels 是指什么呢? 一条数据sample: 2 14 1391 7603 16 4814 8 12113 25 21 3225 231 25 21 1247 3225 360 231 432 27 14 3688 5469 214 4814 8 12113 4258 9 3 14 4814 8 12113 4258 443 50 302 8 29377 43 28 1273 432 13380 7788 1542 72 2079 14 126 9 3;0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1;0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52;-1 0 1 1 0 0 0 0 0 0 1 1 0 0 1 1 1 1 0 0 0 1 1 1 1 1 1 1 1 -1 0 1 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 0 0 0 1 1 -1;1

倒数第二行:-1 0 1 1 0 0 0 0 0 0 1 1 0 0 1 1 1 1 0 0 0 1 1 1 1 1 1 1 1 -1 0 1 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 0 0 0 1 1 -1