English | 中文
Building the Next Generation of Open-Source and Bilingual LLMs
🤗 Hugging Face • 🤖 ModelScope • 🟣 wisemodel
👩🚀 Ask questions or discuss ideas on GitHub
👋 Join us on 👾 Discord or 💬 WeChat
📝 Check out Yi Tech Report
📚 Grow at Yi Learning Hub
💪 Learn at Yi Tech Blog
📕 Table of Contents
What is Yi?
Introduction
-
🤖 The Yi series models are the next generation of open-source large language models trained from scratch by 01.AI.
-
🙌 Targeted as a bilingual language model and trained on 3T multilingual corpus, the Yi series models become one of the strongest LLM worldwide, showing promise in language understanding, commonsense reasoning, reading comprehension, and more. For example,
-
Yi-34B-Chat model landed in second place (following GPT-4 Turbo), outperforming other LLMs (such as GPT-4, Mixtral, Claude) on the AlpacaEval Leaderboard (based on data available up to January 2024).
-
Yi-34B model ranked first among all existing open-source models (such as Falcon-180B, Llama-70B, Claude) in both English and Chinese on various benchmarks, including Hugging Face Open LLM Leaderboard (pre-trained) and C-Eval (based on data available up to November 2023).
-
🙏 (Credits to Llama) Thanks to the Transformer and Llama open-source communities, as they reduce the efforts required to build from scratch and enable the utilization of the same tools within the AI ecosystem.
If you're interested in Yi's adoption of Llama architecture and license usage policy, see Yi's relation with Llama. ⬇️
💡 TL;DR
The Yi series models adopt the same model architecture as Llama but are NOT derivatives of Llama.
-
Both Yi and Llama are based on the Transformer structure, which has been the standard architecture for large language models since 2018.
-
Grounded in the Transformer architecture, Llama has become a new cornerstone for the majority of state-of-the-art open-source models due to its excellent stability, reliable convergence, and robust compatibility. This positions Llama as the recognized foundational framework for models including Yi.
-
Thanks to the Transformer and Llama architectures, other models can leverage their power, reducing the effort required to build from scratch and enabling the utilization of the same tools within their ecosystems.
-
However, the Yi series models are NOT derivatives of Llama, as they do not use Llama's weights.
-
As Llama's structure is employed by the majority of open-source models, the key factors of determining model performance are training datasets, training pipelines, and training infrastructure.
-
Developing in a unique and proprietary way, Yi has independently created its own high-quality training datasets, efficient training pipelines, and robust training infrastructure entirely from the ground up. This effort has led to excellent performance with Yi series models ranking just behind GPT4 and surpassing Llama on the Alpaca Leaderboard in Dec 2023.
-
-
[ Back to top ⬆️ ]
News
🔥 2024-07-29: The Yi Cookbook 1.0 is released, featuring tutorials and examples in both Chinese and English.
🎯 2024-05-13: The Yi-1.5 series models are open-sourced, further improving coding, math, reasoning, and instruction-following abilities.
🎯 2024-03-16: The Yi-9B-200K
is open-sourced and available to the public.
🎯 2024-03-08: Yi Tech Report is published!
🔔 2024-03-07: The long text capability of the Yi-34B-200K has been enhanced.
In the "Needle-in-a-Haystack" test, the Yi-34B-200K's performance is improved by 10.5%, rising from 89.3% to an impressive 99.8%. We continue to pre-train the model on 5B tokens long-context data mixture and demonstrate a near-all-green performance.
🎯 2024-03-06: The Yi-9B
is open-sourced and available to the public.
Yi-9B
stands out as the top performer among a range of similar-sized open-source models (including Mistral-7B, SOLAR-10.7B, Gemma-7B, DeepSeek-Coder-7B-Base-v1.5 and more), particularly excelling in code, math, common-sense reasoning, and reading comprehension.
🎯 2024-01-23: The Yi-VL models, Yi-VL-34B
and Yi-VL-6B
, are open-sourced and available to the public.
Yi-VL-34B
has ranked first among all existing open-source models in the latest benchmarks, including MMMU and CMMMU (based on data available up to January 2024).
🎯 2023-11-23: Chat models are open-sourced and available to the public.
This release contains two chat models based on previously released base models, two 8-bit models quantized by GPTQ, and two 4-bit models quantized by AWQ.
Yi-34B-Chat
Yi-34B-Chat-4bits
Yi-34B-Chat-8bits
Yi-6B-Chat
Yi-6B-Chat-4bits
Yi-6B-Chat-8bits
You can try some of them interactively at:
🔔 2023-11-23: The Yi Series Models Community License Agreement is updated to v2.1.
🎯 2023-11-05: The base models, Yi-6B-200K
and Yi-34B-200K
, are open-sourced and available to the public.
This release contains two base models with the same parameter sizes as the previous release, except that the context window is extended to 200K.
🎯 2023-11-02: The base models, Yi-6B
and Yi-34B
, are open-sourced and available to the public.
The first public release contains two bilingual (English/Chinese) base models with the parameter sizes of 6B and 34B. Both of them are trained with 4K sequence length and can be extended to 32K during inference time.
[ Back to top ⬆️ ]
Models
Yi models come in multiple sizes and cater to different use cases. You can also fine-tune Yi models to meet your specific requirements.
If you want to deploy Yi models, make sure you meet the software and hardware requirements.
Chat models
Model | Download |
---|---|
Yi-34B-Chat | • 🤗 Hugging Face • 🤖 ModelScope • 🟣 wisemodel |
Yi-34B-Chat-4bits | • 🤗 Hugging Face • 🤖 ModelScope • 🟣 wisemodel |
Yi-34B-Chat-8bits | • 🤗 Hugging Face • 🤖 ModelScope • 🟣 wisemodel |
Yi-6B-Chat | • 🤗 Hugging Face • 🤖 ModelScope • 🟣 wisemodel |
Yi-6B-Chat-4bits | • 🤗 Hugging Face • 🤖 ModelScope • 🟣 wisemodel |
Yi-6B-Chat-8bits | • 🤗 Hugging Face • 🤖 ModelScope • 🟣 wisemodel |
- 4-bit series models are quantized by AWQ.
- 8-bit series models are quantized by GPTQ
- All quantized models have a low barrier to use since they can be deployed on consumer-grade GPUs (e.g., 3090, 4090).
Base models
Model | Download |
---|---|
Yi-34B | • 🤗 Hugging Face • 🤖 ModelScope • 🟣 wisemodel |
Yi-34B-200K | • [🤗 Hugging |