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