huggingface / huggingface/neuralcoref
How to fix the output? [Found too many repeated mentions (> 10) in the response]
- Dominant language
- C
- Stars
- 2.9k
- Forks
- 467
- PR merge metrics
- No merged PRs in 30d
Description
🌋 Computing score
Error during the scoring
```
Command '['perl', '/Users/mak/PycharmProjects/tradr_language_tool/neuralcoref/neuralcoref/train/scorer_wrapper.pl', 'muc', '/Users/mak/PycharmProjects/tradr_language_tool/neuralcoref/neuralcoref/train/data/key.txt', '/Users/mak/PycharmProjects/tradr_language_tool/neuralcoref/neuralcoref/train/test_mentions.txt']' returned non-zero exit status 1.
Found too many repeated mentions (> 10) in the response, so refusing to score. Please fix the output.
version: 8.01 /Users/mak/PycharmProjects/tradr_language_tool/neuralcoref/neuralcoref/train/scorer/lib/CorScorer.pm
Repeated mention in the response: 116, 121 1818
Repeated mention in the response: 1065, 1066 136136
Repeated mention in the response: 825, 825 152152
Repeated mention in the response: 92, 94 3333
Repeated mention in the response: 169, 169 4747
Repeated mention in the response: 26, 26 4242
Repeated mention in the response: 26, 26 4242
Repeated mention in the response: 26, 26 4242
Repeated mention in the response: 66, 68 1717
Repeated mention in the response: 254, 254 8888
Repeated mention in the response: 268, 268 9090
```
```
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/mak/PycharmProjects/tradr_language_tool/neuralcoref/neuralcoref/train/learn.py", line 565, in
run_model(args)
File "/Users/mak/PycharmProjects/tradr_language_tool/neuralcoref/neuralcoref/train/learn.py", line 175, in run_model
eval_evaluator.test_model()
File "/Users/mak/PycharmProjects/tradr_language_tool/neuralcoref/neuralcoref/train/evaluator.py", line 180, in test_model
self.get_score(file_path=ALL_MENTIONS_PATH)
File "/Users/mak/PycharmProjects/tradr_language_tool/neuralcoref/neuralcoref/train/evaluator.py", line 292, in get_score
encoding="utf-8",
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/subprocess.py", line 395, in check_output
**kwargs).stdout
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/subprocess.py", line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['perl', '/Users/mak/PycharmProjects/tradr_language_tool/neuralcoref/neuralcoref/train/scorer_wrapper.pl', 'muc', '/Users/mak/PycharmProjects/tradr_language_tool/neuralcoref/neuralcoref/train/data/key.txt', '/Users/mak/PycharmProjects/tradr_language_tool/neuralcoref/neuralcoref/train/test_mentions.txt']' returned non-zero exit status 1.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.