Update README.md
Browse files
README.md
CHANGED
@@ -6,7 +6,7 @@ datasets:
|
|
6 |
- allenai/scirepeval
|
7 |
---
|
8 |
|
9 |
-
# Adapter `allenai/specter2_aug2023refresh_adhoc_query` for
|
10 |
|
11 |
An [adapter](https://adapterhub.ml) for the `None` model that was trained on the [allenai/scirepeval](https://huggingface.co/datasets/allenai/scirepeval/) dataset.
|
12 |
|
@@ -26,7 +26,7 @@ Now, the adapter can be loaded and activated like this:
|
|
26 |
```python
|
27 |
from transformers import AutoAdapterModel
|
28 |
|
29 |
-
model = AutoAdapterModel.from_pretrained("
|
30 |
adapter_name = model.load_adapter("allenai/specter2_aug2023refresh_adhoc_query", source="hf", set_active=True)
|
31 |
```
|
32 |
|
|
|
6 |
- allenai/scirepeval
|
7 |
---
|
8 |
|
9 |
+
# Adapter `allenai/specter2_aug2023refresh_adhoc_query` for `allenai/specter2_aug2023refresh_base`
|
10 |
|
11 |
An [adapter](https://adapterhub.ml) for the `None` model that was trained on the [allenai/scirepeval](https://huggingface.co/datasets/allenai/scirepeval/) dataset.
|
12 |
|
|
|
26 |
```python
|
27 |
from transformers import AutoAdapterModel
|
28 |
|
29 |
+
model = AutoAdapterModel.from_pretrained("allenai/specter2_aug2023refresh_base")
|
30 |
adapter_name = model.load_adapter("allenai/specter2_aug2023refresh_adhoc_query", source="hf", set_active=True)
|
31 |
```
|
32 |
|