# How can I do NER by bert?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-do-ner-by-bert%2F82806%3E%5C
**Category:** Beginners\
**Created:** [April 20, 2024, 3:39pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-do-ner-by-bert%2F82806 "2024-04-20T15:39:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukkun](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lukkun](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flukkun)%5C
**Post date:** [April 20, 2024, 3:39pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-do-ner-by-bert%2F82806%2F1 "2024-04-20T15:39:51Z")

</div>

I want to do NER by bert. I have found dataset - conll2003 in hugging face. But I don’t how to start to code.

Anyone can give me some tutorials or guidance to start the project.

Thanks a lot

---

<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:** [April 20, 2024, 5:18pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-do-ner-by-bert%2F82806%2F2 "2024-04-20T17:18:27Z")

</div>

Hi,

I have a notebook on fine-tuning BERT for NER: [Transformers-Tutorials/BERT/Custom\_Named\_Entity\_Recognition\_with\_BERT.ipynb at master · NielsRogge/Transformers-Tutorials · GitHub](https://github.com/NielsRogge/Transformers-Tutorials/blob/master/BERT/Custom_Named_Entity_Recognition_with_BERT.ipynb).

Besides that, refer to the token classification task page: [What is Token Classification? - Hugging Face](https://huggingface.co/tasks/token-classification). At the bottom you can find links to the official notebooks and scripts.

---

<div class="post-metadata">

**Author:** ![lukkun](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lukkun](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flukkun)%5C
**Post date:** [April 20, 2024, 8:56pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-do-ner-by-bert%2F82806%2F3 "2024-04-20T20:56:09Z")

</div>

I’m so grateful

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/hellohellohello/original/2X/d/de4155eb4aa4108ecb32a1389d7cc37ae69f88b7.png) [@system](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsystem)%5C
**Post date:** [April 21, 2024, 8:56am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-do-ner-by-bert%2F82806%2F4 "2024-04-21T08:56:54Z")

</div>

Closed on April 21, 2024, 8:56am UTC

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
