Giter Club home page Giter Club logo

tabllm-copilot's Introduction

TabLLM-Copilot

Description

  Powered by LLM, TabLLM-Copilot is able to automatically identify forms and generate corresponding data analysis and trend predictions based on users' questions, which helps you gain valuable insights from your data with ease.

Demonstration

  You can easily and directly experience the project demo online on HuggingFace now. Click here for Online Experience 👉 Lesion-Cells DET - a Hugging Face Space by Tsumugii (just for placeholding right now)

ToDo

  • Complete the Gradio Interface for multi-input and multi-output of the first OCR processing stage
  • Add Dr. Yue Wu's brief introduction
  • Add a gif demonstration
  • Deploy the demo on HuggingFace
  • Finish the LLMs interface and prompt design
  • Finetune OpenSource models for more powerful data analysis
  • Try multimodal LLM such as LLava, GPT-4-turbo

Quick Start

Installation

  First of all, please make sure that you have already installed conda as Python runtime environment. And miniconda is strongly recommended.

  1. create a virtual conda environment for the demo 😆

$ conda create -n table python==3.10 # table is the name of your environment
$ conda activate table

  2. Install essential requirements by run the following command in the CLI 😊

$ git clone https://github.com/Tsumugii24/TabLLM-Copilot
$ cd TabLLM-Copilot
$ pip install -r requirements.txt

Preparation

  1. open .env.example and fill your own api keys in the corresponding place if you want to use certain LLM, then rename the file to .env

# 智谱AI https://open.bigmodel.cn/usercenter/apikeys
ZHIPU_API_KEY = 

# 阿里灵积平台 https://dashscope.console.aliyun.com/apiKey
DASHSCOPE_API_KEY = 

# 讯飞星火 https://console.xfyun.cn/services/bm35
SPARKCHAT_APPID = 
SPARKCHAT_APISECRET = 
SPARKCHAT_APIKEY = 

# 百度千帆 https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application
BAIDU_API_KEY = 
BAIDU_SECRET_KEY = 
BAIDU_ACCESS_TOKEN = 

# OpenAI https://platform.openai.com/api-keys
OPENAI_API_KEY = 

# Anthropic https://www.anthropic.com/api
CLAUDE_API_KEY = 

  2. Open Source LLM

  • planning to support ChatGLM, Baichuan, Qwen, LLama, InterLM... Coming soon~😄

Run

References

  1. Gradio
  2. PaddleOCR

Acknowledgements

  I would like to express my sincere gratitude to Dr. Yue Wu for his invaluable guidance and supports throughout the development of this project. His expertise and insightful feedback played a crucial role in shaping the direction of the project.

image-20240318220801230

Dr. Yue Wu's Google Scholar Homepage

Contact

Feel free to open GitHub issues or directly send me a mail if you have any questions about the project. 👻

tabllm-copilot's People

Contributors

tsumugii24 avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

tttanger mckrispy

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.