GithubHelp home page GithubHelp logo

vidhyavarshanyjs / ensemblex Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 135 KB

EnsembleX utilizes the Knapsack algorithm to optimize Large Language Model (LLM) ensembles for quality-cost trade-offs, offering tailored suggestions across various domains through a Streamlit dashboard visualization.

Home Page: https://ensemblex.streamlit.app

License: MIT License

Python 89.53% CSS 10.47%
benchmark huggingface knapsack large-language-models llm llm-evaluation python streamlit open-llm-leaderboard

ensemblex's Introduction

project-image

EnsembleX

GitHub license GitHub release GitHub issues

A dynamic Language Model (LLM) ensemble selection application that leverages the Knapsack algorithm to optimize model selection across various domains. By integrating real-time web interaction with the Streamlit framework, users can receive cost optimization suggestions tailored to each selected model based on their dataset inputs.

๐Ÿ“ Project Description

EnsembleX collects diverse domain LLM performance datasets from the open-ll-leaderboard API provided by Hugging Face. It then processes and manipulates the data, applies the Knapsack algorithm for model selection optimization, and visualizes the results using Streamlit. The core objective of EnsembleX is to empower users with a data-driven approach to selecting LLM ensembles that balance performance quality and cost efficiency.

๐Ÿš€ Demo

EnsembleX.Demo.Video.mp4

โฌ†๏ธ Project Workflow

architechture

  1. Data Collection: Diverse domain LLM performance datasets are collected from the open-llm-leaderboard API.
  2. Data Manipulation: The collected data is processed and manipulated to prepare it for model selection optimization.
  3. Knapsack Algorithm: The Knapsack algorithm is applied to optimize model selection within a constrained framework.
  4. Real-time Web Application: Integration of a real-time web application using the Streamlit framework enables user interaction and visualization of the optimized model selection results.
  5. Cost Optimization Suggestions: Individualized cost optimization suggestions for each selected model are provided based on user-provided dataset inputs.

๐Ÿง Features

  • Dynamic LLM ensemble selection
  • Knapsack algorithm for quality-cost optimization
  • Real-time cost optimization suggestions
  • Data-driven model selection process

๐Ÿ’ป Built with

  • Python
  • Streamlit
  • Pandas
  • NumPy
  • Hugging Face API
  • Plotly
  • Gradio
  • YData Profiling

๐Ÿ› ๏ธ Installation Steps:

  1. Clone the repository: git clone https://github.com/yourusername/yourproject.git
  2. Install requirements: pip install -r requirements.txt
  3. Run the app: streamlit run app.py

๐Ÿ›ก๏ธ License

This project is licensed under the MIT License - see the LICENSE file for details.

Reference

ensemblex's People

Contributors

vidhyavarshanyjs avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sorokinvld

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.