Instructions to use student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective", dtype="auto") - llama-cpp-python
How to use student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective", filename="qwen2.5_coder_f32_mixed.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective:F32_MIXED # Run inference directly in the terminal: llama-cli -hf student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective:F32_MIXED
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective:F32_MIXED # Run inference directly in the terminal: llama-cli -hf student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective:F32_MIXED
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective:F32_MIXED # Run inference directly in the terminal: ./llama-cli -hf student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective:F32_MIXED
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective:F32_MIXED # Run inference directly in the terminal: ./build/bin/llama-cli -hf student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective:F32_MIXED
Use Docker
docker model run hf.co/student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective:F32_MIXED
- LM Studio
- Jan
- Ollama
How to use student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective with Ollama:
ollama run hf.co/student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective:F32_MIXED
- Unsloth Studio new
How to use student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective to start chatting
- Docker Model Runner
How to use student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective with Docker Model Runner:
docker model run hf.co/student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective:F32_MIXED
- Lemonade
How to use student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull student-abdullah/Quantized_Qwen-2.5-Coding-0.5B_mixed_selective:F32_MIXED
Run and chat with the model
lemonade run user.Quantized_Qwen-2.5-Coding-0.5B_mixed_selective-F32_MIXED
List all available models
lemonade list
Uploaded model
- Developed by: student-abdullah
- License: apache-2.0
- Quantized from model: Qwen2.5-Coder-0.5B
- Created on: 06th July, 2025
Acknowledgement
Quantization Description
This model is quantized using selective quantization from the Qwen2.5-Coder-0.5B base model to increase its speed while preserving the capabilities in generating relevant and accurate responses related python programming. The quantization method included 32-bit quantization of the following Layers:
- q_proj
- v_proj
- o_proj
- down_proj
- lm_head
Rest of the remaining layers were quantized to q3_k_l
Model Description
| Layer Name | Role (Short) | Type |
|---|---|---|
q_proj, k_proj, v_proj |
Compute query, key, and value for attention mechanism | Attention Proj |
o_proj |
Projects attention output back to model hidden size | Attention Proj |
down_proj |
Projects MLP output down to hidden size | MLP |
gate_proj |
First part of Gated MLP, controls info flow | MLP |
up_proj |
Expands hidden size in MLP | MLP |
lm_head |
Final linear layer for logits | Output Head |
embed_tokens |
Token embedding layer | Input Embed |
norm |
Final layernorm | Normalization |
*_layernorm |
Normalize inputs to layers | Normalization |
Model Architect
Qwen2ForCausalLM(
(model): Qwen2Model(
(embed_tokens): Embedding(151936, 896, padding_idx=151665)
(layers): ModuleList(
(0-23): 24 x Qwen2DecoderLayer(
(self_attn): Qwen2Attention(
(q_proj): Linear(in_features=896, out_features=896, bias=True)
(k_proj): Linear(in_features=896, out_features=128, bias=True)
(v_proj): Linear(in_features=896, out_features=128, bias=True)
(o_proj): Linear(in_features=896, out_features=896, bias=False)
(rotary_emb): LlamaRotaryEmbedding()
)
(mlp): Qwen2MLP(
(gate_proj): Linear(in_features=896, out_features=4864, bias=False)
(up_proj): Linear(in_features=896, out_features=4864, bias=False)
(down_proj): Linear(in_features=4864, out_features=896, bias=False)
(act_fn): SiLU()
)
(input_layernorm): Qwen2RMSNorm((896,), eps=1e-06)
(post_attention_layernorm): Qwen2RMSNorm((896,), eps=1e-06)
)
)
(norm): Qwen2RMSNorm((896,), eps=1e-06)
(rotary_emb): LlamaRotaryEmbedding()
)
(lm_head): Linear(in_features=896, out_features=151936, bias=False)
)
Performance & Limitations
- YET TO BE EXAMINED
Model Performace Evaluation:
- YET TO BE EVALUATED
- Downloads last month
- 11
32-bit