CoolFace
Modelpublic

ermiaazarkhalili/Qwen3.5-0.8B-Function-Calling-xLAM

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes44downloads
Model Card

Qwen3.5-0.8B-Function-Calling-xLAM

A LoRA fine-tune of `Qwen/Qwen3.5-0.8B`.

Base model`Qwen/Qwen3.5-0.8B`
ArchitectureQwen3_5ForCausalLM
Parameters752M
MethodLoRA supervised fine-tuning via Unsloth + TRL
Licenseapache-2.0 (inherited from the base model)

Usage

python
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "ermiaazarkhalili/Qwen3.5-0.8B-Function-Calling-xLAM"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype='auto', device_map='auto')

messages = [{"role": "user", "content": "Explain gradient checkpointing in two sentences."}]
inputs = tokenizer.apply_chat_template(
    messages, add_generation_prompt=True, return_tensors='pt'
).to(model.device)

outputs = model.generate(inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Training configuration

SettingValue
LoRA rank (r)16
LoRA alpha32
Learning rate0.0001
Epochs1
Effective batch size8 (2 x 4 grad accum)
Base precision4-bit (QLoRA)

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_qwen3.5-0.8b.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`.