# Error occur with execution pos.batch\_train, pos.train\_curve

**URL:** <https://support.prodi.gy/t/error-occur-with-execution-pos-batch-train-pos-train-curve/622>\
**Category:** Uncategorized\
**Tags:** pos\
**Created:** [June 18, 2018, 11:36pm UTC](https://support.prodi.gy/t/error-occur-with-execution-pos-batch-train-pos-train-curve/622 "2018-06-18T23:36:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![han](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@han](https://support.prodi.gy/u/han)\
**Post date:** [June 18, 2018, 11:36pm UTC](https://support.prodi.gy/t/error-occur-with-execution-pos-batch-train-pos-train-curve/622/1 "2018-06-18T23:36:51Z")

</div>

Hi, I’ve made successful pos.teach, pos.make-gold, pos.gold-to-spacy results into dataset.

But suddenly when I tried to train a model using pos.batch-train, or pos.train-curve, it wasn’t working at all with the same error of below link

[[Errors with pos.teach and pos.batch-train.](https://support.prodi.gy/t/errors-with-pos-teach-and-pos-batch-train/599)]

so as they said, I just remove the code from the pos.py very simply, and it was looked working seamlessly on first, but I have still annoyed by below error message, I couldn’t find where that problem is coming from

 ![30](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/1X/317e18a54be6c0d978fc83b2249d6fff0b17a8a9.png)

can someone help me out?

---

<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:** [June 19, 2018, 8:01am UTC](https://support.prodi.gy/t/error-occur-with-execution-pos-batch-train-pos-train-curve/622/2 "2018-06-19T08:01:03Z")

</div>

Just to confirm: Are you using the latest version of Prodigy, `v1.5.1`? The recent version introduced a few changes to the POS recipes, so if you’re still on the previous version, it might be related to that. You could also try adding a print statement to see which examples it fails on, and double-check that all examples in your set are POS annotations in the expected format.

---

<div class="post-metadata">

**Author:** ![han](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@han](https://support.prodi.gy/u/han)\
**Post date:** [June 19, 2018, 4:11pm UTC](https://support.prodi.gy/t/error-occur-with-execution-pos-batch-train-pos-train-curve/622/3 "2018-06-19T16:11:36Z")

</div>

Thank you for such fast response and diagnosis, let me try then!! 🤪
