Downloads · 30 days
22
3% of all-time downloads
ciphermosaic/qwen-alpaca-gguf
qwen-alpaca-gguf is a machine learning model from ciphermosaic. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Downloads · 30 days
22
3% of all-time downloads
All-time downloads
635
Public
Repo size
398 MB
Likes
1
Public
Click a slice to open those files.
.gguf398 MB · 100%
From the Hugging Face model README
Model: ciphermosaic/qwen-alpaca-gguf
A fine tuned version of Qwen2.5-0.5B-Instruct trained on the tatsu-lab/alpaca instruction dataset using Unsloth. This project was built as a learning exercise to understand the complete LLM fine tuning workflow, from training and LoRA adaptation to model merging, GGUF conversion, local inference with Ollama, and deployment on Hugging Face.
ciphermosaic/qwen-alpaca-ggufThe model was fine tuned using the tatsu-lab/alpaca dataset, which consists of instruction, input, and output pairs designed for instruction following tasks.
The objective was to improve the model's ability to follow natural language instructions and generate coherent conversational responses.
The model was fine tuned using Unsloth with LoRA.
| Parameter | Value |
|---|---|
| Epochs | 2 |
| Learning Rate | 2e-5 |
| Fine Tuning Method | LoRA |
| Framework | Unsloth |
After training:
The released model uses the following GGUF file:
Qwen2.5-0.5B-Instruct.Q4_K_M.gguf
The Q4_K_M quantization provides a good balance between model size, inference speed, and response quality, making it suitable for running efficiently on consumer hardware.
The model can be run locally using Ollama after creating a Modelfile that references:
Qwen2.5-0.5B-Instruct.Q4_K_M.gguf
Then create and run the model:
ollama create qwen-alpaca -f Modelfile
ollama run qwen-alpaca
This enables fast local inference without requiring a cloud API.
The project has also been deployed on Hugging Face Spaces, allowing users to interact with the model through a web interface in addition to local inference with Ollama.
This model is suitable for:
Prompt
Explain what a Transformer is in simple terms.
Response
A Transformer is a neural network architecture designed to process sequences efficiently using self attention. Instead of reading text one word at a time, it looks at all relevant words together, allowing it to understand context better and generate more accurate responses.
This project was created to gain hands on experience with the complete LLM development pipeline, including:
The model was successfully tested locally using Ollama.

Try the model in your hugging face Space: