-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Too many labels result in a crash #2800
Copy link
Copy link
Closed
Labels
bugBugs and behaviour differing from documentationBugs and behaviour differing from documentationfeat / nerFeature: Named Entity RecognizerFeature: Named Entity RecognizertrainingTraining and updating modelsTraining and updating models
Metadata
Metadata
Assignees
Labels
bugBugs and behaviour differing from documentationBugs and behaviour differing from documentationfeat / nerFeature: Named Entity RecognizerFeature: Named Entity RecognizertrainingTraining and updating modelsTraining and updating models
Hi, I'm currently trying to train a custom model with over 125 labels and I encounter the following error:
Windows 10
Ubuntu 18.04
There seems to be a limit. Under 125 labels it works and over it, it crashes.
How to reproduce the behaviour
Unit Test
So in the unit test whenever entity_types length is beyond 125, it crashes.
Your Environment
spaCy version: 2.0.12
Platform: Windows-10-10.0.16299-SP0
Python version: 3.7.0
Environment Information:
16gb RAM, CPU: i7-3630QM
Any idea if there is a limit of labels ? If so, should it return an error message describing the error instead of crashing ?