Downloads · 30 days
2
8% of all-time downloads
bdanko/mistral-7b-sentiment-adapter
mistral-7b-sentiment-adapter is a machine learning model from bdanko. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for adapter-transformers.
An adapter for the mistralai/Mistral-7B-v0.3 model that was trained on the bdanko/sentiment140 dataset.
Downloads · 30 days
2
8% of all-time downloads
All-time downloads
24
Public
Repo size
538 MB
Likes
0
Public
Click a slice to open those files.
.bin538 MB · 100%
From the Hugging Face model README
bdanko/mistral-7b-sentiment-adapter for mistralai/Mistral-7B-v0.3An adapter for the mistralai/Mistral-7B-v0.3 model that was trained on the bdanko/sentiment140 dataset.
This adapter was created for usage with the Adapters library.
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("mistralai/Mistral-7B-v0.3")
adapter_name = model.load_adapter("bdanko/mistral-7b-sentiment-adapter", set_active=True)