Instructions to use 1-lock/aba53603-c1e7-44b1-a8d2-a464157f7d35 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use 1-lock/aba53603-c1e7-44b1-a8d2-a464157f7d35 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("peft-internal-testing/tiny-dummy-qwen2") model = PeftModel.from_pretrained(base_model, "1-lock/aba53603-c1e7-44b1-a8d2-a464157f7d35") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from 1-lock/aba53603-c1e7-44b1-a8d2-a464157f7d35: direct link, hf CLI and curl.
- Browser
- Download file 370 Bytes
-
https://huggingface.co/1-lock/aba53603-c1e7-44b1-a8d2-a464157f7d35/resolve/f96c799db988ae7128ef26bbd3c8b4a834aa0322/special_tokens_map.json
- Command line
-
hf download hf://1-lock/aba53603-c1e7-44b1-a8d2-a464157f7d35@f96c799db988ae7128ef26bbd3c8b4a834aa0322/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/1-lock/aba53603-c1e7-44b1-a8d2-a464157f7d35/resolve/f96c799db988ae7128ef26bbd3c8b4a834aa0322/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 | |
| } | |
| } | |