Loading srl.py +2 −2 Original line number Diff line number Diff line Loading @@ -43,8 +43,8 @@ def ner(t): sent = pd.read_csv('data/sent_df.csv') sent = sent[sent.s.apply(crude_ner) == True] print(max(sent.index)) exit(0) #print(max(sent.index)) #exit(0) data = sent.loc[11237:11243] srl_pred = Predictor.from_path("https://s3-us-west-2.amazonaws.com/allennlp/models/srl-model-2018.05.25.tar.gz") Loading Loading
srl.py +2 −2 Original line number Diff line number Diff line Loading @@ -43,8 +43,8 @@ def ner(t): sent = pd.read_csv('data/sent_df.csv') sent = sent[sent.s.apply(crude_ner) == True] print(max(sent.index)) exit(0) #print(max(sent.index)) #exit(0) data = sent.loc[11237:11243] srl_pred = Predictor.from_path("https://s3-us-west-2.amazonaws.com/allennlp/models/srl-model-2018.05.25.tar.gz") Loading