Downloads · 30 days
34
4% of all-time downloads
ermiaazarkhalili/Qwen3.5-2B-Function-Calling-xLAM-GGUF
Qwen3.5-2B-Function-Calling-xLAM-GGUF is a text generation model from ermiaazarkhalili. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
GGUF quantizations of ermiaazarkhalili/Qwen3.5-2B-Function-Calling-xLAM, a function-calling fine-tune trained on Salesforce's xLAM dataset and converted with llama.cpp.
Downloads · 30 days
34
4% of all-time downloads
All-time downloads
785
Public
Repo size
4.7 GB
Likes
0
Public
Click a slice to open those files.
.gguf4.7 GB · 100%
From the Hugging Face model README
GGUF quantizations of ermiaazarkhalili/Qwen3.5-2B-Function-Calling-xLAM,
a function-calling fine-tune trained on Salesforce's xLAM dataset and converted with
llama.cpp.
| Field | Value |
|---|---|
| Source checkpoint | ermiaazarkhalili/Qwen3.5-2B-Function-Calling-xLAM |
| Base model | Qwen/Qwen3.5-2B |
| Dataset | Salesforce/xlam-function-calling-60k |
| Objective | Supervised fine-tuning for structured tool / function calling |
| Quantization tool | llama.cpp convert_hf_to_gguf.py + llama-quantize |
Conversion note. The published source repo stores bitsandbytes 4-bit (nf4) weights, which llama.cpp cannot convert directly. These GGUFs were therefore built from the full-precision merged checkpoint produced during training, so they reflect the model's fp16 weights rather than a re-quantized 4-bit copy.
| File | Size | Notes |
|---|---|---|
qwen3.5-2b-function-calling-xlam.q4_k_m.gguf | 1.27 GB (recommended) | 4-bit K-quant medium; best size/quality balance |
qwen3.5-2b-function-calling-xlam.q5_k_m.gguf | 1.41 GB (balanced) | 5-bit K-quant medium; near-full quality |
qwen3.5-2b-function-calling-xlam.q8_0.gguf | 2.01 GB (largest) | 8-bit; closest to the source precision |
Recommended default: Q4_K_M. For maximum fidelity use Q8_0; for the smallest
footprint use Q4_K_M (no lower-bit quants are published for this model).
# One-shot
llama-cli -hf ermiaazarkhalili/Qwen3.5-2B-Function-Calling-xLAM-GGUF --jinja -p "Your prompt here" -n 256
# Interactive chat
llama-cli -hf ermiaazarkhalili/Qwen3.5-2B-Function-Calling-xLAM-GGUF --jinja -cnv
ollama run hf.co/ermiaazarkhalili/Qwen3.5-2B-Function-Calling-xLAM-GGUF:Q4_K_M
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="ermiaazarkhalili/Qwen3.5-2B-Function-Calling-xLAM-GGUF",
filename="*q4_k_m.gguf",
n_ctx=4096,
)
out = llm.create_chat_completion(
messages=[{"role": "user", "content": "Your prompt here"}],
max_tokens=256,
)
print(out["choices"][0]["message"]["content"])
Research and non-commercial experimentation with structured function / tool calling. Prompt the model with a user request plus the available tool schemas; it emits a function call. Verify all emitted calls before executing them downstream.
Q8_0 when fidelity matters.ermiaazarkhalili/Qwen3.5-2B-Function-Calling-xLAM).@misc{qwen3_5_2b_gguf,
author = {Ermia Azarkhalili},
title = {Qwen3.5-2B — Function Calling (xLAM) — GGUF quantized},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/ermiaazarkhalili/Qwen3.5-2B-Function-Calling-xLAM-GGUF}}
}