factsumm
factsumm copied to clipboard
FactSumm: Factual Consistency Scorer for Abstractive Summarization
In example, when I extend the length of the article and summary , I get this error. /opt/anaconda3/envs/LDA0115/lib/python3.6/site-packages/torch/nn/modules/sparse.py in forward(self, input) 124 return F.embedding( 125 input, self.weight, self.padding_idx, self.max_norm, -->...
Bug fix: Check if "scores" is empty instead of checking its truth value
Loading Named Entity Recognition Pipeline... Loading Relation Extraction Pipeline... Fact Score: 0.5714285714285714 Loading Question Generation Pipeline... Loading Question Answering Pipeline... Traceback (most recent call last): File "testcase.py", line 5, in...
The toolkit is really amazing and convenient. I wonder how it can work for non-English languages.
https://github.com/Huffon/factsumm/blob/master/factsumm/__init__.py#L371
I tried to install this with pip and the source and gave the same error.