Article complete

Gorilla Out Performs GPT-4 in Making API Calls

Gorilla truly stands out by significantly reducing hallucinations and incorrect syntax when interacting with over 1,600 APIs

A cartoon gorilla holding tools with the word "GORILLA" displayed beneath it.

Key takeaways

  • Gorilla is a groundbreaking language model that enhances accuracy in API interactions using natural language queries.
  • It significantly reduces hallucinations and incorrect syntax compared to previous models like GPT-4.
  • Gorilla is open-source and compatible with commercial use, making it accessible for developers' projects.
  • The project includes APIBench, a comprehensive library that supports training and enhances Gorilla's API capabilities.
  • Gorilla's development encourages collaboration, inviting API developers to contribute to its expanding API store.

Takeaways drafted with AI from the article text.

The AI community is abuzz with the launch of Gorilla, a revolutionary language model that brings an unprecedented level of accuracy and functionality to invoking APIs using natural language queries. 

Gorilla is an open-source project, licensed under Apache 2.0, and is the result of extensive fine-tuning on Falcon and MPT created by Shishir Patil who is currently a Phd Student in ML systems at UC Berkeley. 

https://twitter.com/shishirpatil_/status/1661780076277678082

Unlike its predecessors, including the highly acclaimed GPT-4, Gorilla truly stands out by significantly reducing hallucinations and incorrect syntax when interacting with over 1,600 APIs and counting. This achievement is made possible by Gorilla's capability to parse the Abstract Syntax Tree (AST) when writing code, resulting in semantically and syntactically correct API invocations.

One of the key features that make Gorilla exceptional is its compatibility with commercial use, allowing developers to incorporate it into their projects without any obligations. It's available for use in various environments, including Google Colab and Command Line Interface (CLI) through pip installation of "gorilla-cli."

APIBench, a meticulously curated collection of APIs, accompanies Gorilla. This extensive library facilitates easy training and expands the available resources for Gorilla to call upon. Furthermore, the project actively encourages API developers to join the cause and contribute their APIs for inclusion in the ever-growing API store.

For developers and language model enthusiasts, Gorilla represents a remarkable advancement in leveraging large language models for practical purposes. With its capabilities surpassing even the highly-touted GPT-4, Gorilla has emerged as a game-changer in the domain of API integration and usage.

GitHub Repository: https://github.com/ShishirPatil/gorilla

Read the Paper: arXiv

Published

Spotted an error? Tell our editors. Read our editorial standards and corrections.

Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign

About the author

Senior Technology Journalist

Siddharth is a media graduate who loves to explore tech through journalism and putting forward ideas worth pondering about in the era of artificial intelligence.

All stories
Belamy · Daily

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