# Recommended text length for training NER models in spaCy

**URL:** <https://support.prodi.gy/t/recommended-text-length-for-training-ner-models-in-spacy/5615>\
**Category:** Uncategorized\
**Tags:** usage, ner, spacy, training\
**Created:** [May 6, 2022, 12:35am UTC](https://support.prodi.gy/t/recommended-text-length-for-training-ner-models-in-spacy/5615 "2022-05-06T00:35:59Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![dave-espinosa](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/dave-espinosa/32/2628_2.png) [@dave-espinosa](https://support.prodi.gy/u/dave-espinosa)\
**Post date:** [June 7, 2022, 10:08pm UTC](https://support.prodi.gy/t/recommended-text-length-for-training-ner-models-in-spacy/5615/10 "2022-06-07T22:08:44Z")

</div>

[**Insert time ⏳ bumper here**]

Hello @koaning , hope this message finds you well.

After labeling some more texts, we have run some [tests](https://support.prodi.gy/t/what-to-do-if-train-curve-shows-slight-decrease-in-last-sample/4306/6), and some conclusions can be extracted from those:

- The benchmark obtained via `train-curve` so far, is slightly above "0.55".
- Past ~2000 labeled texts, the model "stops learning", as adding more texts does not (seem to) improve performance.

Questions:

1. I see that in `train-curve`, there is this `--base-model` parameter, which by default is set to `None`. If the command ran was `prodigy train-curve --ner station1_job1`, the pipeline used by `train-curve` [would](https://spacy.io/models#design-cnn) contain `['tok2vec', 'ner']` only, or what is the pipeline used? (This question is important to make sure that _the whole "job posting" text_ is processed, and there is no sentencizing, or similar).
2. Provided "job posting" text length is kept, and knowing that increasing the amount of labeled texts does not seem as a promising approach, to obtain a better model performance (at least by the results obtained via `train-curve`), what could be other hints to improve the model? (BTW, I am basically following the hints provided in [Ines Montani video](https://youtu.be/59BKHO_xBPA); however in that video, other than adding new labeled samples, I cannot see any "_hyperparameter tuning_" or something similar that I could play around with).
3. Speaking of "_hyperparameter tuning_", would there be any benefit in training the model using spaCy? (At least by what is shown [here](https://prodi.gy/docs/named-entity-recognition#training), apparently "using Prodigy" is considered as a "different model training method" than "using spaCy" but, other than the syntax, I don't understand why they would be considered "different").

I think we can start working on these 3 questions, to see what else could be done.

Thank you!

---

_[View the full topic](https://support.prodi.gy/t/recommended-text-length-for-training-ner-models-in-spacy/5615)._
