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