News Report Technology
June 08, 2023

Gorilla: Remodeling LLMs to Accurately Invoke Massive API Integration and Reduce Hallucination

In Brief

Gorilla is a LLM connected with an extensive range of APIs that outperforms GPT-4 in generating accurate API calls.

Gorilla enables LLMs to accurately determine the appropriate API call based on natural language queries, reducing hallucination and improving overall performance.

LLMs have advanced significantly, but their inability to access real-time data and use third-party tools efficiently has prevented them from realizing their full potential. A remedy has been found to deal with this problem: The way that models communicate with outside resources is through Gorilla, a sizable language model coupled with a wide range of APIs.

Gorilla: Remodeling LLMs to Accurately Invoke Massive API Integration and Reduce Hallucination
Credit: Metaverse Post (mpost.io)

A team of researchers successfully integrated over 1600 APIs into the LLaMa-7B model, surpassing the performance of even GPT-4 and Claude AI in terms of the quality of API calls. Open-source projects have been at the forefront of this advancement, paving the way for greater accessibility and collaboration.

The primary focus lies in the seamless integration of neural networks with popular platforms such as Torch Hub, HuggingFace, and Tensorflow Hub. The objective is simple: given a natural language query, Gorilla determines the most appropriate API call to make. This capability opens up a realm of possibilities, allowing for the development of smart pipelines where different models are invoked based on user requests.

LLMs have demonstrated exceptional progress in various tasks, including mathematical reasoning and program synthesis. Their ability to effectively utilize tools through API calls has remained underutilized. Gorilla aims to bridge this gap, offering a finely-tuned LLaMA-based model that outperforms GPT-4 in generating accurate API calls.

Gorilla: Remodeling LLMs to Accurately Invoke Massive API Integration and Reduce Hallucination

The significant advantage of Gorilla is its integration with a document retriever, enabling the model to adapt to real-time document changes. This flexibility allows for seamless updates or version changes, ensuring reliable and up-to-date outputs. Gorilla reduces the issue of hallucination, a common challenge faced when directly prompting LLMs.

To evaluate Gorilla’s capabilities, the researchers introduce APIBench, a comprehensive dataset comprising HuggingFace, TorchHub, and TensorHub APIs. The successful integration of the retrieval system with Gorilla showcases the potential for LLMs to utilize tools more accurately, keeping pace with frequently updated documentation and enhancing the reliability and applicability of their outputs.

Gorilla: Remodeling LLMs to Accurately Invoke Massive API Integration and Reduce Hallucination

Gorilla marks a significant milestone in the evolution of LLMs, empowering them to invoke APIs with precision. With the ability to accurately determine the appropriate API call based on natural language queries, Gorilla sets a new standard for reducing hallucination and improving overall performance. The researchers have also released APIBench, the largest curated collection of APIs, providing a valuable resource for training and development.

The team behind Gorilla invites collaboration, aiming to expand the largest API store and continue teaching LLMs how to effectively interact with APIs. Whether through joining their Discord community, opening a PR, or reaching out via email, developers and API creators are encouraged to participate in this endeavour.

Read more about AI:

Disclaimer

In line with the Trust Project guidelines, please note that the information provided on this page is not intended to be and should not be interpreted as legal, tax, investment, financial, or any other form of advice. It is important to only invest what you can afford to lose and to seek independent financial advice if you have any doubts. For further information, we suggest referring to the terms and conditions as well as the help and support pages provided by the issuer or advertiser. MetaversePost is committed to accurate, unbiased reporting, but market conditions are subject to change without notice.

About The Author

Damir is the team leader, product manager, and editor at Metaverse Post, covering topics such as AI/ML, AGI, LLMs, Metaverse, and Web3-related fields. His articles attract a massive audience of over a million users every month. He appears to be an expert with 10 years of experience in SEO and digital marketing. Damir has been mentioned in Mashable, Wired, Cointelegraph, The New Yorker, Inside.com, Entrepreneur, BeInCrypto, and other publications. He travels between the UAE, Turkey, Russia, and the CIS as a digital nomad. Damir earned a bachelor's degree in physics, which he believes has given him the critical thinking skills needed to be successful in the ever-changing landscape of the internet. 

More articles
Damir Yalalov
Damir Yalalov

Damir is the team leader, product manager, and editor at Metaverse Post, covering topics such as AI/ML, AGI, LLMs, Metaverse, and Web3-related fields. His articles attract a massive audience of over a million users every month. He appears to be an expert with 10 years of experience in SEO and digital marketing. Damir has been mentioned in Mashable, Wired, Cointelegraph, The New Yorker, Inside.com, Entrepreneur, BeInCrypto, and other publications. He travels between the UAE, Turkey, Russia, and the CIS as a digital nomad. Damir earned a bachelor's degree in physics, which he believes has given him the critical thinking skills needed to be successful in the ever-changing landscape of the internet. 

Hot Stories
Join Our Newsletter.
Latest News

Is Europe’s Banking System Ready For Stablecoins? I Went To Barcelona To Find Out

At EBC Barcelona, banks said euro stablecoins await custody and capital rules — while payment firms and ...

Know More

Shufti, Jumio, Sumsub, And Beyond: Top 6 Identity Verification And Compliance Platforms To Know In 2026

Shufti, Sumsub, Incode, Veriff, Persona and Jumio compared on compliance lifecycle coverage, pricing transparency and fraud detection ...

Know More
Read More
Read more
Gate Update: From Crypto Exchange to Financial Super-App, What This Week’s Data and Launches Show
Digest News Report Technology
Gate Update: From Crypto Exchange to Financial Super-App, What This Week’s Data and Launches Show
October 14, 2026
Crypto Has An App Problem. Wallets Are Trying To Solve It
Crypto Wiki Technology
Crypto Has An App Problem. Wallets Are Trying To Solve It
October 14, 2026
Bybit Expands Beyond Crypto: Ben Zhou Outlines Next Phase Of Financial Platform Focused On Trading, Payments And AI
News Report Technology
Bybit Expands Beyond Crypto: Ben Zhou Outlines Next Phase Of Financial Platform Focused On Trading, Payments And AI
October 14, 2026
Which Technology Lets A Bank Issue Its Own Stablecoin Or Tokenized Deposit? 
Crypto Wiki Technology
Which Technology Lets A Bank Issue Its Own Stablecoin Or Tokenized Deposit? 
October 14, 2026