mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
375f0dc529
Currently the TextCategorizer defaults to a fairly complicated model, designed partly around the active learning requirements of Prodigy. The model's a bit slow, and not very GPU-friendly. This patch implements a straightforward CNN model that still performs pretty well. The replacement model also makes it easy to use the LMAO pretraining, since most of the parameters are in the CNN. The replacement model has a flag to specify whether labels are mutually exclusive, which defaults to True. This has been a common problem with the text classifier. We'll also now be able to support adding labels to pretrained models again. Resolves #2934, #2756, #1798, #1748. |
||
---|---|---|
.. | ||
conllu.py | ||
ner_multitask_objective.py | ||
pretrain_textcat.py | ||
train_intent_parser.py | ||
train_ner.py | ||
train_new_entity_type.py | ||
train_parser.py | ||
train_tagger.py | ||
train_textcat.py | ||
training-data.json | ||
vocab-data.jsonl |