Instructions to use Iltaf/sst2-lora-distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Iltaf/sst2-lora-distilbert with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased-finetuned-sst-2-english") model = PeftModel.from_pretrained(base_model, "Iltaf/sst2-lora-distilbert") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from Iltaf/sst2-lora-distilbert: direct link, hf CLI and curl.
- Browser
- Download file 711 kB
-
https://huggingface.co/Iltaf/sst2-lora-distilbert/resolve/main/tokenizer.json
- Command line
-
hf download hf://Iltaf/sst2-lora-distilbert/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Iltaf/sst2-lora-distilbert/resolve/main/tokenizer.json
711 kB
File too large to display, you can check the raw version instead.