Downloads · 30 days
3
4% of all-time downloads
marcusmi4n/qwen2.5-3b-qnn-ready
qwen2.5-3b-qnn-ready is a text generation model from marcusmi4n. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This repository contains the Qwen 2.5 3B model prepared for QNN deployment.
Downloads · 30 days
3
4% of all-time downloads
All-time downloads
70
Public
Parameters
3.1B
6.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.2 GB · 100%
From the Hugging Face model README
This repository contains the Qwen 2.5 3B model prepared for QNN deployment.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("marcusmi4n/qwen2.5-3b-qnn-ready")
tokenizer = AutoTokenizer.from_pretrained("marcusmi4n/qwen2.5-3b-qnn-ready")
# Generate text
inputs = tokenizer("Hello, I am", return_tensors="pt")
outputs = model.generate(**inputs, max_length=50)
print(tokenizer.decode(outputs[0]))
This model can be converted to QNN format using the scripts in this repository:
# Quantize the model
python scripts/simple_quantize_abeja.py --model-path marcusmi4n/qwen2.5-3b-qnn-ready
# Convert to ONNX
python scripts/create_mock_onnx.py --model-path marcusmi4n/qwen2.5-3b-qnn-ready
# Compile for QNN
python scripts/mock_qnn_compile.py --model-path marcusmi4n/qwen2.5-3b-qnn-ready
Apache 2.0
@misc{qwen25-3b-qnn-ready,
title={Qwen 2.5 3B - QNN Ready},
author={QNN Conversion Pipeline},
year={2025},
url={https://huggingface.co/marcusmi4n/qwen2.5-3b-qnn-ready}
}