Papers › A Survey of Large Language Models

A Survey of Large Language Models

31 Mar 2023arXiv:2303.18223archive 2025-07-28

Wayne Xin Zhao, Kun Zhou, Junyi Li, Tianyi Tang, Xiaolei Wang, Yupeng Hou, Yingqian Min, Beichen Zhang, Junjie Zhang, Zican Dong, Yifan Du, Chen Yang, Yushuo Chen, Zhipeng Chen, Jinhao Jiang, Ruiyang Ren, YiFan Li, Xinyu Tang, Zikang Liu, Peiyu Liu, Jian-Yun Nie, Ji-Rong Wen

Language is essentially a complex, intricate system of human expressions governed by grammatical rules. It poses a significant challenge to develop capable AI algorithms for comprehending and grasping a language. As a major approach, language modeling has been widely studied for language understanding and generation in the past two decades, evolving from statistical language models to neural language models. Recently, pre-trained language models (PLMs) have been proposed by pre-training Transformer models over large-scale corpora, showing strong capabilities in solving various NLP tasks. Since researchers have found that model scaling can lead to performance improvement, they further study the scaling effect by increasing the model size to an even larger size. Interestingly, when the parameter scale exceeds a certain level, these enlarged language models not only achieve a significant performance improvement but also show some special abilities that are not present in small-scale language models. To discriminate the difference in parameter scale, the research community has coined the term large language models (LLM) for the PLMs of significant size. Recently, the research on LLMs has been largely advanced by both academia and industry, and a remarkable progress is the launch of ChatGPT, which has attracted widespread attention from society. The technical evolution of LLMs has been making an important impact on the entire AI community, which would revolutionize the way how we develop and use AI algorithms. In this survey, we review the recent advances of LLMs by introducing the background, key findings, and mainstream techniques. In particular, we focus on four major aspects of LLMs, namely pre-training, adaptation tuning, utilization, and capacity evaluation. Besides, we also summarize the available resources for developing LLMs and discuss the remaining issues for future directions.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2303.18223")

Code

Syntology Ran 9 of 13 code samples harvested from 3 repositories linked to this paper; 4 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · our draft was wrong; 6 ran with no contract checked.

By repository: official repository: 1 sample from 1 repository, 0 ran; community (archive-listed): 9 samples from 1 repository, 6 ran; found in paper text by Syntology: 3 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

rucaibox/llmsurvey officialmentioned in papermentioned on GitHubpytorch report
MansMeg/IntroML mentioned on GitHub report
juyongjiang/codeup mentioned on GitHubpytorch report
xusenlinzy/api-for-open-llm mentioned on GitHubpytorchApache-2.0 report
zhen-tan-dmml/llm4annotation mentioned on GitHubtf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 9 ran; 2 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · our draft was wrong
6ran
4unverified

Licence: 1 of the 13 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

annotate rucaibox/llmsurvey/Experiments/HumanAlignment/HaluEval/claude_halu.py official repository unverified no licence file found · pointer only · 6794c98718b27e2e · report
get_bool_env xusenlinzy/api-for-open-llm/api/config.py community (archive-listed) ran Apache-2.0 (permissive) · 162fa636ec9c2a11 · report
get_env xusenlinzy/api-for-open-llm/api/config.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 0ad95ef49376f579 · report
get_package_version xusenlinzy/api-for-open-llm/api/adapter/patcher.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 14c9fb02d60eea83 · report
is_package_available xusenlinzy/api-for-open-llm/api/adapter/patcher.py community (archive-listed) ran Apache-2.0 (permissive) · 2e71330e34fbbfd7 · report
jsonify xusenlinzy/api-for-open-llm/api/common.py community (archive-listed) ran Apache-2.0 (permissive) · e6f6857273f4b6df · report
model_validate xusenlinzy/api-for-open-llm/api/common.py community (archive-listed) ran Apache-2.0 (permissive) · a11cc5c5954610b6 · report
dictify xusenlinzy/api-for-open-llm/api/common.py community (archive-listed) unverified Apache-2.0 (permissive) · ee8b1f74b93de1f9 · report
infer_optim_dtype xusenlinzy/api-for-open-llm/api/adapter/patcher.py community (archive-listed) unverified Apache-2.0 (permissive) · 2f84f57fc15961bb · report
load_model_and_tokenizer xusenlinzy/api-for-open-llm/api/adapter/loader.py community (archive-listed) unverified Apache-2.0 (permissive) · 37c3d7ab0a5f9367 · report
b2mb huggingface/peft/examples/conditional_generation/peft_lora_seq2seq_accelerate_ds_zero3_offload.py found in paper text by Syntology ran · honoured contract fingerprinted Apache-2.0 (permissive) · 32380a050ca033d4 · report
get_closest_label huggingface/peft/examples/conditional_generation/peft_lora_seq2seq_accelerate_ds_zero3_offload.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · bdad3d08a6241ede · report
levenshtein_distance huggingface/peft/examples/conditional_generation/peft_lora_seq2seq_accelerate_ds_zero3_offload.py found in paper text by Syntology ran · honoured contract fingerprinted Apache-2.0 (permissive) · d267d33e45b87bcd · report

Tasks

Language ModelingLanguage ModellingSurvey

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections