ermiaazarkhalili/Granite-4.1-3B-Function-Calling-xLAM-Unsloth-GGUF overview
Granite 4.1 3B Function Calling xLAM Unsloth GGUF GGUF quantizations of a LoRA fine tune of ibm granite/granite 4.1 3b https://huggingface.co/ibm granite/grani…
Runs locally from ~1.28 GB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).
Repository Files & Downloads
| File | Type | Quantization | Size | Link |
|---|---|---|---|---|
| granite-4.1-3b-function-calling-xlam-unsloth.q2_k.gguf | GGUF | GGUF | 1.28 GB | Download |
| granite-4.1-3b-function-calling-xlam-unsloth.q3_k_m.gguf | GGUF | GGUF | 1.61 GB | Download |
| granite-4.1-3b-function-calling-xlam-unsloth.q4_k_m.gguf | GGUF | GGUF | 1.96 GB | Download |
| granite-4.1-3b-function-calling-xlam-unsloth.q5_k_m.gguf | GGUF | GGUF | 2.27 GB | Download |
| granite-4.1-3b-function-calling-xlam-unsloth.q6_k.gguf | GGUF | GGUF | 2.60 GB | Download |
| granite-4.1-3b-function-calling-xlam-unsloth.q8_0.gguf | GGUF | GGUF | 3.37 GB | Download |
Model Details
| Model ID | ermiaazarkhalili/Granite-4.1-3B-Function-Calling-xLAM-Unsloth-GGUF |
|---|---|
| Author | ermiaazarkhalili |
| Pipeline | text-generation |
| License | apache-2.0 |
| Base model | ibm-granite/granite-4.1-3b |
| Last modified | 2026-08-23T11:36:26.000Z |
Model README
---
license: apache-2.0
base_model:
- ibm-granite/granite-4.1-3b
datasets:
- Salesforce/xlam-function-calling-60k
library_name: gguf
pipeline_tag: text-generation
tags:
- gguf
- llama.cpp
- quantized
- unsloth
- lora
- trl
- sft
---
Granite-4.1-3B-Function-Calling-xLAM-Unsloth-GGUF
GGUF quantizations of a LoRA fine-tune of ibm-granite/granite-4.1-3b, supervised fine-tuned on Salesforce/xlam-function-calling-60k.
Quantized from ermiaazarkhalili/Granite-4.1-3B-Function-Calling-xLAM-Unsloth. See that repository for the full-precision weights.
| | |
| --- | --- |
| Base model | ibm-granite/granite-4.1-3b |
| Training data | Salesforce/xlam-function-calling-60k |
| Method | LoRA supervised fine-tuning via Unsloth + TRL |
| License | apache-2.0 (inherited from the base model) |
Available quantizations
| File | Size |
| --- | --- |
| granite-4.1-3b-function-calling-xlam-unsloth.q2_k.gguf | 1.37 GB |
| granite-4.1-3b-function-calling-xlam-unsloth.q3_k_m.gguf | 1.73 GB |
| granite-4.1-3b-function-calling-xlam-unsloth.q4_k_m.gguf | 2.10 GB |
| granite-4.1-3b-function-calling-xlam-unsloth.q5_k_m.gguf | 2.44 GB |
| granite-4.1-3b-function-calling-xlam-unsloth.q6_k.gguf | 2.80 GB |
| granite-4.1-3b-function-calling-xlam-unsloth.q8_0.gguf | 3.62 GB |
Usage
llama.cpp
huggingface-cli download ermiaazarkhalili/Granite-4.1-3B-Function-Calling-xLAM-Unsloth-GGUF granite-4.1-3b-function-calling-xlam-unsloth.q4_k_m.gguf --local-dir .
llama-cli -m granite-4.1-3b-function-calling-xlam-unsloth.q4_k_m.gguf -p "Explain gradient checkpointing in two sentences." -n 256
Ollama
echo 'FROM ./granite-4.1-3b-function-calling-xlam-unsloth.q4_k_m.gguf' > Modelfile
ollama create granite-4.1-3b-function-calling-xlam-unsloth-gguf -f Modelfile
ollama run granite-4.1-3b-function-calling-xlam-unsloth-gguf
Training configuration
| Setting | Value |
| --- | --- |
| LoRA rank (r) | 16 |
| LoRA alpha | 16 |
| Learning rate | 0.0002 |
| Epochs | 1 |
| Effective batch size | 8 (2 x 4 grad accum) |
| Max sequence length | 2048 |
| Base precision | 4-bit (QLoRA) |
| Target modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
Observed training loss
Measured from our SLURM logs for this configuration. These are training-loss
observations only — no downstream benchmark evaluation has been run on this
model, so they should not be read as a quality claim.
| SLURM job | Steps | First loss | Final loss |
| --- | --- | --- | --- |
| 38330898 | 7,500 | 0.7155 | 0.1389 |
Limitations
- No benchmark evaluation has been run on this checkpoint. The only reported
numbers are training-loss observations.
- Inherits the biases, knowledge cutoff and failure modes of the base model.
- Fine-tuned on a single instruction-following dataset; behaviour outside that
distribution is untested.
- LoRA adapters were merged into the base weights, so the merged model cannot
be detached from this fine-tune.
Reproducing
Trained by notebooks/xlam_function_calling_granite4.1-3b_unsloth.ipynb, executed non-interactively with
papermill on a SLURM H100 partition (Unsloth + TRL, LoRA).
---
Card generated from the training run's own configuration and logs by
scripts/generate_hub_model_card.py.
Run ermiaazarkhalili/Granite-4.1-3B-Function-Calling-xLAM-Unsloth-GGUF with guIDE
Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.
Source: Hugging Face · Compare models