Git Product home page Git Product logo

moa-paper's Introduction

Mixture-of-Agents Enhances Large Language Model Capabilities

Alt text Figure 1: Illustration of the Mixture-of-Agents Structure. This example showcases 4 MoA layers with 3 agents in each layer. The agents here can share the same model.

Table of Contents

  1. Introduction
  2. Key Features
  3. Installation
  4. Credits

Introduction

Mixture-of-Agents (MoA) is a novel approach to enhance the capabilities of Large Language Models (LLMs). By leveraging a structured ensemble of specialized agents, MoA improves performance across various tasks while maintaining efficiency and scalability.

This project is based on the research paper "Mixture-of-Agents: Enhancing Large Language Model Capabilities" by Yixuan Wang, Jiawei Han, and Chao Zhang.

Key Features

  • MoA aims to mitigate individual model deficiencies and enhance overall response quality through collaborative synthesis.
  • MoA models achieves state-of-art performance on AlpacaEval 2.0, MT-Bench and FLASK, surpassing GPT-4 Omni.
  • The Mixture-of-Agents method does not require any fine-tuning and only utilizes the interface of prompting and generation of LLMs.

Installation

  1. Clone the repository:
git clone https://github.com/marioyordanoff/moa-paper
cd moa-paper
  1. Install the required dependencies:
    pip install -r requirements.txt
    
  2. Set up your environment variables: Create a .env file in the root directory and add your Groq API key:
    GROQ_API_KEY=your_api_key_here
    
  3. Run the Streamlit app:
    streamlit run app.py
    

Credits

moa-paper's People

Contributors

marioyordanoff avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.