gesistsa / grafzahl

🧛 fine-tuning Transformers for text data from within R
https://gesistsa.github.io/grafzahl/
GNU General Public License v3.0
41 stars 2 forks source link

Added debertav2 to the possible model types in .check_model_type() #28

Closed bachl closed 5 months ago

bachl commented 5 months ago

Although not documented in https://simpletransformers.ai/docs/classification-specifics/#supported-model-types, it works nicely and allows for using models such as microsoft/deberta-v3-large.

chainsawriot commented 5 months ago

Thank you for the PR! Yes, it is supported.

https://github.com/ThilinaRajapakse/simpletransformers/blob/1b073ff66c41c06ca531f7916990901dbe977c9d/simpletransformers/ner/ner_model.py#L195-L199