Instructions to use sunil9938/distilbert-lora-sentiment-amazon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sunil9938/distilbert-lora-sentiment-amazon with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased") model = PeftModel.from_pretrained(base_model, "sunil9938/distilbert-lora-sentiment-amazon") - Notebooks
- Google Colab
- Kaggle
File size: 365 Bytes
b33ed0f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"backend": "tokenizers",
"cls_token": "[CLS]",
"do_lower_case": true,
"is_local": true,
"local_files_only": false,
"mask_token": "[MASK]",
"model_max_length": 512,
"pad_token": "[PAD]",
"sep_token": "[SEP]",
"strip_accents": null,
"tokenize_chinese_chars": true,
"tokenizer_class": "BertTokenizer",
"unk_token": "[UNK]"
}
|