FastContext-4B-RL_base-Function-Calling-xLAM-Unsloth-GGUF

GGUF quantizations of FastContext-4B-RL_base-Function-Calling-xLAM-Unsloth for CPU and edge inference with llama.cpp, Ollama, LM Studio, and other GGUF runtimes.

This model is a fine-tune of FastContext-1.0-4B-RL for function calling, trained with Unsloth on Salesforce/xlam-function-calling-60k.

Available Quantizations

Quant Size Recommended Use File
Q2_K 1.67 GB Smallest, lowest quality — quick tests / very constrained devices fastcontext-4b-rl_base-function-calling-xlam-unsloth.q2_k.gguf
Q3_K_M 2.08 GB Small, acceptable quality fastcontext-4b-rl_base-function-calling-xlam-unsloth.q3_k_m.gguf
Q4_K_M 2.50 GB Recommended — best size/quality balance fastcontext-4b-rl_base-function-calling-xlam-unsloth.q4_k_m.gguf
Q5_K_M 2.89 GB High quality, larger fastcontext-4b-rl_base-function-calling-xlam-unsloth.q5_k_m.gguf
Q6_K 3.31 GB Very high quality, near-fp16 fastcontext-4b-rl_base-function-calling-xlam-unsloth.q6_k.gguf
Q8_0 4.28 GB Near-lossless, largest fastcontext-4b-rl_base-function-calling-xlam-unsloth.q8_0.gguf

Q4_K_M is the recommended default for most users.

Usage

Download a single quant

pip install -U "huggingface_hub[cli]"
hf download ermiaazarkhalili/FastContext-4B-RL_base-Function-Calling-xLAM-Unsloth-GGUF \
  --include "*q4_k_m*.gguf" --local-dir ./FastContext-4B-RL_base-Function-Calling-xLAM-Unsloth-GGUF

llama.cpp

# build: https://github.com/ggerganov/llama.cpp
./llama-cli -m ./FastContext-4B-RL_base-Function-Calling-xLAM-Unsloth-GGUF/fastcontext-4b-rl_base-function-calling-xlam-unsloth.q2_k.gguf \
  -p "Check if the numbers 8 and 1233 are powers of two." -n 512

Ollama

ollama run hf.co/ermiaazarkhalili/FastContext-4B-RL_base-Function-Calling-xLAM-Unsloth-GGUF:Q4_K_M "Check if the numbers 8 and 1233 are powers of two."

Training Outcome

Metric Value
SLURM Job ID 45169150
Runtime 2h 09m 11s
Final Training Loss 0.2303
Peak VRAM 14.52 GB
GPU H100 80GB HBM3 (MIG 3g.40gb)

License

MIT — see the base model for full terms.

Acknowledgments

Downloads last month
339
GGUF
Model size
4B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ermiaazarkhalili/FastContext-4B-RL_base-Function-Calling-xLAM-Unsloth-GGUF

Dataset used to train ermiaazarkhalili/FastContext-4B-RL_base-Function-Calling-xLAM-Unsloth-GGUF