# Prodigy annotations to SpaCy train

**URL:** <https://support.prodi.gy/t/prodigy-annotations-to-spacy-train/243>\
**Category:** Uncategorized\
**Tags:** spacy\
**Created:** [January 23, 2018, 12:52pm UTC](https://support.prodi.gy/t/prodigy-annotations-to-spacy-train/243 "2018-01-23T12:52:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![andy](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/andy/32/966_2.png) [@andy](https://support.prodi.gy/u/andy)\
**Post date:** [January 23, 2018, 1:24pm UTC](https://support.prodi.gy/t/prodigy-annotations-to-spacy-train/243/2 "2018-01-23T13:24:22Z")

</div>

Here's @ines's answer to a similar question I had:

> [@Mixing in gold data to avoid catastrophic forgetting](https://support.prodi.gy/t/mixing-in-gold-data-to-avoid-catastrophic-forgetting/126/3):
>
> This is actually a nice idea – maybe Prodigy should expose a helper function for this. The conversion is pretty straightforward, because the annotation tasks already include everything you need. You can also access the Prodigy database from Python, so you won’t even have to export your dataset to a file. The (untested) code below should give you spaCy training data in the [“simple training style”](https://spacy.io/usage/training#training-simple-style), i.e. with annotations provided as a dictionary: from prodigy.components.db import connect def dat…

I haven't implemented her suggested code yet but I'm also interested in this.

---

_[View the full topic](https://support.prodi.gy/t/prodigy-annotations-to-spacy-train/243)._
