Text Generation
PEFT
Safetensors
English
qwen3
python
code-generation
post-training
lora
supervised-fine-tuning
conversational
Instructions to use Eternity5551/Qwen3-1.7B-Python-Code-LoRA-SFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Eternity5551/Qwen3-1.7B-Python-Code-LoRA-SFT with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-1.7B-Base") model = PeftModel.from_pretrained(base_model, "Eternity5551/Qwen3-1.7B-Python-Code-LoRA-SFT") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from Eternity5551/Qwen3-1.7B-Python-Code-LoRA-SFT: direct link, hf CLI and curl.
- Browser
- Download file 695 Bytes
-
https://huggingface.co/Eternity5551/Qwen3-1.7B-Python-Code-LoRA-SFT/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Eternity5551/Qwen3-1.7B-Python-Code-LoRA-SFT/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Eternity5551/Qwen3-1.7B-Python-Code-LoRA-SFT/resolve/main/tokenizer_config.json
695 Bytes
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": null, | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|endoftext|>", | |
| "errors": "replace", | |
| "extra_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<|object_ref_start|>", | |
| "<|object_ref_end|>", | |
| "<|box_start|>", | |
| "<|box_end|>", | |
| "<|quad_start|>", | |
| "<|quad_end|>", | |
| "<|vision_start|>", | |
| "<|vision_end|>", | |
| "<|vision_pad|>", | |
| "<|image_pad|>", | |
| "<|video_pad|>" | |
| ], | |
| "is_local": true, | |
| "local_files_only": true, | |
| "model_max_length": 131072, | |
| "pad_token": "<|endoftext|>", | |
| "split_special_tokens": false, | |
| "tokenizer_class": "Qwen2Tokenizer", | |
| "unk_token": null | |
| } | |