Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/InternLM/InternLM-techreport
https://github.com/InternLM/InternLM-techreport
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/InternLM/InternLM-techreport
- Owner: InternLM
- Created: 2023-06-03T01:46:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-07T04:52:53.000Z (over 1 year ago)
- Last Synced: 2024-07-18T16:35:52.790Z (4 months ago)
- Size: 7.3 MB
- Stars: 904
- Watchers: 23
- Forks: 24
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- StarryDivineSky - InternLM/InternLM-techreport - LLM的训练系统,用于高效的大型语言模型训练。对多项基准的评估表明,InternLM在知识理解、阅读理解、数学和编码等多个方面都取得了最先进的表现。凭借如此全面的能力,InternLM在综合考试中取得了出色的表现,包括MMLU,AGIEval,C-Eval和高考-Bench,而无需借助外部工具。在这些基准测试中,InternLM 不仅明显优于开源模型,而且与 ChatGPT 相比,还获得了卓越的性能。此外,InternLM在理解中文和中国文化方面表现出出色的能力,这使其成为支持面向中文的语言应用的合适基础模型,并提供了跨各种知识领域和任务的基准和示例。 (文本生成、文本对话 / 大语言对话模型及数据)
README
# InternLM
[InternLM](https://internlm.org) is a multilingual large language model jointly developed by Shanghai AI Lab and SenseTime (with equal contribution), in collaboration with the Chinese University of Hong Kong, Fudan University, and Shanghai Jiaotong University.
**Technical report**: [[PDF]](InternLM.pdf)
**Note:** Please right click the link above to directly download the PDF file.
---
## Abstract
We present InternLM, a multilingual foundational language model with 104B parameters. InternLM is pre-trained on a large corpora with 1.6T tokens with a multi-phase progressive process, and then fine-tuned to align with human preferences. We also developed a training system called Uniscale-LLM for efficient large language model training. The evaluation on a number of benchmarks shows that InternLM achieves state-of-the-art performance in multiple aspects, including knowledge understanding, reading comprehension, mathematics, and coding. With such well-rounded capabilities, InternLM achieves outstanding performances on comprehensive exams, including MMLU, AGIEval, C-Eval and GAOKAO-Bench, without resorting to external tools. On these benchmarks, InternLM not only significantly outperforms open-source models, but also obtains superior performance compared to ChatGPT. Also, InternLM demonstrates excellent capability of understanding Chinese language and Chinese culture, which makes it a suitable foundation model to support Chinese-oriented language applications. This manuscript gives a detailed study of our results, with benchmarks and examples across a diverse set of knowledge domains and tasks.
## Main Results
As latest large language models begin to exhibit human-level intelligence,
exams designed for humans, such as China's college entrance examination and US SAT and GRE,
are considered as important means to evaluate language models.
Note that in its technical report on GPT-4, OpenAI tested GPT-4
through exams across multiple areas and used the exam scores as the key results.We tested InternLM in comparison with others on four comprehensive exam benchmarks,
as below:- **MMLU**:
A multi-task benchmark constructed based on various US exams,
which covers elementary mathematics, physics, chemistry, computer science, American history, law, economics, diplomacy, etc.- **AGIEval**:
A benchmark developed by Microsoft Research to evaluate the ability of language models through human-oriented exams, which comprises 19 task sets derived from various exams in China and the United States, e.g., the college entrance exams and lawyer qualification exams in China, and SAT, LSAT, GRE and GMAT in the United States.
Among the 19 task sets, 9 sets are based on the Chinese college entrance exam (Gaokao), which we single out as an important collection named **AGIEval (GK)**.- **C-Eval**:
A comprehensive benchmark devised to evaluate Chinese language models, which
contains nearly 14,000 questions in 52 subjects, covering mathematics, physics,
chemistry, biology, history, politics, computer and other disciplines, as well as
professional exams for civil servants, certified accountants, lawyers, and doctors.- **GAOKAO-Bench**:
A comprehensice benchmark based on the Chinese college entrance exams, which
include all subjects of the college entrance exam. It provide different types
of questions, including multiple-choices, blank filling, and QA.
For conciseness, we call this benchmark simply as **Gaokao**.![Exam benchmarks](https://internlm.oss-cn-shanghai.aliyuncs.com/exam.png)
### Results on MMLU
![MMLU](https://internlm.oss-cn-shanghai.aliyuncs.com/MMLU.png)
### Results on AGIEval
![AGIEval](https://internlm.oss-cn-shanghai.aliyuncs.com/AGIEval.png)
### Results on C-Eval
C-Eval has a [live leaderboard](https://cevalbenchmark.com/static/leaderboard.html). Below is a screenshot that shows all
the results (as of 2023-06-01).![C-Eval leaderboard](https://internlm.oss-cn-shanghai.aliyuncs.com/ceval-leaderboard.png)
![C-Eval](https://internlm.oss-cn-shanghai.aliyuncs.com/C-Eval.png)
### Results on GAOKAO-Benchmark
![GAOKAO-Benchmark](https://internlm.oss-cn-shanghai.aliyuncs.com/gaokao.png)
## Benchmarks in Specific Aspects
We also tested InternLM in comparison with others in multiple aspects:
- Knowledge QA: TriviaQA and NaturalQuestions.
- Reading Comprehension: RACE
- Chinese Understanding: CLUE and FewCLUE
- Mathematics: GSM8k and MATH
- Coding: HumanEval and MBPPlease refer to our [technical report](InternLM.pdf) for detailed results.
We are working on more tests, and will share new results as our work proceeds.
## Citation
You can cite this technical report like this:
```BibTeX
@misc{2023internlm,
title={InternLM: A Multilingual Language Model with Progressively Enhanced Capabilities},
author={InternLM Team},
howpublished = {\url{https://github.com/InternLM/InternLM-techreport}},
year={2023}
}
```