Giter Site home page Giter Site logo

auto_llm_codebase_analysis's Introduction

Automate Massive Codebase Analysis with Language Model

Chimp

Ever had to go over all the codebase and analyze everything one-by-one? Ever wanted to "read over all of it really fast" and get "high level picture" per folder? This short tiny codebase does exactly that, hope to make your codebase-analysis time shorter.

This will recursively generate...

  • High-level summary of the codebase
  • Highlights of the codebase
  • Pythonic Pseudocode
  • Import Relationships

Installation & Use

Install sglang and run server.

pip install sglang
python -m sglang.launch_server --model-path "Qwen/Qwen1.5-72B-Chat" --tp 4 --port 8080

Run it via

convert.py CODEBASE_DIR OUTPUT_DIR --port 8080

Example Output:

The following is example output from analysis of DeepSpeed codebase.

auto_llm_codebase_analysis's People

Contributors

cloneofsimo avatar

Stargazers

Olivier Guntern avatar Junghw Park avatar David Marx avatar Daniel avatar 佐毅 avatar Peter Baylies avatar  avatar  avatar Vincent avatar Oliver Wei avatar  avatar Sangmin Ahn avatar Jodh Singh avatar codingchild avatar 青龍聖者@bdsqlsz avatar Jae Hyung Ju avatar Ari avatar Hyunjong avatar  avatar Shyam Sudhakaran avatar Vinh Tran avatar fri tol avatar Sasi Kiran Malladi avatar Seunghyun SEO avatar  avatar

Watchers

 avatar  avatar

Forkers

gijigae

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.