Gorilla: Large Language Model Connected with Massive APIs

By Shishir G. Patil, Tianjun Zhang (Project Website)

πŸ“£ This Gorilla model is fine-tuned on MPT-7B and is Apache 2.0 licensed. You can use it commercially without any obligations! 🀩

arXiv Discord Colab

Gorilla enables LLMs to use tools by invoking APIs. Given a natural language query, Gorilla can write a semantically- and syntactically- correct API to invoke. With Gorilla, we are the first to demonstrate how to use LLMs to invoke 1,600+ (and growing) API calls accurately while reducing hallucination. We also release APIBench, the largest collection of APIs, curated and easy to be trained on! Join us, as we try to expand the largest API store and teach LLMs how to write them! Hop on our Discord, or open a PR, or email us if you would like to have your API incorporated as well.

Model Details

Gorilla can be either trained via standard finetuning or using our novel retriever-aware training pipeline. We release gorilla-mpt-7b-hf-v0, a 0-shot finetuned LLM that can reliably use Hugging Face APIs. It can be prompted through simply natural language (e.g., "I want to generate an image from text."). Checkour our website, github and paper for more information.

Model Type

Gorilla is an open-source API caller trained by fine-tuning MPT weights. It is an auto-regressive language model, based on the transformer architecture.

Model Date

06/06/2023

Organization

Gorilla LLM (UC Berkeley)


license: apache-2.0

Downloads last month
23
Inference Examples
Inference API (serverless) does not yet support model repos that contain custom code.

Dataset used to train gorilla-llm/gorilla-mpt-7b-hf-v0

Spaces using gorilla-llm/gorilla-mpt-7b-hf-v0 2

Collection including gorilla-llm/gorilla-mpt-7b-hf-v0