'Type of adapters for machine translation (AdapterHub tutorial)
I'm following this guide which explains how to apply adapters to a model for a binary classification task, and I want to adapt it to a machine translation task.
Once I get here I get stuck because the link is broken and I don't know which method I should use instead of add_classification_head
which is obviously not what I'm looking for.
I have changed "rotten_tomatoes" for the dataset I'm using, of course.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|