Dynamic-Clip-Attention
Dynamic-Clip-Attention copied to clipboard
SyntaxError: positional argument follows keyword argument
F:\Anaconda3\python.exe E:/Dynamic-Clip-Attention-master/preprocess.py File "E:/Dynamic-Clip-Attention-master/preprocess.py", line 116 Util.generate_vocab(file_list=["./data/trecqa/train-all.txt","./data/trecqa/clean-dev.txt","./data/trecqa/clean-test.txt"],output_file="./data/trecqa/vocab_trec.txt","trecqa") ^ SyntaxError: positional argument follows keyword argument
Process finished with exit code 1
put "trecqa" before file_list variable Util.generate_vocab("trecqa",file_list=["./data/trecqa/train-all.txt","./data/trecqa/clean-dev.txt","./data/trecqa/clean-test.txt"],output_file="./data/trecqa/vocab_trec.txt")
Do the same for wikiqa