Downloads · 30 days
32
11% of all-time downloads
sultanali338/qwen1.5-1.8b-gguf
qwen1.5-1.8b-gguf is a text generation model from sultanali338. 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 GGUF quantized versions of Qwen/Qwen1.5-1.8B.
Downloads · 30 days
32
11% of all-time downloads
All-time downloads
285
Public
Repo size
2.6 GB
Likes
0
Public
Click a slice to open those files.
.gguf2.6 GB · 100%
From the Hugging Face model README
This repository contains GGUF quantized versions of Qwen/Qwen1.5-1.8B.
| Quantization | File Size | Description |
|---|---|---|
| Q4_K_M | 1.13 GB | 4-bit mixed precision (recommended) |
| Q5_K_M | 1.28 GB | 5-bit mixed precision (good balance) |
# Download the model
curl -L -O https://huggingface.co/sultanali338/qwen1.5-1.8b-gguf/resolve/main/Q4_K_M.gguf
# Run inference
./llama-cli -m Q4_K_M.gguf -p "Your prompt here" -n 128
from huggingface_hub import hf_hub_download
# Download model
model_path = hf_hub_download(
repo_id="sultanali338/qwen1.5-1.8b-gguf",
filename="Q4_K_M.gguf"
)
# Use with llama-cpp-python
from llama_cpp import Llama
llm = Llama(model_path=model_path)
response = llm("Your prompt here", max_tokens=128)
Choose the quantization level based on your hardware constraints and quality requirements.