LLMsPracticalGuide README

The project's README from github.com/Mooler0410/LLMsPracticalGuide. As one markdown file: README.md.

The Practical Guides for Large Language Models

Awesome

A curated (still actively updated) list of practical guide resources of LLMs. It's based on our survey paper: Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyond and efforts from @xinyadu. The survey is partially based on the second half of this Blog. We also build an evolutionary tree of modern Large Language Models (LLMs) to trace the development of language models in recent years and highlights some of the most well-known models.

These sources aim to help practitioners navigate the vast landscape of large language models (LLMs) and their applications in natural language processing (NLP) applications. We also include their usage restrictions based on the model and data licensing information. If you find any resources in our repository helpful, please feel free to use them (don't forget to cite our paper! 😃). We welcome pull requests to refine this figure!

    @article{yang2023harnessing,
        title={Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyond}, 
        author={Jingfeng Yang and Hongye Jin and Ruixiang Tang and Xiaotian Han and Qizhang Feng and Haoming Jiang and Bing Yin and Xia Hu},
        year={2023},
        eprint={2304.13712},
        archivePrefix={arXiv},
        primaryClass={cs.CL}
    }

Latest News💥

Other Practical Guides for LLMs

Catalog

Practical Guide for Models

BERT-style Language Models: Encoder-Decoder or Encoder-only

GPT-style Language Models: Decoder-only

Practical Guide for Data

Pretraining data

Finetuning data

Test data/user data

Practical Guide for NLP Tasks

We build a decision flow for choosing LLMs or fine-tuned models~\protect\footnotemark for user's NLP applications. The decision flow helps users assess whether their downstream NLP applications at hand meet specific conditions and, based on that evaluation, determine whether LLMs or fine-tuned models are the most suitable choice for their applications.

Traditional NLU tasks

Generation tasks

Knowledge-intensive tasks

Abilities with Scaling

Specific tasks

Real-World ''Tasks''

Efficiency

  1. Cost
  1. Latency
  1. Parameter-Efficient Fine-Tuning
  1. Pretraining System

Trustworthiness

  1. Robustness and Calibration
  1. Spurious biases
  1. Safety issues

Benchmark Instruction Tuning

Alignment

LLMsPracticalGuide (Mooler0410/LLMsPracticalGuide)

Searching Database…

What is this?A curated, actively updated list of practical guide resources for large language models (LLMs), covering models, data, NLP tasks, and usage restrictions. It is based on a survey paper 'Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyond'.
Is this a paper, a list, or a tool?It is a GitHub awesome-list style repository: a catalog of papers and links organized by topic, plus an evolutionary tree diagram of LLMs, not any runnable code or software.
How is the list organized?It is split into Practical Guide for Models (BERT-style vs GPT-style), Practical Guide for Data (pretraining, finetuning, test data), Practical Guide for NLP Tasks (traditional NLU, generation, knowledge-intensive, scaling abilities, specific tasks), Efficiency, Trustworthiness, Benchmark Instruction Tuning, and Alignment sections.
Where should a beginner start?Start with the 'Practical Guide for Models' section, which splits LLMs into BERT-style encoder models (BERT, RoBERTa, T5, GLM) and GPT-style decoder models (GPT-3, LLaMA, PaLM, GPT-4), then move to the NLP Tasks decision flow for choosing between LLMs and fine-tuned models.
Are entries vetted and kept current?The repo is described as still actively updated with dated changelog entries (e.g. adding AlexaTM, UniLM, usage restrictions section in April/May 2023), but it is community-maintained via pull requests and reflects the state of LLM research as of 2023.
Does it cover usage restrictions and licensing of models?Yes, there is a dedicated 'Usage and Restrictions' section covering commercial and research usage limitations for models and datasets, credited to Dr. Du.
What is the evolutionary tree figure?It is a diagram tracing the development of modern LLMs over the years, highlighting well-known models; the source PowerPoint files for both animated (GIF) and still versions are included in the repo.
Is this tied to a published paper?Yes, the list is based on the survey 'Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyond' by the repo authors and collaborator Xinya Du.
What topics does the Trustworthiness section cover?It covers robustness and calibration, spurious biases (e.g. shortcut learning, gender bias), and safety issues like LLM-generated text detection and stereotype propagation.
Creator
Mooler0410
Size
25.9 MB
Stars
10.2K
Updated
CommitAug 06
Age
3y
Commits · 90 Days