A very timely question! Here's the top 10 ranking of open-source Large Language Models (LLMs) based on various benchmarks, community engagement, and model performance. Keep in mind that rankings can fluctuate as new models are released and existing ones are updated. This snapshot is current as of March 2023.
Ranking Criteria:
- Model Performance: Scores on popular NLP benchmarks like GLUE, SuperGLUE, WikiText, and others.
- Community Engagement: GitHub stars, forks, issues, and discussions.
- Model Size & Efficiency: Balance between parameter count and inference speed.
- Training Data: Diversity and size of the training dataset.
- Customizability: Ease of fine-tuning, modifying, and adapting to specific tasks.
The Top 10 Open-Source LLMs:
1. LLaMA (Meta AI)
* Parameters: 7B/13B/33B/65B
* Training data: 1.5T tokens (Web pages, books, Wikipedia)
* GLUE score: 85.5 ( ensemble of 7B & 13B models)
* GitHub stars: 22.5k+ (meta-llama/llama)
* Why top? State-of-the-art performance, efficient, and surprisingly small.
2. OPT (Open Pre-trained Transformer, Meta AI)
* Parameters: 125M/350M/1.3B/2.7B/6.7B/13B/30B/66B
* Training data: 180B tokens ( varied web sources)
* SuperGLUE score: 84.2 (30B model)
* GitHub stars: 14.5k+ (facebookresearch/metaseq)
* Why high? Extremely versatile, with models for various resource constraints.
3. BLOOM (BigScience Workshop)
* Parameters: 560M/1.1B/1.7B/3B/7.1B/176B
* Training data: 350B tokens ( multilingual web data)
* WikiText-103 perplexity: 10.85 (176B model)
* GitHub stars: 10.5k+ (bigscience-workshop/bloom)
* Why notable? Largest open multilingual model, promotes language diversity.
4. GLM (General Language Model, Tsinghua University)
* Parameters: 100M/335M/515M/1.25B/2.5B/10B
* Training data: 400B tokens ( Chinese & English text)
* GLUE score: 84.8 (10B model)
* GitHub stars: 6.5k+ (THUDM/GLM)
* Why strong? Excellent performance on Chinese NLP tasks, efficient design.
5. PaLM (Pathways Language Model, Google, not officially open-source but leaked 🤐)
* Parameters: 8B/62B/540B
* Training data: 780B tokens (Web pages, books, Wikipedia)
* SuperGLUE score: 89.3 (540B model, unofficial port: 7.5k+ stars, lucidrains/PaLM-pytorch)
* Why included? Although not officially open-source, its leaked weights and community implementations make it accessible.
6. Ernie 3.0 (Baidu)
* Parameters: 10B/2.6B/1.3B
* Training data: 4TB text (Web, news, encyclopedias)
* GLUE score: 84.2 (10B model)
* GitHub stars: 4.5k+ (PaddlePaddle/ERNIE)
* Why respected? Robust performance, especially in Chinese NLP, backed by Baidu.
7. Megatron-Turing NLG (NVIDIA & Microsoft)
* Parameters: 8.3B/53B
* Training data: 174B tokens (RealNews, Wikipedia, books)
* WikiText-103 perplexity: 11.01 (53B model)
* GitHub stars: 4k+ (NVIDIA/Megatron-DeepSpeed)
* Why significant? High-performance, optimized for distributed training.
8. T5 (Text-to-Text Transfer Transformer, Google, via Hugging Face)
* Parameters: 60M/220M/770M/3B/11B
* Training data: 750GB text (Common Crawl)
* GLUE score: 82.5 (11B model)
* GitHub stars: 3.5k+ (huggingface/transformers)
* Why classic? Pioneered text-to-text framework, versatile and widely used.
9. CPM (Chinese Pre-Trained Models, BAAI)
* Parameters: 335M/770M/2.6B
* Training data: 100GB Chinese text (news, web, books)
* GLUE (Chinese) score: 81.9 (2.6B model)
* GitHub stars: 2.5k+ (BAAI-WuDao/CPM)
* Why important? Focus on Chinese language understanding and generation.
10. XLM-R (Cross-lingual Language Model, Facebook AI)
* Parameters: 270M/550M/1.5B
* Training data: 2.5TB multilingual text (100 languages)
* XNLI (multilingual NLI) score: 79.2 (1.5B model)
* GitHub stars: 2k+ (facebookresearch/fairseq)
* Why valuable? Best open model for multilingual understanding tasks.
Honorable Mentions:
- BERT (bert-base-uncased, 110M params): The granddaddy of modern LLMs, still widely used.
- RoBERTa (355M params): Facebook's optimized BERT variant.
- DeBERTa (100M-1.5B params): Microsoft's disentangled attention-based model.
Sources & Benchmarks:
- Hugging Face's Model Hub and Leaderboards
- PapersWithCode GLUE, SuperGLUE, and WikiText benchmarks
- GitHub repository statistics
- Original research papers for each model
Keep in mind:
- Model updates can quickly make this list outdated.
- Training data bias and licensing restrictions might limit usage.
- Hardware requirements for running these large models can be substantial.
Happy exploring, and may the best open-source LLM win for your use case! 🤖💻