Instructions to use autoprogrammer/qwen-0.5b-safecoder-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use autoprogrammer/qwen-0.5b-safecoder-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "autoprogrammer/qwen-0.5b-safecoder-lora") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from autoprogrammer/qwen-0.5b-safecoder-lora: direct link, hf CLI and curl.
- Browser
- Download file 45.1 MB
-
https://huggingface.co/autoprogrammer/qwen-0.5b-safecoder-lora/resolve/main/adapter_model.bin
- Command line
-
hf download hf://autoprogrammer/qwen-0.5b-safecoder-lora/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/autoprogrammer/qwen-0.5b-safecoder-lora/resolve/main/adapter_model.bin
45.1 MB
- Xet hash:
- 7946613d9aab2cc19719a6d5d23fceb2b85fa736c074e65d67054413dd9e75eb
- Size of remote file:
- 45.1 MB
- SHA256:
- df83c3ad068deca17d696d8f7dea7a9a66446d49d6e9d9ff84dca14f9ba5961f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.