CoolFace
Modelpublic

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

sourceHugging Faceupdated 1mo agoView on Hugging Face
0likes110downloads
Model Card

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

GGUF quantizations of a LoRA fine-tune of microsoft/FastContext-1.0-4B-RL (no longer available on the Hub), supervised fine-tuned on `Salesforce/xlam-function-calling-60k`.

Quantized from `ermiaazarkhalili/FastContext-4B-RL_base-Function-Calling-xLAM-Unsloth`. See that repository for the full-precision weights.

Base modelmicrosoft/FastContext-1.0-4B-RL (no longer available on the Hub)
Training data`Salesforce/xlam-function-calling-60k`
MethodLoRA supervised fine-tuning via Unsloth + TRL

Available quantizations

FileSize
fastcontext-4b-rl_base-function-calling-xlam-unsloth.q2_k.gguf1.67 GB
fastcontext-4b-rl_base-function-calling-xlam-unsloth.q3_k_m.gguf2.08 GB
fastcontext-4b-rl_base-function-calling-xlam-unsloth.q4_k_m.gguf2.50 GB
fastcontext-4b-rl_base-function-calling-xlam-unsloth.q5_k_m.gguf2.89 GB
fastcontext-4b-rl_base-function-calling-xlam-unsloth.q6_k.gguf3.31 GB
fastcontext-4b-rl_base-function-calling-xlam-unsloth.q8_0.gguf4.28 GB

Usage

llama.cpp

bash
huggingface-cli download ermiaazarkhalili/FastContext-4B-RL_base-Function-Calling-xLAM-Unsloth-GGUF fastcontext-4b-rl_base-function-calling-xlam-unsloth.q4_k_m.gguf --local-dir .
llama-cli -m fastcontext-4b-rl_base-function-calling-xlam-unsloth.q4_k_m.gguf -p "Explain gradient checkpointing in two sentences." -n 256

Ollama

bash
echo 'FROM ./fastcontext-4b-rl_base-function-calling-xlam-unsloth.q4_k_m.gguf' > Modelfile
ollama create fastcontext-4b-rl_base-function-calling-xlam-unsloth-gguf -f Modelfile
ollama run fastcontext-4b-rl_base-function-calling-xlam-unsloth-gguf

Training configuration

SettingValue
LoRA rank (r)16
LoRA alpha16
Learning rate0.0002
Epochs1
Effective batch size8 (2 x 4 grad accum)
Max sequence length2048
Base precision4-bit (QLoRA)
Target modulesq_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 jobStepsFirst lossFinal loss
5322552594,2541.16310.8687
451691507,5000.67480.1439

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_fastcontext-4b-rl_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`.