Run this model with HF Jobs
Run jayyvk/qwen2-coder-python-qlora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/jayyvk/qwen2-coder-python-qlora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/jayyvk/qwen2-coder-python-qlora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use jayyvk/qwen2-coder-python-qlora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use jayyvk/qwen2-coder-python-qlora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "jayyvk/qwen2-coder-python-qlora") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (9)
- adapter_config.jsonAdded+32
- adapter_model.safetensorsAdded+3
- added_tokens.jsonAdded+5
- merges.txtAdded
- special_tokens_map.jsonAdded+14
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+43
- training_args.binAdded+3
- vocab.jsonAdded
1234567891011121314151617181920212223242526272829303132{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "Qwen/Qwen2-0.5B-Instruct", "bias": "none", "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 16, "lora_dropout": 0.1, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 8, "rank_pattern": {}, "revision": null, "target_modules": [ "v_proj", "k_proj", "o_proj", "c_proj", "q_proj" ], "task_type": "CAUSAL_LM", "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:69e3540d9e3201c72cfa858453d39314e346c80f1172c28c288a9b09ab196377size 109135039212345{ "<|endoftext|>": 151643, "<|im_end|>": 151645, "<|im_start|>": 151644}1234567891011121314{ "additional_special_tokens": [ "<|im_start|>", "<|im_end|>" ], "eos_token": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "<|im_end|>"}12345678910111213141516171819202122232425262728293031323334353637383940414243{ "add_prefix_space": false, "added_tokens_decoder": { "151643": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151644": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151645": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "<|im_start|>", "<|im_end|>" ], "bos_token": null, "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}", "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "model_max_length": 32768, "pad_token": "<|im_end|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}123version https://git-lfs.github.com/spec/v1oid sha256:583d7233f315842b8b3bf775c4a60bc86556bdc30351bd1dd8cc0d7473c11c58size 5048adapter_config.jsonAdded+32
adapter_model.safetensorsAdded+3
added_tokens.jsonAdded+5
merges.txtAdded
special_tokens_map.jsonAdded+14
tokenizer.jsonAdded
tokenizer_config.jsonAdded+43
training_args.binAdded+3
vocab.jsonAdded