Instructions to use PriyanshuRauth/Model_Red with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use PriyanshuRauth/Model_Red with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("gpt2") model = PeftModel.from_pretrained(base_model, "PriyanshuRauth/Model_Red") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from PriyanshuRauth/Model_Red: direct link, hf CLI and curl.
- Browser
- Download file 131 Bytes
-
https://huggingface.co/PriyanshuRauth/Model_Red/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://PriyanshuRauth/Model_Red/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/PriyanshuRauth/Model_Red/resolve/main/special_tokens_map.json
131 Bytes
| { | |
| "bos_token": "<|endoftext|>", | |
| "eos_token": "<|endoftext|>", | |
| "pad_token": "<|endoftext|>", | |
| "unk_token": "<|endoftext|>" | |
| } | |