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

Replace adapter-transformers with Adapters #78

Closed calpt closed 4 months ago

calpt commented 9 months ago

Closes #77.

This PR replaces the adapter-transformers code currently used in trankit by the newly released adapters package. Changes:

Please note that some functionality used here is not yet released in the adapters PyPI package yet. For testing, please install Adapters like this:

pip install git+https://github.com/adapter-hub/adapters.git

Will release a new PyPI package before this PR is merged.