Instructions to use PierreVie/data with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use PierreVie/data with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolVLM-Instruct") model = PeftModel.from_pretrained(base_model, "PierreVie/data") - Notebooks
- Google Colab
- Kaggle
Download adapter/special_tokens_map.json from PierreVie/data: direct link, hf CLI and curl.
- Browser
- Download file 699 Bytes
-
https://huggingface.co/PierreVie/data/resolve/main/adapter/special_tokens_map.json
- Command line
-
hf download hf://PierreVie/data/adapter/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/PierreVie/data/resolve/main/adapter/special_tokens_map.json
699 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<fake_token_around_image>", | |
| "<image>", | |
| "<end_of_utterance>" | |
| ], | |
| "bos_token": { | |
| "content": "<|im_start|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<end_of_utterance>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |