Instructions to use BigTMiami/adapter_classifier_from_prtrained_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use BigTMiami/adapter_classifier_from_prtrained_test with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("roberta-base") model.load_adapter("BigTMiami/adapter_classifier_from_prtrained_test", set_active=True) - Notebooks
- Google Colab
- Kaggle
|
Download README.md from BigTMiami/adapter_classifier_from_prtrained_test: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/BigTMiami/adapter_classifier_from_prtrained_test/resolve/main/README.md
- Command line
-
hf download hf://BigTMiami/adapter_classifier_from_prtrained_test/README.md
-
curl -L -o README.md https://huggingface.co/BigTMiami/adapter_classifier_from_prtrained_test/resolve/main/README.md
1.05 kB
metadata
tags:
- adapter-transformers
- roberta
datasets:
- BigTMiami/amazon_helpfulness
Adapter BigTMiami/adapter_classifier_from_prtrained_test for roberta-base
An adapter for the roberta-base model that was trained on the BigTMiami/amazon_helpfulness dataset and includes a prediction head for classification.
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("BigTMiami/adapter_classifier_from_prtrained_test", source="hf", set_active=True)