Instructions to use asm3515/bert-IMDB-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use asm3515/bert-IMDB-lora 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, "asm3515/bert-IMDB-lora") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from asm3515/bert-IMDB-lora: direct link, hf CLI and curl.
- Browser
- Download file 125 Bytes
-
https://huggingface.co/asm3515/bert-IMDB-lora/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://asm3515/bert-IMDB-lora/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/asm3515/bert-IMDB-lora/resolve/main/special_tokens_map.json
125 Bytes
| { | |
| "cls_token": "[CLS]", | |
| "mask_token": "[MASK]", | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "unk_token": "[UNK]" | |
| } | |