Electra NER on Conll03-english

Hi all,

I am new to NLP. I would like to understand how model dbmdz/electra-large-discriminator-finetuned-conll03-english was fine tuned on Conll03-english dataset. Is there any available code that I can take a look? I understand it was trained by @stefan-it.

Thank you,

Hi @sergulaydore you can find the ner training code here

Thank you @valhalla but I am specifically asking for the electra model. The code you refer to uses bert-base-multilingual-cased as far as I understand.

@sergulaydore I think it is enough to change the name of the pretrained model (--model_name_or_path) in .sh script you use to run run_ner.py.

Check how to Run the Pytorch version.

1 Like

But I don’t know what was the pre-trained model used for this dbmdz/electra-large-discriminator-finetuned-conll03-english .

@Elidor00 is right! You’ll just need to change the model name argument

as you can guess from the name dbmdz/electra-large-discriminator-finetuned-conll03-english uses google/electra-large-discriminator pre-trained model.

Most of the models follow this naming format

1 Like

Oh ok, thank you!