nlp-uoregon / trankit

Trankit is a Light-Weight Transformer-based Python Toolkit for Multilingual Natural Language Processing
Apache License 2.0
724 stars 99 forks source link

Add adapters for more model types #47

Open Bachstelze opened 2 years ago

Bachstelze commented 2 years ago

When altering the code for another model like MarianMTModel this error occurs:

AttributeError: 'MarianMTModel' object has no attribute 'add_adapter'

Should we use https://docs.adapterhub.ml/ for other models than xml-r-base, large? Can we use xml-r-xl or xxl?