Initial version.
Browse files- README.md +3 -2
- pytorch_adapter.bin +1 -1
- pytorch_model_head.bin +1 -1
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
2 |
tags:
|
3 |
- adapter-transformers
|
4 |
-
- roberta
|
5 |
- adapterhub:sts/qqp
|
|
|
6 |
language:
|
7 |
- en
|
8 |
---
|
@@ -28,7 +28,8 @@ Now, the adapter can be loaded and activated like this:
|
|
28 |
from transformers import AutoModelWithHeads
|
29 |
|
30 |
model = AutoModelWithHeads.from_pretrained("roberta-base")
|
31 |
-
model.load_adapter("AdapterHub/roberta-base-pf-qqp", source="hf"
|
|
|
32 |
```
|
33 |
|
34 |
## Architecture & Training
|
|
|
1 |
---
|
2 |
tags:
|
3 |
- adapter-transformers
|
|
|
4 |
- adapterhub:sts/qqp
|
5 |
+
- roberta
|
6 |
language:
|
7 |
- en
|
8 |
---
|
|
|
28 |
from transformers import AutoModelWithHeads
|
29 |
|
30 |
model = AutoModelWithHeads.from_pretrained("roberta-base")
|
31 |
+
adapter_name = model.load_adapter("AdapterHub/roberta-base-pf-qqp", source="hf")
|
32 |
+
model.active_adapters = adapter_name
|
33 |
```
|
34 |
|
35 |
## Architecture & Training
|
pytorch_adapter.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3594815
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba1ded61a8ef981ee6508acbe569cc959670e8b1f661d09938061e62df80ace0
|
3 |
size 3594815
|
pytorch_model_head.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2370171
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ec05e98b174cd0c1479dd597c3acec35b66823ce96572e71f26b82d83d48596
|
3 |
size 2370171
|