Instructions to use Charley890/adaption_python_code_snippets with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Charley890/adaption_python_code_snippets with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("togethercomputer/Llama-4-Scout-17B-16E-Instruct_bnb_4bit") model = PeftModel.from_pretrained(base_model, "Charley890/adaption_python_code_snippets") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from Charley890/adaption_python_code_snippets: direct link, hf CLI and curl.
- Browser
- Download file 105 Bytes
-
https://huggingface.co/Charley890/adaption_python_code_snippets/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://Charley890/adaption_python_code_snippets/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/Charley890/adaption_python_code_snippets/resolve/main/special_tokens_map.json
105 Bytes
| { | |
| "bos_token": "<|begin_of_text|>", | |
| "eos_token": "<|eot|>", | |
| "pad_token": "<|finetune_right_pad|>" | |
| } |