Ankush Raj Devi
Work

Function calling for ALIA 40B

Led function calling for ALIA 40B from scratch: the training data, full fine-tuning on 32 H100 GPUs and the evaluation.

Barcelona Supercomputing Center

ALIA 40B is a multilingual model trained from scratch at the Barcelona Supercomputing Center. I led the work to give it function calling, starting from scratch.

I built the training data: multi-turn samples in Spanish generated from prompts and traces, plus open-source datasets that I adapted, filtered and distilled.

I ran full supervised fine-tuning of the 40B model on 32 H100 GPUs, first without reasoning and then with explicit reasoning before each call. Reasoning doubled the BFCL score, from 20% to 40%.

On the official BFCL tables, multi-turn accuracy went from 15.5% to 40.0%, multi-turn with a missing function from 2.0% to 22.0% and live parallel calls from 56.3% to 87.5%. Irrelevance detection went the other way, from 84.0% to 70.6%.

Results

BFCL by category, with and without reasoning, biggest gains first

  • With reasoning
  • Without reasoning

ALIA-40b-fc-2606 (reasoning) vs ALIA-40b-fc-2605 (no reasoning), from the official model cards.

Show data
With reasoningWithout reasoning
Live parallel87.556.3
Multi-turn base40.015.5
Multi-turn, missing function22.02.0
Multi-turn, long context25.57.0
Relevance detection93.881.3
Live simple84.574.8
Non-live parallel89.580.5
Multi-turn, missing parameter20.012.0
Non-live multiple92.094.5
Irrelevance detection70.684.0

Next project

All work