Awesome-LLM
Awesome-LLM: a curated list of Large Language Model
https://github.com/Hannibal046/Awesome-LLM
Last synced: 1 day ago
JSON representation
Great thoughts about LLM
- Scaling, emergence, and reasoning in large language models
- How does GPT Obtain its Ability? Tracing Emergent Abilities of Language Models to their Sources
- Why did all of the public reproduction of GPT-3 fail?
- A Stage Review of Instruction Tuning
- LLM Powered Autonomous Agents
- Why you should work on AI AGENTS!
- AI competition statement
- Prompt Engineering
- Noam Chomsky: The False Promise of ChatGPT
- Open Pretrained Transformers
LLM Applications
- PromptPerfect - A paid product for testing and improving prompts.
- OneKE - A bilingual Chinese-English knowledge extraction model with knowledge graphs and natural language processing technologies.
- Wallaroo.AI - Deploy, manage, optimize any model at scale across any environment from cloud to edge. Let's you go from python notebook to inferencing in minutes.
- Langfuse - Open Source LLM Engineering Platform 🪢 Tracing, Evaluations, Prompt Management, Evaluations and Playground.
- MindSQL - A python package for Txt-to-SQL with self hosting functionalities and RESTful APIs compatible with proprietary as well as open source LLM.
- QA-Pilot - An interactive chat project that leverages Ollama/OpenAI/MistralAI LLMs for rapid understanding and navigation of GitHub code repository or compressed file resources.
- Shell-Pilot - Interact with LLM using Ollama models(or openAI, mistralAI)via pure shell scripts on your Linux(or MacOS) system, enhancing intelligent system management without any dependencies.
- Swiss Army Llama - Comprehensive set of tools for working with local LLMs for various tasks.
- magentic - Seamlessly integrate LLMs as Python functions
- wechat-chatgpt - Use ChatGPT On Wechat via wechaty
- Agenta - Easily build, version, evaluate and deploy your LLM-powered apps.
- Serge - a chat interface crafted with llama.cpp for running Alpaca models. No API keys, entirely self-hosted!
- Langroid - Harness LLMs with Multi-Agent Programming
- IntelliServer - simplifies the evaluation of LLMs by providing a unified microservice to access and test multiple AI models.
- Langchain-Chatchat - Formerly langchain-ChatGLM, local knowledge based LLM (like ChatGLM) QA app with langchain.
- Search with Lepton - Build your own conversational search engine using less than 500 lines of code by LeptonAI.
- Robocorp - Create, deploy and operate Actions using Python anywhere to enhance your AI agents and assistants. Batteries included with an extensive set of libraries, helpers and logging.
- LLocalSearch - Locally running websearch using LLM chains
- AI Gateway - Gateway streamlines requests to 100+ open & closed source models with a unified API. It is also production-ready with support for caching, fallbacks, retries, timeouts, loadbalancing, and can be edge-deployed for minimum latency.
- talkd.ai dialog - Simple API for deploying any RAG or LLM that you want adding plugins.
- Wllama - WebAssembly binding for llama.cpp - Enabling in-browser LLM inference
- AdalFlow - AdalFlow: The library to build&auto-optimize LLM applications.
- dspy - DSPy: The framework for programming—not prompting—foundation models.
- Evidently - An open-source framework to evaluate, test and monitor ML and LLM-powered systems.
- Semantic Kernel - A Python/C#/Java library from Microsoft that supports prompt templating, function chaining, vectorized memory, and intelligent planning.
- Prompttools - Open-source Python tools for testing and evaluating models, vector DBs, and prompts.
- Promptify - A small Python library for using language models to perform NLP tasks.
- OpenAI Evals - An open-source library for evaluating task performance of language models and prompts.
- Dify - An open-source LLM app development platform with an intuitive interface that streamlines AI workflows, model management, and production deployment.
- LazyLLM - An open-source LLM app for building multi-agent LLMs applications in an easy and lazy way, supports model deployment and fine-tuning.
- MemFree - Open Source Hybrid AI Search Engine, Instantly Get Accurate Answers from the Internet, Bookmarks, Notes, and Docs. Support One-Click Deployment
- GPUStack - An open-source GPU cluster manager for running LLMs
- Opik - Confidently evaluate, test, and ship LLM applications with a suite of observability tools to calibrate language model outputs across your dev and production lifecycle.
- LangChain - A popular Python/JavaScript library for chaining sequences of language model prompts.
- LlamaIndex - A Python library for augmenting LLM apps with data.
- MLflow - MLflow: An open-source framework for the end-to-end machine learning lifecycle, helping developers track experiments, evaluate models/prompts, deploy models, and add observability with tracing.
- Embedchain - Framework to create ChatGPT like bots over your dataset.
- Tune Studio - Playground for devs to finetune & deploy LLMs
- MNN-LLM - -- A Device-Inference framework, including LLM Inference on device(Mobile Phone/PC/IOT)
- CAMEL - First LLM Multi-agent framework.
- Guidance - A handy looking Python library from Microsoft that uses Handlebars templating to interleave generation, prompting, and logical control.
- Chainlit - A Python library for making chatbot interfaces.
- Outlines - A Python library that provides a domain-specific language to simplify prompting and constrain generation.
- Weights & Biases - A paid product for tracking model training and prompt engineering experiments.
- AutoRAG - Open source AutoML tool for RAG. Optimize the RAG answer quality automatically. From generation evaluation datset to deploying optimized RAG pipeline.
- Epsilla - An all-in-one LLM Agent platform with your private data and knowledge, delivers your production-ready AI Agents on Day 1.
- Just-Chat - Make your LLM agent and chat with it simple and fast!
- Agentic Radar - Open-source CLI security scanner for agentic workflows. Scans your workflow’s source code, detects vulnerabilities, and generates an interactive visualization along with a detailed security report. Supports LangGraph, CrewAI, n8n, OpenAI Agents, and more.
- LangWatch - Open-source LLM observability, prompt evaulation, and prompt optimzation platform.
- TensorZero - TensorZero is an open-source framework for building production-grade LLM applications. It unifies an LLM gateway, observability, optimization, evaluations, and experimentation.
- LiteChain - Lightweight alternative to LangChain for composing LLMs
- Guardrails.ai - A Python library for validating outputs and retrying failures. Still in alpha, so expect sharp edges and bugs.
- LMQL - A programming language for LLM interaction with support for typed prompting, control flow, constraints, and tools.
- ModelFusion - A TypeScript library for building apps with LLMs and other ML models (speech-to-text, text-to-speech, image generation).
- Wordware - A web-hosted IDE where non-technical domain experts work with AI Engineers to build task-specific AI agents. We approach prompting as a new programming language rather than low/no-code blocks.
- Arize-Phoenix - Open-source tool for ML observability that runs in your notebook environment. Monitor and fine tune LLM, CV and Tabular Models.
LLM Books
- Build a Large Language Model (From Scratch) - A guide to building your own working LLM.
- BUILD GPT: HOW AI WORKS - explains how to code a Generative Pre-trained Transformer, or GPT, from scratch.
- Generative AI with LangChain: Build large language model (LLM) apps with Python, ChatGPT, and other LLMs - it comes with a GitHub repository that showcases a lot of the functionality
- Hands-On Large Language Models: Language Understanding and Generation - Explore the world of Large Language Models with over 275 custom made figures in this illustrated guide!
- The Chinese Book for Large Language Models - An Introductory LLM Textbook Based on A Survey of Large Language Models.
LLM Data
- Datatrove - Freeing data processing from scripting madness by providing a set of platform-agnostic customizable pipeline processing blocks.
- Dingo - Dingo: A Comprehensive Data Quality Evaluation Tool
- FastDatasets - A powerful tool for creating high-quality training datasets for Large Language Models
- IBM data-prep-kit - Open-Source Toolkit for Efficient Unstructured Data Processing with Pre-built Modules and Local to Cluster Scalability.
LLM Evaluation:
- LangSmith - a unified platform from LangChain framework for: evaluation, collaboration HITL (Human In The Loop), logging and monitoring LLM applications.
- lm-evaluation-harness - A framework for few-shot evaluation of language models.
- lighteval - a lightweight LLM evaluation suite that Hugging Face has been using internally.
- OLMO-eval - a repository for evaluating open language models.
- instruct-eval - This repository contains code to quantitatively evaluate instruction-tuned models such as Alpaca and Flan-T5 on held-out tasks.
- simple-evals - Eval tools by OpenAI.
- Giskard - Testing & evaluation library for LLM applications, in particular RAGs
- Ragas - a framework that helps you evaluate your Retrieval Augmented Generation (RAG) pipelines.
- HELM - Holistic Evaluation of Language Models (HELM), a framework to increase the transparency of language models.
LLM Inference
- Haystack - an open-source NLP framework that allows you to use LLMs and transformer-based models from Hugging Face, OpenAI and Cohere to interact with your own data.
- TGI - a toolkit for deploying and serving Large Language Models (LLMs).
- vLLM - A high-throughput and memory-efficient inference and serving engine for LLMs.
- exllama - A more memory-efficient rewrite of the HF transformers implementation of Llama for use with quantized weights.
- ollama - Get up and running with Llama 3, Mistral, Gemma, and other large language models.
- FastChat - A distributed multi-model LLM serving system with web UI and OpenAI-compatible RESTful APIs.
- mistral.rs - Blazingly fast LLM inference.
- SkyPilot - Run LLMs and batch jobs on any cloud. Get maximum cost savings, highest GPU availability, and managed execution -- all with a simple interface.
- OpenLLM - Fine-tune, serve, deploy, and monitor any open-source LLMs in production. Used in production at BentoML for LLMs-based applications.
- Text-Embeddings-Inference - Inference for text-embeddings in Rust, HFOIL Licence.
- Infinity - Inference for text-embeddings in Python
- TensorRT-LLM - Nvidia Framework for LLM Inference
- FasterTransformer - NVIDIA Framework for LLM Inference(Transitioned to TensorRT-LLM)
- LMDeploy - A high-throughput and low-latency inference and serving framework for LLMs and VLs
- SGLang - SGLang is a fast serving framework for large language models and vision language models.
- MInference - To speed up Long-context LLMs' inference, approximate and dynamic sparse calculate the attention, which reduces inference latency by up to 10x for pre-filling on an A100 while maintaining accuracy.
- DeepSpeed-Mii - MII makes low-latency and high-throughput inference, similar to vLLM powered by DeepSpeed.
- Liger-Kernel - Efficient Triton Kernels for LLM Training.
- prima.cpp - A distributed implementation of llama.cpp that lets you run 70B-level LLMs on your everyday devices.
- deploy-llms-with-ansible - Easily deploy any LLM on a VM with minimal configuration, using Ansible.
- llama.cpp - LLM inference in C/C++.
LLM Leaderboard
- Open LLM Leaderboard - aims to track, rank, and evaluate LLMs and chatbots as they are released.
- Berkeley Function-Calling Leaderboard - evaluates LLM's ability to call external functions/tools.
- MixEval - a ground-truth-based dynamic benchmark derived from off-the-shelf benchmark mixtures, which evaluates LLMs with a highly capable model ranking (i.e., 0.96 correlation with Chatbot Arena) while running locally and quickly (6% the time and cost of running MMLU).
- AlpacaEval - An Automatic Evaluator for Instruction-following Language Models using Nous benchmark suite.
- ACLUE - an evaluation benchmark focused on ancient Chinese language comprehension.
- BeHonest - A pioneering benchmark specifically designed to assess honesty in LLMs comprehensively.
- Chinese Large Model Leaderboard - an expert-driven benchmark for Chineses LLMs.
- DreamBench++ - a benchmark for evaluating the performance of large language models (LLMs) in various tasks related to both textual and visual imagination.
- LawBench - a benchmark designed to evaluate large language models in the legal domain.
- M3CoT - a benchmark that evaluates large language models on a variety of multimodal reasoning tasks, including language, natural and social sciences, physical and social commonsense, temporal reasoning, algebra, and geometry.
- MMToM-QA - a multimodal question-answering benchmark designed to evaluate AI models' cognitive ability to understand human beliefs and goals.
- OlympicArena - a benchmark for evaluating AI models across multiple academic disciplines like math, physics, chemistry, biology, and more.
- SciBench - benchmark designed to evaluate large language models (LLMs) on solving complex, college-level scientific problems from domains like chemistry, physics, and mathematics.
- SuperBench - a benchmark platform designed for evaluating large language models (LLMs) on a range of tasks, particularly focusing on their performance in different aspects such as natural language understanding, reasoning, and generalization.
- SuperLim - a Swedish language understanding benchmark that evaluates natural language processing (NLP) models on various tasks such as argumentation analysis, semantic similarity, and textual entailment.
- VisualWebArena - a benchmark designed to assess the performance of multimodal web agents on realistic visually grounded tasks.
- We-Math - a benchmark that evaluates large multimodal models (LMMs) on their ability to perform human-like mathematical reasoning.
- LiveBench - A Challenging, Contamination-Free LLM Benchmark.
- CompassRank - CompassRank is dedicated to exploring the most advanced language and visual models, offering a comprehensive, objective, and neutral evaluation reference for the industry and research.
- LLMEval - focuses on understanding how these models perform in various scenarios and analyzing results from an interpretability perspective.
- MathEval - a comprehensive benchmarking platform designed to evaluate large models' mathematical abilities across 20 fields and nearly 30,000 math problems.
- Chatbot Arena Leaderboard - a benchmark platform for large language models (LLMs) that features anonymous, randomized battles in a crowdsourced manner.
- PubMedQA - a biomedical question-answering benchmark designed for answering research-related questions using PubMed abstracts.
- WHOOPS! - a benchmark dataset testing AI's ability to reason about visual commonsense through images that defy normal expectations.
LLM Training Frameworks
- torchtune - A Native-PyTorch Library for LLM Fine-tuning.
- torchtitan - A native PyTorch Library for large model training.
- Megatron-LM - Ongoing research training transformer models at scale.
- Colossal-AI - Making large AI models cheaper, faster, and more accessible.
- BMTrain - Efficient Training for Big Models.
- Mesh Tensorflow - Mesh TensorFlow: Model Parallelism Made Easier.
- maxtext - A simple, performant and scalable Jax LLM!
- GPT-NeoX - An implementation of model parallel autoregressive transformers on GPUs, based on the DeepSpeed library.
- unslothai - A framework that specializes in efficient fine-tuning. On its GitHub page, you can find ready-to-use fine-tuning templates for various LLMs, allowing you to easily train your own data for free on the Google Colab cloud.
- Meta Lingua - a lean, efficient, and easy-to-hack codebase to research LLMs.
- Litgpt - 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.
- nanotron - Minimalistic large language model 3D-parallelism training.
- DeepSpeed - DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.
- ROLL - An Efficient and User-Friendly Scaling Library for Reinforcement Learning with Large Language Models.
- veRL - veRL is a flexible and efficient RL framework for LLMs.
- NeMo Framework - Generative AI framework built for researchers and PyTorch developers working on Large Language Models (LLMs), Multimodal Models (MMs), Automatic Speech Recognition (ASR), Text to Speech (TTS), and Computer Vision (CV) domains.
- Transformer Engine - A library for accelerating Transformer model training on NVIDIA GPUs.
- OpenRLHF - An Easy-to-use, Scalable and High-performance RLHF Framework (70B+ PPO Full Tuning & Iterative DPO & LoRA & RingAttention & RFT).
- TRL - TRL is a full stack library where we provide a set of tools to train transformer language models with Reinforcement Learning, from the Supervised Fine-tuning step (SFT), Reward Modeling step (RM) to the Proximal Policy Optimization (PPO) step.
- Axolotl - Open-source framework for fine-tuning and evaluating LLMs. It simplifies the process of experimenting with different training configurations and makes it easy to reproduce and share results, supporting features like LoRA, QLoRA, DeepSpeed, PEFT, and multi-GPU setups.
- Megatron-DeepSpeed - DeepSpeed version of NVIDIA's Megatron-LM that adds additional support for several features such as MoE model training, Curriculum Learning, 3D Parallelism, and others.
LLM Tutorials and Courses
- State of GPT
- ICML2022-Welcome to the "Big Model" Era: Techniques and Systems to Train and Serve Bigger Models
- Neurips2022-Foundational Robustness of Foundation Models
- Let's build GPT: from scratch, in code, spelled out.
- Princeton: Understanding Large Language Models
- CS25-Transformers United
- UWaterloo CS 886 - Recent Advances on Foundation Models.
- llm-course - Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.
- CS324 - Large Language Models
- femtoGPT - Pure Rust implementation of a minimal Generative Pretrained Transformer.
- Alexander Rush Series - high quality and educational materials you don't want to miss.
- minbpe - Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
- LLM‑RL‑Visualized (EN) - | LLM‑RL‑Visualized (ä¸ć–‡) - 100+ LLM / RL Algorithm Maps📚.
- Andrej Karpathy Series - My favorite!
- Umar Jamil Series - high quality and educational videos you don't want to miss.
- ChatGPT Prompt Engineering
- A Visual Guide to Mamba and State Space Models
- GPT in 60 Lines of NumPy
Miscellaneous
- Major LLMs + Data Availability
- 500+ Best AI Tools
- OpenAGI - When LLM Meets Domain Experts.
- EasyEdit - An easy-to-use framework to edit large language models.
- chatgpt-shroud - A Chrome extension for OpenAI's ChatGPT, enhancing user privacy by enabling easy hiding and unhiding of chat history. Ideal for privacy during screen shares.
- Emergent Mind - The latest AI news, curated & explained by GPT-4.
- chatgpt-wrapper - ChatGPT Wrapper is an open-source unofficial Python API and CLI that lets you interact with ChatGPT.
- AutoGPT - an experimental open-source application showcasing the capabilities of the GPT-4 language model.
- ShareGPT - Share your wildest ChatGPT conversations with one click.
- Cohere Summarize Beta - Introducing Cohere Summarize Beta: A New Endpoint for Text Summarization
- Cursor - Write, edit, and chat about your code with a powerful AI.
- AI For Developers - List of AI Tools and Agents for Developers