# NER model fine tuning with labeled spans

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fner-model-fine-tuning-with-labeled-spans%2F10633%3E%5C
**Category:** Beginners\
**Created:** [October 9, 2021, 2:01am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fner-model-fine-tuning-with-labeled-spans%2F10633 "2021-10-09T02:01:56Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nielsr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/nielsr/32/39617_2.png) [@nielsr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fnielsr)%5C
**Post date:** [October 25, 2021, 9:43am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fner-model-fine-tuning-with-labeled-spans%2F10633%2F3 "2021-10-25T09:43:31Z")

</div>

Hi,

Yes that’s the right approach. You can take a look at Spacy’s [`offsets_to_biluo_tags`](https://spacy.io/api/top-level#offsets_to_biluo_tags) method. It’s great to convert character index-level annotations to token annotations (in BILOU-format, which is a bit more exotic than IOB).

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fner-model-fine-tuning-with-labeled-spans%2F10633)._
