How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="code2lora/Qwen2.5-Coder-1.5B-GGUF",
	filename="qwen2.5-coder-1.5b-q4_k_m.gguf",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

Qwen2.5-Coder-1.5B (base) โ€” GGUF for Code2LoRA

A GGUF conversion of the base (non-instruct) Qwen/Qwen2.5-Coder-1.5B, quantized to Q4_K_M, for use as the frozen base model of the Code2LoRA terminal tool (pip install code2lora) via the gguf/llama.cpp backend.

The base (not Instruct) weights are required so the repo-conditioned LoRA adapters injected by Code2LoRA match the model they were generated for.

File: qwen2.5-coder-1.5b-q4_k_m.gguf (~986 MB).

Downloads last month
97
GGUF
Model size
2B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for code2lora/Qwen2.5-Coder-1.5B-GGUF

Quantized
(48)
this model