CoolFace
Modelpublic

ermiaazarkhalili/Carnice-9B-Function-Calling-xLAM-Unsloth-GGUF

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
0likes61downloads
Model Card

Carnice-9B-xLAM-Unsloth — GGUF quantized

GGUF quantizations of `ermiaazarkhalili/Carnice-9B-Function-Calling-xLAM-Unsloth`, produced via Unsloth + llama.cpp's conversion scripts.

FieldValue
Source checkpoint`ermiaazarkhalili/Carnice-9B-Function-Calling-xLAM-Unsloth`
Base model`kai-os/Carnice-9b`
Dataset`Salesforce/xlam-function-calling-60k`
TrainingN=1 full epoch (7,500 steps, effective batch=8)
ConversionUnsloth save_pretrained_gguf → llama.cpp GGUF
Quantization toolllama.cpp llama-quantize

Available quantizations

FileSizeNotes
Carnice-9b.Q4_K_M.ggufrecommended4-bit; best size/quality balance
Carnice-9b.Q5_K_M.ggufbalanced5-bit; near-full quality
Carnice-9b.Q8_0.ggufhigh quality8-bit; closest to bf16 source

Recommended default: Q4_K_M (4-bit, K-quant medium). For maximum fidelity, use Q8_0. (Q2/Q3/Q6 variants are not available — 6-quant conversion exceeded memory limits on MIG 3g.40gb.)

Usage

llama.cpp

bash
# Text-only
llama-cli -hf ermiaazarkhalili/Carnice-9B-Function-Calling-xLAM-Unsloth-GGUF --jinja -p "Find flights from SFO to NYC on December 25th" -n 256

# Interactive chat
llama-cli -hf ermiaazarkhalili/Carnice-9B-Function-Calling-xLAM-Unsloth-GGUF --jinja -cnv

Ollama

bash
ollama run hf.co/ermiaazarkhalili/Carnice-9B-Function-Calling-xLAM-Unsloth-GGUF:Q4_K_M

llama-cpp-python

python
from llama_cpp import Llama
llm = Llama.from_pretrained(
    repo_id="ermiaazarkhalili/Carnice-9B-Function-Calling-xLAM-Unsloth-GGUF",
    filename="*Q4_K_M.gguf",
    n_ctx=2048,
)
out = llm.create_chat_completion(
    messages=[{"role": "user", "content": "Find flights from SFO to NYC on December 25th"}],
    max_tokens=256,
)
print(out["choices"][0]["message"]["content"])

Intended use

For research and non-commercial experimentation only. Outputs should be independently verified before any downstream use.

Limitations

  • —GGUF quantizations have unavoidable quality loss relative to the source bfloat16 checkpoint. Use Q5_K_M or Q8_0 for best fidelity.
  • —Inherits all limitations of the source merged checkpoint (`ermiaazarkhalili/Carnice-9B-Function-Calling-xLAM-Unsloth`).
  • —Limited to the 60 function schemas covered in the training dataset; performance on novel APIs may degrade. This repo ships 3 of 6 planned quants (Q4KM, Q5KM, Q80); Q2K / Q3KM / Q6_K are unavailable due to memory limits during conversion on MIG 3g.40gb.

Citation

bibtex
@misc{ carnice_9b_xlam_unsloth_2026_gguf ,
  author = {Ermia Azarkhalili},
  title = { Carnice-9B-xLAM-Unsloth — GGUF quantized },
  year = {2026},
  publisher = {Hugging Face},
  howpublished = {\url{https://huggingface.co/ermiaazarkhalili/Carnice-9B-Function-Calling-xLAM-Unsloth-GGUF}}
}

This gemma2 model was trained 2× faster with Unsloth and Hugging Face's TRL library.

<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>