huggingface / huggingface/neuralcoref

Error in training without changing anything from the default instructions

Open
#344 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.9k
Forks
467
PR merge metrics
No merged PRs in 30d

Description

/neuralcoref/neuralcoref/train/dataset.py", line 122, in __init__
self.mentions_pair_length = datas[FEATURES_NAMES[2]]
KeyError: 'mentions_pairs_length'

Contributor guide

No contributing guide indexed for this repository

Research direction

Read neuralcoref/train/dataset.py around line 122 and the default training instructions first. Reproduce training with the unchanged defaults, then trace why the dataset lacks 'mentions_pairs_length'; done means the default training flow no longer raises this KeyError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.