JD-AI-Research-Silicon-Valley / SAE

Code for AAAI 2020 paper "Select, Answer and Explain: Interpretable Multi-hop Reading Comprehension over Multiple Documents"
MIT License
41 stars 11 forks source link

bert_position_ner_hotpot_train_v1.1.json not found #5

Open LeSaUi opened 3 years ago

LeSaUi commented 3 years ago

Hi,

I read your paper and has tried to train your model.

But, I got a problem with bert_position_ner_hotpot_train_v1.1.json file.

I run the main.py with HotpotQA train set and dev set.

In arguments, train_ner_file, I replaced "bert_position_ner_hotpot_train_v1.1.json" string with "train_gold_ner.json" string

Though I could get gold_doc and gold_ner .json file respectively,

run_hotpotqa.py returned error when I trained model with train_gold_ner.json

image

At 286 line, list index out of range occur ("ni" variable)

Is there something I have to do?

What is bert_position_ner_hotpot_train_v1.1.json ?

gongchuanyang commented 3 years ago

Hi,

I read your paper and has tried to train your model.

But, I got a problem with bert_position_ner_hotpot_train_v1.1.json file.

I run the main.py with HotpotQA train set and dev set.

In arguments, train_ner_file, I replaced "bert_position_ner_hotpot_train_v1.1.json" string with "train_gold_ner.json" string

Though I could get gold_doc and gold_ner .json file respectively,

run_hotpotqa.py returned error when I trained model with train_gold_ner.json

image

At 286 line, list index out of range occur ("ni" variable)

Is there something I have to do?

What is bert_position_ner_hotpot_train_v1.1.json ? Hi, guys can you find train.py in run_hotpotqa_roberta.py? I can"t find it

luoshihang5740 commented 2 years ago

Hi,

I read your paper and has tried to train your model.

But, I got a problem with bert_position_ner_hotpot_train_v1.1.json file.

I run the main.py with HotpotQA train set and dev set.

In arguments, train_ner_file, I replaced "bert_position_ner_hotpot_train_v1.1.json" string with "train_gold_ner.json" string

Though I could get gold_doc and gold_ner .json file respectively,

run_hotpotqa.py returned error when I trained model with train_gold_ner.json

image

At 286 line, list index out of range occur ("ni" variable)

Is there something I have to do?

What is bert_position_ner_hotpot_train_v1.1.json ?

could you have this question:python: can't open file 'main.py': [Errno 2] No such file or directory?