Update README.md
Browse files
README.md
CHANGED
|
@@ -4,9 +4,9 @@ tags:
|
|
| 4 |
- adapter-transformers
|
| 5 |
---
|
| 6 |
|
| 7 |
-
# Adapter `leaBroe/Heavy2Light_adapter` for
|
| 8 |
|
| 9 |
-
An [adapter](https://adapterhub.ml) for the
|
| 10 |
|
| 11 |
This adapter was created for usage with the **[Adapters](https://github.com/Adapter-Hub/adapters)** library.
|
| 12 |
|
|
@@ -23,7 +23,7 @@ Now, the adapter can be loaded and activated like this:
|
|
| 23 |
```python
|
| 24 |
from adapters import AutoAdapterModel
|
| 25 |
|
| 26 |
-
model =
|
| 27 |
adapter_name = model.load_adapter("leaBroe/Heavy2Light_adapter", set_active=True)
|
| 28 |
```
|
| 29 |
|
|
|
|
| 4 |
- adapter-transformers
|
| 5 |
---
|
| 6 |
|
| 7 |
+
# Adapter `leaBroe/Heavy2Light_adapter` for the Heavy2Light EncoderDecoder Model
|
| 8 |
|
| 9 |
+
An [adapter](https://adapterhub.ml) for the `Heavy2Light EncoderDecoder Model (Encoder: HeavyBERTa, Decoder: LightGPT)` model that was trained with data from [OAS](https://opig.stats.ox.ac.uk/webapps/oas/) and [PLAbDab](https://opig.stats.ox.ac.uk/webapps/plabdab/).
|
| 10 |
|
| 11 |
This adapter was created for usage with the **[Adapters](https://github.com/Adapter-Hub/adapters)** library.
|
| 12 |
|
|
|
|
| 23 |
```python
|
| 24 |
from adapters import AutoAdapterModel
|
| 25 |
|
| 26 |
+
model = EncoderDecoderModel.from_pretrained("leaBroe/Heavy2Light")
|
| 27 |
adapter_name = model.load_adapter("leaBroe/Heavy2Light_adapter", set_active=True)
|
| 28 |
```
|
| 29 |
|