Instructions to use ErrorAI/af8d874c-a4d3-45a3-8eb7-4217fa1af41f with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ErrorAI/af8d874c-a4d3-45a3-8eb7-4217fa1af41f with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-0.5B") model = PeftModel.from_pretrained(base_model, "ErrorAI/af8d874c-a4d3-45a3-8eb7-4217fa1af41f") - Notebooks
- Google Colab
- Kaggle
Download last-checkpoint/special_tokens_map.json from ErrorAI/af8d874c-a4d3-45a3-8eb7-4217fa1af41f: direct link, hf CLI and curl.
- Browser
- Download file 370 Bytes
-
https://huggingface.co/ErrorAI/af8d874c-a4d3-45a3-8eb7-4217fa1af41f/resolve/main/last-checkpoint/special_tokens_map.json
- Command line
-
hf download hf://ErrorAI/af8d874c-a4d3-45a3-8eb7-4217fa1af41f/last-checkpoint/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/ErrorAI/af8d874c-a4d3-45a3-8eb7-4217fa1af41f/resolve/main/last-checkpoint/special_tokens_map.json
370 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>" | |
| ], | |
| "eos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |