Initial version.
Browse files- README.md +3 -2
- pytorch_adapter.bin +2 -2
- pytorch_model_head.bin +2 -2
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
2 |
tags:
|
3 |
- adapter-transformers
|
4 |
-
- bert
|
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("bert-base-uncased")
|
31 |
-
model.load_adapter("AdapterHub/bert-base-uncased-pf-qqp", source="hf"
|
|
|
32 |
```
|
33 |
|
34 |
## Architecture & Training
|
|
|
1 |
---
|
2 |
tags:
|
3 |
- adapter-transformers
|
|
|
4 |
- adapterhub:sts/qqp
|
5 |
+
- bert
|
6 |
language:
|
7 |
- en
|
8 |
---
|
|
|
28 |
from transformers import AutoModelWithHeads
|
29 |
|
30 |
model = AutoModelWithHeads.from_pretrained("bert-base-uncased")
|
31 |
+
adapter_name = model.load_adapter("AdapterHub/bert-base-uncased-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
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:51a5901a3f7f764d350ed615ebea7c361f2f62271da3dc26a769e19a4a2c042a
|
3 |
+
size 3594687
|
pytorch_model_head.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c01805d12529ecc6c8a3f5be603fb360855a68bda521e88a2507223d28d6a5b7
|
3 |
+
size 2370171
|