A language model 'Gorilla' that appropriately calls more than 1600 APIs and greatly reduces 'hallucinations' associated with AI will be released
In recent years, interactive AI such as
Gorilla: Large Language Model Connected with Massive APIs
https://arxiv.org/abs/2305.15334
Gorilla
https://gorilla.cs.berkeley.edu/
GitHub - ShishirPatil/gorilla: Gorilla: An API store for LLMs
https://github.com/ShishirPatil/gorilla
???? Excited to release Gorilla???? Gorilla picks from 1000s of APIs to complete user tasks, surpassing even GPT-4! LLMs need to interact with the world through APIs, and Gorilla teaches LLMs APIs. Presenting Gorilla-Spotlight demo ????
—Shishir Patil (@shishirpatil_) May 25, 2023
Webpage: https://t.co/QZrtMaYKfa pic.twitter.com/h6aSeofcXu
Large-scale language models have made remarkable progress in recent years, demonstrating their excellent capabilities in various tasks such as writing programming code and accurately summarizing long sentences. AI can also call and use external APIs, but it has been difficult for AI to select the appropriate one from a huge number of APIs and use it effectively.
``This is a difficult task even for state-of-the-art large-scale language models like GPT-4 . There is a tendency to 'hallucinate',' he points out.
Therefore, the research team used `` Gorilla '', a model based on `` LLaMA (Large Language Model Meta AI) '' developed by Meta, which was adjusted to exceed the performance of GPT-4 in describing API calls. Released. Gorilla has a search function that selects appropriate APIs from a large number of files, calls semantically and syntactically correct APIs from natural language queries, and is flexible to API documentation updates and version changes. It is said that it can correspond to. Gorilla also seems to have greatly reduced the hallucinations that occur when outputting prompts directly to a large language model.
Gorilla's API database contains a total of 1645 APIs: 94 from Torch Hub , 626 from TensorFlow Hub v2 , and 925 from Hugging Face . Gorilla was trained based on these.
Gorilla selects an appropriate API from the API database in response to a request made in natural language such as 'I want to see some cats dancing in celebration!' possible. As a result, it is possible to appropriately output an image of a cat dancing in celebration.
The following image is for GPT-4,
Gorilla is an end-to-end model, adjusted to call the correct API without the need for additional coding, and can be used in combination with other tools such as Langchain ,Toolformer , and AutoGPT . the research team said.
According to Shishir Patil of the research team, Gorilla is built to be 'an app store for large language model APIs', and people can also add APIs to Gorilla.
+ We are building Gorilla to be an LLM API appstore - you can add your APIs to Gorilla!
—Shishir Patil (@shishirpatil_) May 25, 2023
+ Github: https://t.co/mvZWjFQ1x7
+ Join our Discord to stay in the loop!
+ Gorilla-Spotlight sign-up: https://t.co/rvmk13Mhrx
+ Fun collaboration with @tianjun_zhang , @xinw_ai and @mejoeyg
Related Posts:
in Software, Posted by log1h_ik