title: How to fine-tune Allennlp's RoBERTa text entailment model on custom data?
body: <p>I'm working on a project where I need to fine-tune <a href="https://github.com/allenai/allennlp-models/blob/main/allennlp_models/modelcards/pair-classification-roberta-snli.json" rel="nofollow noreferrer">pair-classification-roberta-snli</a> model offered by AllenNLP. I have prepared my custom dataset in the snli format but couldn't manage to find a way to retrain the model. Currently, I am following <a href="https://github.com/dh1105/Sentence-Entailment" rel="nofollow noreferrer">this approach</a> to train bert-base model for textual entailment. But how to fine-tune AllenNLP's pair-classification-roberta-snli model?</p>