Instructions to use Rogarcia18/qlora-bert-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Rogarcia18/qlora-bert-sentiment with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("google-bert/bert-base-uncased") model = PeftModel.from_pretrained(base_model, "Rogarcia18/qlora-bert-sentiment") - Transformers
How to use Rogarcia18/qlora-bert-sentiment with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Rogarcia18/qlora-bert-sentiment", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K