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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Rogarcia18/qlora-bert-sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from Rogarcia18/qlora-bert-sentiment: direct link, hf CLI and curl.
- Browser
- Download file 711 kB
-
https://huggingface.co/Rogarcia18/qlora-bert-sentiment/resolve/main/tokenizer.json
- Command line
-
hf download hf://Rogarcia18/qlora-bert-sentiment/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Rogarcia18/qlora-bert-sentiment/resolve/main/tokenizer.json
711 kB
File too large to display, you can check the raw version instead.