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="dispatchAI/Qwen2.5-0.5B-Coder-mobile",
	filename="model.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

Qwen 2.5 0.5B Coder - Mobile (GGUF)

Alibaba's Qwen 2.5 0.5B Coder variant, fine-tuned for code generation. The fastest code-completion model that runs on a phone.

Property Value
Parameters 494 million
Size ~420 MB
Speed ~43 tok/s (S20 FE CPU)

Use Cases

  • Code autocomplete on mobile IDEs
  • Inline code explanation from comments
  • Snippet generation
  • Language translation (code-to-code)
  • Debugging suggestion engine
Downloads last month
685
GGUF
Model size
0.5B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

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

Spaces using dispatchAI/Qwen2.5-0.5B-Coder-mobile 2

Collections including dispatchAI/Qwen2.5-0.5B-Coder-mobile