chiayewken / Span-ASTE

Code Implementation of "Learning Span-Level Interactions for Aspect Sentiment Triplet Extraction".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

data.sentences output is empty

AkikJana opened this issue · comments

Hi Chia,
While running the third code cell I am unable to get any predicted output as well as the pred_out.json file is empty
image

also when running the command in the terminal

!cd /mnt/Span-ASTE && allennlp predict pretrained_15res/weights/model.tar.gz /mnt/Span-ASTE/pretrained_15res/temp_data/pred_in.json --predictor span_model --include-package span_model --use-dataset-reader --output-file pretrained_15res/temp_data/pred_out.json --cuda-device -1 --silent

I am getting the following output
image