coreference-resolution
coreference-resolution copied to clipboard
Efficient and clean PyTorch reimplementation of "End-to-end Neural Coreference Resolution" (Lee et al., EMNLP 2017).
When the training epoches starts to evaluate, it will raise this Runtime Error. Hope anyone can help me to solve it. The detail of the error message is below: line...
I downloaded OntoNotes Release 5.0. and I did [e2e-coref](https://github.com/kentonl/e2e-coref)'s getting started. I created directories (`data/train`,`data/development`,`data/test`) and data(output of getting started) are located in directories like `data/train/train.english.v4_gold_conll` Did I miss anything...
TypeError: log() got an unexpected keyword argument 'dim'
During evaluation stage on development dataset, I am facing below error intermittently. Have you ever faced this issue and how did you resolve it? ``` Traceback (most recent call last):...
Evaluating on validation corpus... 217it [12:27, 5.54s/it]Traceback (most recent call last): File "./src/coref.py", line 690, in trainer.train(150) File "./src/coref.py", line 467, in train results = self.evaluate(self.val_corpus) File "./src/coref.py", line 566,...
Epoch: 150 | Loss: 2649.815816 | Mention recall: 0.054297 | Coref recall: 0.003106 | Coref precision: 0.000000
https://github.com/shayneobrien/coreference-resolution/blob/f368f5a06e1d646d60c50d824235576bb8fe4198/src/coref.py#L211 I think there's a bug around the above code. The LSTM encoding does not go along each sentence, as ``` pack_sequence ``` does not work as you thought.
I got this error while running python coref.py loss = torch.sum(torch.log(torch.sum(torch.mul(probs, gold_indexes), dim=1).clamp_(eps, 1-eps), dim=0) * -1) **TypeError: log() got an unexpected keyword argument 'dim'**
Coreference indices are not being remapped after document truncation: while tokens are updated, gold coreference spans are not: https://github.com/shayneobrien/coreference-resolution/blob/f368f5a06e1d646d60c50d824235576bb8fe4198/src/loader.py#L90
Hey, Is there a problem In utils.py, "_def remove_overlapping(sorted_spans):_" function in line 98 ? I think we want to accept "span i" when "si.i1 < sj.i1