Article Complete

NexusRaven Outperforms GPT-4 for Zero-shot Function Calling

Built on top of Llama 2, leveraging CodeLlama-13B-instruct, NexusRaven-V2 is instruction-tuned and utilises curated data from Nexusflow's pipeline.

NexusRaven Outperforms GPT-4 for Zero-shot Function Calling

Key takeaways

  • NexusRaven-V2 outperforms GPT-4 in zero-shot function calling, showcasing superior capabilities in transforming natural language to executable code.
  • The model achieves a 7% higher success rate in complex function calling without prior training on specific functions.
  • Nexusflow.ai has established the Nexus-Function-Calling benchmark with a Hugging Face leaderboard featuring diverse, real-life function-calling examples.
  • Built on Llama 2 and leveraging CodeLlama-13B-instruct, NexusRaven-V2 is instruction-tuned and commercially permissive for community and enterprise use.
  • Open-source utility artefacts from Nexusflow.ai allow users to integrate NexusRaven-V2 into existing software workflows effectively.

Takeaways drafted with AI from the article text.

Nexusflow.ai, has recently launched NexusRaven-V2, a powerful 13-billion parameter LLM that outperforms GPT-4 in zero-shot function calling. The open source model showcases a remarkable capability to transform natural language instructions into executable code, facilitating the utilisation of software tools by copilots and agents.

NexusRaven-V2 demonstrates superiority over GPT-4 by achieving up to a 7% higher success rate in function calling in human-generated use cases involving nested and composite functions. Notably, NexusRaven-V2 accomplishes this without prior training on the specific functions used in the evaluation.

Check out the model on GitHub here, and on Hugging Face here.

Nexusflow.ai introduces the Nexus-Function-Calling benchmark, establishing a Hugging Face leaderboard. This includes a diverse collection of real-life human-curated function-calling examples, with eight out of the nine benchmarks open-sourced.

https://twitter.com/ClementDelangue/status/1732138699901809042

Built on top of Llama 2, leveraging CodeLlama-13B-instruct, NexusRaven-V2 is instruction-tuned and utilises curated data from Nexusflow's pipeline. The model is commercially permissive, encouraging both community developers and enterprises to explore its capabilities.

Nexusflow.ai provides open-source utility artefacts, enabling users to seamlessly replace mainstream proprietary function calling APIs with NexusRaven-V2 in their software workflows. Online demos and Colab notebooks are also available for onboarding and integration demonstrations.

NexusRaven-V2 showcases a 4% higher success rate in function calling on average compared to the latest GPT-4 model, as observed in a human-curated benchmark. In tasks involving nested and composite function calls, NexusRaven-V2 exhibits a significant 7% advantage over GPT-4, highlighting its robustness in handling variations in developers' descriptions of functions.

To ensure reproducibility and standardisation, Nexusflow.ai releases the benchmark and associated leaderboard along with model weights. The evaluation benchmark prioritises human-generated samples with meticulous checks on executability and encompasses a diverse representation of function calling use cases and difficulties.

Nexusflow.ai is also providing a Python package, "nexusraven," facilitating easy integration with copilots or agents. Developers can quickly ingest API function descriptions and send natural language queries to the model with a single line of code. The nexusraven package also supports converting function calling code to JSON format for seamless integration with downstream software.

Published

Corrections: AIM corrects errors of fact and notes the change on the story. Spotted one? Tell the editors. Read our editorial standards.

More in this story

5 stories
  1. You are here: NexusRaven Outperforms GPT-4 for Zero-shot Function Calling
  2. Google Launches Two New TPUs for Enterprise Agentic AI Workloads
  3. Qantas AI Jobs are Coming to India as Outsourcing Deal Affects 850 Roles
  4. Froncort.AI Gets $2.3M From Google.org to Expand AI-Based Disease Screening in India
  5. Google Launches Gemini 4 Hydrogen for Faster Coding and AI Workflows
About the author

Journalist

Mohit writes about AI in simple, explainable, and often funny words. He's especially passionate about chatting with those building AI for Bharat, with the occasional detour into AGI.

All stories
Belamy · Daily

The day’s AI news, before your first meeting.