Instructions to use Shwetasingh123/age_adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use Shwetasingh123/age_adapter with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("roberta-base") model.load_adapter("Shwetasingh123/age_adapter", set_active=True) - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Shwetasingh123/age_adapter: direct link, hf CLI and curl.
- Browser
- Download file 809 Bytes
-
https://huggingface.co/Shwetasingh123/age_adapter/resolve/main/README.md
- Command line
-
hf download hf://Shwetasingh123/age_adapter/README.md
-
curl -L -o README.md https://huggingface.co/Shwetasingh123/age_adapter/resolve/main/README.md
809 Bytes
metadata
tags:
- roberta
- adapter-transformers
Adapter Shwetasingh123/age_adapter for roberta-base
An adapter for the roberta-base model that was trained on the None dataset.
This adapter was created for usage with the Adapters library.
Usage
First, install adapters:
pip install -U adapters
Now, the adapter can be loaded and activated like this:
from adapters import AutoAdapterModel
model = AutoAdapterModel.from_pretrained("roberta-base")
adapter_name = model.load_adapter("Shwetasingh123/age_adapter", set_active=True)