Instructions to use allenai/specter2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use allenai/specter2 with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("allenai/specter_plus_plus") model.load_adapter("allenai/specter2", set_active=True) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -46,7 +46,7 @@ First, install `adapters`:
|
|
| 46 |
```
|
| 47 |
pip install -U adapters
|
| 48 |
```
|
| 49 |
-
_Note: adapters is an add on to transformers and acts as a drop-in replacement with adapter support. [More](https://docs.adapterhub.ml/installation.html)_
|
| 50 |
|
| 51 |
Now, the adapter can be loaded and activated like this:
|
| 52 |
|
|
|
|
| 46 |
```
|
| 47 |
pip install -U adapters
|
| 48 |
```
|
| 49 |
+
_Note: adapters is built as an add on to transformers and acts as a drop-in replacement with adapter support. [More](https://docs.adapterhub.ml/installation.html)_
|
| 50 |
|
| 51 |
Now, the adapter can be loaded and activated like this:
|
| 52 |
|