---
title: "Granite-Function Calling Model — paper by Abdelaziz et al. (2024)"
description: "The paper introduces Granite-20B-FunctionCalling, a specialized system obtained by further training Granite-20B-Code-Instruct."
canonical: "https://research.elamur.ai/free/en/papers/abdelaziz-2024-granite-function-calling-model-introducing/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/abdelaziz-2024-granite-function-calling-model-introducing/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks

# Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks

Paper · 2024 · Ibrahim Abdelaziz, Kinjal Basu, Mayank Agarwal et al.

**Authors:** [Ibrahim Abdelaziz](https://md.research.elamur.ai/free/en/authors/ibrahim-abdelaziz/), [Kinjal Basu](https://md.research.elamur.ai/free/en/authors/kinjal-basu/), [Mayank Agarwal](https://md.research.elamur.ai/free/en/authors/mayank-agarwal/), [Sadhana Kumaravel](https://md.research.elamur.ai/free/en/authors/sadhana-kumaravel/), [Matthew Stallone](https://md.research.elamur.ai/free/en/authors/matt-stallone/), [Rameswar Panda](https://md.research.elamur.ai/free/en/authors/rameswar-panda/), [Yara Rizk](https://md.research.elamur.ai/free/en/authors/yara-rizk/), [G P Shrivatsa Bhargav](https://md.research.elamur.ai/free/en/authors/g-p-shrivatsa-bhargav/), [Maxwell Crouse](https://md.research.elamur.ai/free/en/authors/maxwell-crouse/), [Chulaka Gunasekara](https://md.research.elamur.ai/free/en/authors/chulaka-gunasekara/), [Shajith Ikbal](https://md.research.elamur.ai/free/en/authors/shajith-ikbal/), [Sachindra Joshi](https://md.research.elamur.ai/free/en/authors/sachindra-joshi/), [Hima Karanam](https://md.research.elamur.ai/free/en/authors/hima-karanam/), [Vineet Kumar](https://md.research.elamur.ai/free/en/authors/vineet-kumar/), [Asim Munawar](https://md.research.elamur.ai/free/en/authors/asim-munawar/), [Sumit Neelam](https://md.research.elamur.ai/free/en/authors/sumit-neelam/), [Dinesh Raghu](https://md.research.elamur.ai/free/en/authors/dinesh-raghu/), [Udit Sharma](https://md.research.elamur.ai/free/en/authors/udit-sharma/), [Adriana Meza Soria](https://md.research.elamur.ai/free/en/authors/adriana-meza-soria/), Dheeraj Sreedhar, [Praveen Venkateswaran](https://md.research.elamur.ai/free/en/authors/praveen-venkateswaran/), Merve Unuvar, David Daniel Cox, [Salim Roukos](https://md.research.elamur.ai/free/en/authors/salim-roukos/), [Luis A. Lastras](https://md.research.elamur.ai/free/en/authors/luis-lastras/) and [Pavan Kapanipathi](https://md.research.elamur.ai/free/en/authors/pavan-kapanipathi/) · **Year:** 2024 · **Venue:** Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2024.emnlp-industry.85/)
- [PDF](https://aclanthology.org/2024.emnlp-industry.85.pdf)
- [DOI 10.18653/v1/2024.emnlp-industry.85](https://doi.org/10.18653/v1/2024.emnlp-industry.85)

## Summary

A system that can explain a task in fluent language may still struggle to carry it out. To use an external service, it must select an available operation, supply the right arguments, and sometimes arrange several operations in a meaningful order. Granite-Function Calling addresses this gap by treating tool use as a collection of related abilities that can be taught separately. The paper introduces Granite-20B-FunctionCalling, a specialized system obtained by further training Granite-20B-Code-Instruct. Its central proposal is to teach the components of function calling alongside complete calls, instead of relying exclusively on examples of the finished behavior.

The authors organize training around seven tasks. Some isolate a small decision: choosing the next function, identifying the functions needed for a request, or extracting parameter values. Others require more complete behavior, including nested calls, ordered chains, and repeated calls to the same function. A response-generation task preserves the ability to communicate with the user, ask for clarification, and express tool results in ordinary language. The training examples come mainly from API-Blend, supplemented by Glaive-V2. The authors convert these resources into a shared format and reuse their underlying examples under different instructions. The final training mixture contains 142K examples.

The evaluation asks whether this combination transfers beyond the training resources. On the Berkeley Function Calling Leaderboard, or BFCL, Granite obtains overall accuracy of 84.71, tying Gorilla-OpenFunctions-v2 and placing fourth in the reported ranking dated 06/25/2024. Its execution summary is 86.50, while its relevance score is 87.08. The latter measures whether a system avoids making a call when the available functions cannot answer the request. On separate function-name and sequencing evaluations, Granite records average function-matching F1 of 0.74, longest-common-subsequence score of 0.73, and exact score of 0.43. These results support the authors’ emphasis on learning component skills that remain useful outside the training domains.

The picture becomes more mixed when evaluation requires arguments as well as function names. Granite’s average function-name F1 is 0.87, compared with 0.88 for C4AI-Command-R-v01; its average argument F1 is 0.59, compared with 0.62 for that system. On API-Bank response generation, Meta-Llama-3-70B-Instruct generally leads, with Granite close behind. Granite therefore performs strongly across several kinds of tool-related behavior without winning every comparison. The contribution is a practical training design and a broad evaluation of its resulting system. The paper does not establish through ablation that each auxiliary task is necessary, nor does it show that benchmark success amounts to reliable autonomous operation in an unrestricted environment.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

## Cite

Cite as Ibrahim Abdelaziz, Kinjal Basu, Mayank Agarwal, Sadhana Kumaravel, Matthew Stallone, Rameswar Panda, Yara Rizk, G P Shrivatsa Bhargav, Maxwell Crouse, Chulaka Gunasekara, Shajith Ikbal, Sachindra Joshi, Hima Karanam, Vineet Kumar, Asim Munawar, Sumit Neelam, Dinesh Raghu, Udit Sharma, Adriana Meza Soria, Dheeraj Sreedhar, Praveen Venkateswaran, Merve Unuvar, David Daniel Cox, Salim Roukos, Luis A. Lastras and Pavan Kapanipathi. 2024. Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2024.emnlp-industry.85](https://doi.org/10.18653/v1/2024.emnlp-industry.85)

```bibtex
@inproceedings{abdelaziz2024granite,
  title = {{Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks}},
  author = {Ibrahim Abdelaziz, Kinjal Basu, Mayank Agarwal, Sadhana Kumaravel, Matthew Stallone, Rameswar Panda, Yara Rizk, G P Shrivatsa Bhargav, Maxwell Crouse, Chulaka Gunasekara, Shajith Ikbal, Sachindra Joshi, Hima Karanam, Vineet Kumar, Asim Munawar, Sumit Neelam, Dinesh Raghu, Udit Sharma, Adriana Meza Soria, Dheeraj Sreedhar, Praveen Venkateswaran, Merve Unuvar, David Daniel Cox, Salim Roukos, Luis A. Lastras and Pavan Kapanipathi},
  booktitle = {Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-industry.85},
  url = {https://doi.org/10.18653/v1/2024.emnlp-industry.85}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
