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 37
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.