Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Face

About

Solving complicated AI tasks with different domains and modalities is a key step toward artificial general intelligence. While there are numerous AI models available for various domains and modalities, they cannot handle complicated AI tasks autonomously. Considering large language models (LLMs) have exhibited exceptional abilities in language understanding, generation, interaction, and reasoning, we advocate that LLMs could act as a controller to manage existing AI models to solve complicated AI tasks, with language serving as a generic interface to empower this. Based on this philosophy, we present HuggingGPT, an LLM-powered agent that leverages LLMs (e.g., ChatGPT) to connect various AI models in machine learning communities (e.g., Hugging Face) to solve AI tasks. Specifically, we use ChatGPT to conduct task planning when receiving a user request, select models according to their function descriptions available in Hugging Face, execute each subtask with the selected AI model, and summarize the response according to the execution results. By leveraging the strong language capability of ChatGPT and abundant AI models in Hugging Face, HuggingGPT can tackle a wide range of sophisticated AI tasks spanning different modalities and domains and achieve impressive results in language, vision, speech, and other challenging tasks, which paves a new way towards the realization of artificial general intelligence.

Yongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu, Yueting Zhuang• 2023

Related benchmarks

TaskDatasetResultRank
Visual Question AnsweringGQA (test-dev)
Accuracy46
178
Multimodal ReasoningM3CoT (test)
Total Acc14.6
31
Task PlanningTaskBench Daily Life
Node-F197.36
25
Task PlanningHugging Face
Node-F177.6
25
Task PlanningTaskBench Multimedia
Node F188.29
25
Task PlanningRestBench TMDB
Node F182.56
25
PlanningUltraTool (test)
n-F169.54
24
Graph Node Classification and Link PredictionDaily Life
n-F197.36
23
Graph Node Classification and Link PredictionMultimedia
n-F188.29
23
Graph Node Classification and Link PredictionHuggingFace
n-F177.6
23
Showing 10 of 29 rows

Other info

Code

Follow for update