lenglaender
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ Now, the adapter can be loaded and activated like this:
|
|
26 |
from adapters import AutoAdapterModel
|
27 |
|
28 |
model = AutoAdapterModel.from_pretrained("google-t5/t5-base")
|
29 |
-
adapter_name = model.load_adapter("
|
30 |
```
|
31 |
|
32 |
## Architecture & Training
|
|
|
26 |
from adapters import AutoAdapterModel
|
27 |
|
28 |
model = AutoAdapterModel.from_pretrained("google-t5/t5-base")
|
29 |
+
adapter_name = model.load_adapter("AdapterHub/xlm-roberta-base-lora-lm-amazon-polarity", source="hf", set_active=True)
|
30 |
```
|
31 |
|
32 |
## Architecture & Training
|