Text Generation
Transformers
GGUF
English
hunyuan
python
code-generation
code-assistant
instruct
conversational
causal-lm
full-finetune
How to use from the
Use from the
llama-cpp-python library
# Gated model: Login with a HF token with gated access permission
hf auth login
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="11-47/Hunyuan-Python.GOD-0.5B-GGUF",
	filename="",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Hunyuan-PythonGOD-0.5B-GGUF

Hunyuan-PythonGOD-0.5B-GGUF is a compact Python-specialized coding model released in GGUF format for lightweight local inference. It is derived from a full fine-tune of tencent/Hunyuan-0.5B-Instruct and is aimed at code generation, Python scripting, debugging help, implementation tasks, and coding-oriented chat workflows.

This repo provides quantized GGUF builds for efficient use with llama.cpp-compatible runtimes and other GGUF-serving backends.

Model Details

Base Model

  • Base model: tencent/Hunyuan-0.5B-Instruct
  • Architecture: Causal decoder-only language model
  • Parameter scale: ~0.5B
  • Specialization: Python coding and general code-assistant behavior
  • Release format: GGUF

Included Files

  • Hunyuan-PythonGOD-0.5B.Q4_K_M.gguf
  • Hunyuan-PythonGOD-0.5B.Q5_K_M.gguf
  • Hunyuan-PythonGOD-0.5B.f16.gguf

Training Summary

This GGUF release is based on a full fine-tune, not an adapter-only export.

Training Datasets

  • WithinUsAI/Python_GOD_Coder_Omniforge_AI_12k
  • WithinUsAI/Python_GOD_Coder_5k
  • WithinUsAI/Legend_Python_CoderV.1

Training Characteristics

  • Full-parameter fine-tuning
  • Python/code-oriented instruction tuning
  • Exported as standard model weights before GGUF conversion
  • Intended for compact coding assistance and local inference experimentation

Intended Uses

Good Fits

  • Python function generation
  • Python script writing
  • Debugging assistance
  • Automation script drafting
  • Code-oriented local assistants
  • Small-model coding experiments

Not Intended For

  • Safety-critical software deployment without review
  • Autonomous execution without sandboxing
  • Guaranteed bug-free or secure code generation
  • Medical, legal, or financial decision support

Quantization Notes-

This repo includes multiple tradeoff points:

  • Q4_K_M: smaller footprint, faster/lighter inference
  • Q5_K_M: stronger quality-to-size balance
  • F16: highest fidelity in this repo, larger memory cost

Example llama.cpp Usage

./llama-cli -m Hunyuan-PythonGOD-0.5B.Q5_K_M.gguf -p "Write a Python function that validates an email address." -n 256
Downloads last month
222
GGUF
Model size
0.5B params
Architecture
hunyuan-dense
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for 11-47/Hunyuan-Python.GOD-0.5B-GGUF

Quantized
(14)
this model

Datasets used to train 11-47/Hunyuan-Python.GOD-0.5B-GGUF