PromDA
PromDA copied to clipboard
Question about SenLabel
Sorry to bother you .I have some question about running to script/run_few_shot_bert_prefix_sen_cls.sh at line 61,the train_SenLabel.py will raise "IndexError: list index out of range" at line 162.I check the detail and find that "test_data = SenLabelDataset(_C, _C.test_path, label_dict, tokenizer)" prints "Total instances 0"(But the line 154 "dev_data = SenLabelDataset(_C, _C.dev_path, label_dict, tokenizer)" works well,it prints "Total instances 960")
Sorry to bother you .I have some question about running to script/run_few_shot_bert_prefix_sen_cls.sh at line 61,the train_SenLabel.py will raise "IndexError: list index out of range" at line 162.I check the detail and find that "test_data = SenLabelDataset(_C, _C.test_path, label_dict, tokenizer)" prints "Total instances 0"(But the line 154 "dev_data = SenLabelDataset(_C, _C.dev_path, label_dict, tokenizer)" works well,it prints "Total instances 960")
Hi, I have the same problem. You can try modifying line 75 of train_data_augmentation.py ( label = words[0].lower() ).
Sorry to bother you .I have some question about running to script/run_few_shot_bert_prefix_sen_cls.sh at line 61,the train_SenLabel.py will raise "IndexError: list index out of range" at line 162.I check the detail and find that "test_data = SenLabelDataset(_C, _C.test_path, label_dict, tokenizer)" prints "Total instances 0"(But the line 154 "dev_data = SenLabelDataset(_C, _C.dev_path, label_dict, tokenizer)" works well,it prints "Total instances 960")
Can I have your training log and have a look?
Sorry to bother you .I have some question about running to script/run_few_shot_bert_prefix_sen_cls.sh at line 61,the train_SenLabel.py will raise "IndexError: list index out of range" at line 162.I check the detail and find that "test_data = SenLabelDataset(_C, _C.test_path, label_dict, tokenizer)" prints "Total instances 0"(But the line 154 "dev_data = SenLabelDataset(_C, _C.dev_path, label_dict, tokenizer)" works well,it prints "Total instances 960")
Can I have your training log and have a look?
Hi @wpwpwpyo, Could you try to run the code again? I have fixed the issue -- Due to a small bug, the output view prompt is never trained. So it produces wired outputs. I believe the current version should solve the problem