# prodigy command on custom model

**URL:** <https://support.prodi.gy/t/prodigy-command-on-custom-model/2873>\
**Category:** Uncategorized\
**Tags:** usage, ner, textcat, solved\
**Created:** [May 5, 2020, 7:40pm UTC](https://support.prodi.gy/t/prodigy-command-on-custom-model/2873 "2020-05-05T19:40:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yw2903](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/yw2903/32/1614_2.png) [@yw2903](https://support.prodi.gy/u/yw2903)\
**Post date:** [May 5, 2020, 7:40pm UTC](https://support.prodi.gy/t/prodigy-command-on-custom-model/2873/1 "2020-05-05T19:40:04Z")

</div>

For the `textcat.teach` command, can I do on a custom model (like the model I trained through `ner.train`) ?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/6/6660a474e99512f4c08239d4a990fb94f11f5b17.png)  
Like this, can I replace the `blank:en` with my model name? Thanks.

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [May 5, 2020, 10:10pm UTC](https://support.prodi.gy/t/prodigy-command-on-custom-model/2873/2 "2020-05-05T22:10:23Z")

</div>

> [@yw2903](#):
>
> Like this, can I replace the `blank:en` with my model name? Thanks.

Yes, excatly. The `spacy_model` argument can either be the name of an installed spaCy model or its path (basically, anything you can load with `spacy.load()`) or `blank:` plus the language code, if you want to start with a blank model.

In case you haven't seen it already, the recipe docs also include a more detailed overview of the built-in recipes, plus descriptions of their arguments and examples: [Built-in Recipes · Prodigy · An annotation tool for AI, Machine Learning & NLP](https://prodi.gy/docs/recipes#textcat)
