JARVIS, a system to connect LLMs with ML community. Paper: https://arxiv.org/pdf/2303.17580.pdf
JARVIS is an innovative project aimed at advancing artificial general intelligence (AGI) through collaborative systems that integrate large language models (LLMs) with expert AI models. Its primary purpose is to facilitate complex AI task execution by enabling seamless interaction between users and a variety of AI models hosted on platforms like Hugging Face. Targeted at researchers, developers, and AI enthusiasts, JARVIS addresses the challenge of efficiently managing and executing diverse AI tasks through a structured, multi-stage workflow. The project is built using Python and leverages key technologies such as PyTorch, Hugging Face Transformers, and Gradio for user interface development.
conda create -n jarvis python=3.8
conda activate jarvis
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
pip install -r requirements.txt
openai.key
and huggingface.token
in server/configs/config.default.yaml
with your OpenAI API key and Hugging Face token, or set them as environment variables.cd models
bash download.sh
python models_server.py --config configs/config.default.yaml
python awesome_chat.py --config configs/config.default.yaml --mode server
/hugginggpt
, /tasks
, /results
) to interact with JARVIS.curl --location 'http://localhost:8004/tasks' \
--header 'Content-Type: application/json' \
--data '{"messages":[{"role":"user","content":"Generate an image based on /examples/d.jpg."}]}'
For more detailed instructions, refer to the official documentation.
JARVIS stands out as a comprehensive solution for leveraging AI in complex task automation, making it a valuable tool for developers and researchers in the AI domain.