# NER with electra

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fner-with-electra%2F4262%3E%5C
**Category:** Beginners\
**Created:** [March 9, 2021, 10:23am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fner-with-electra%2F4262 "2021-03-09T10:23:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![swaraj](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@swaraj](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fswaraj)%5C
**Post date:** [March 9, 2021, 10:23am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fner-with-electra%2F4262%2F1 "2021-03-09T10:23:08Z")

</div>

Hello Everyone,  
I am new to hugging face models. I would like to use electra (electra-large-discriminator-finetuned-conll03-english) for entity recognition. I was unable to find the code to do it. Pointing me in the right direction would be a great help.

Thanks

---

<div class="post-metadata">

**Author:** ![lewtun](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lewtun/32/30995_2.png) [@lewtun](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flewtun)%5C
**Post date:** [March 9, 2021, 10:37am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fner-with-electra%2F4262%2F2 "2021-03-09T10:37:16Z")

</div>

Hello @swaraj, if I understand correctly you’d like to use Electra for inference right? If yes, then the simplest thing would be to use the `pipeline` abstraction: [Summary of the tasks — transformers 4.3.0 documentation](https://huggingface.co/transformers/task_summary.html#named-entity-recognition)

You can specify the model name to `electra-large-discriminator-finetuned-conll03-english` which should download the model from the hub and load it in the pipeline for tagging.

---

<div class="post-metadata">

**Author:** ![swaraj](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@swaraj](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fswaraj)%5C
**Post date:** [March 9, 2021, 10:58am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fner-with-electra%2F4262%2F3 "2021-03-09T10:58:51Z")

</div>

Thanks a lot @lewtun. Got the stuff. 😇
