DeepPavlov
DeepPavlov copied to clipboard
add roberta support
Add RoBERTa support in squad_torch_bert config.
The changes concern the shape of token_type_ids specific for RoBERTa
Now distilbert, roberta, xlm, bart and longformer-like models can be trained correctly (confirmed on a GPU)