Simpletransformers: QuestionAnsweringModel for Electra fine_tuning

Created on 2 May 2020  路  3Comments  路  Source: ThilinaRajapakse/simpletransformers

HI
how I can load 'electra_base' pretrained into QuestionAnsweringModel for fine-tuning on custom json dataset?
seems that it' s only possible load 'generators or discriminatros' models...is that correct?
thanks

All 3 comments

ELECTRA models are always available as a generator-discriminator pair (list of pre-trained ELECTRA models).

When using them for any task other than language model training, you just use the discriminator. The generator is only used for LM training.

So, the model that you are looking for is google/electra-base-discriminator.

oh, thanks for great explanation!!

Check out this article if you'd like to know more about ELECTRA!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rohanvartak1996 picture rohanvartak1996  路  3Comments

zexuan-zhou picture zexuan-zhou  路  9Comments

QAQOAO picture QAQOAO  路  5Comments

hassant4 picture hassant4  路  8Comments

yoeldk picture yoeldk  路  9Comments