Elamur Research

DeepSeek LLM: Scaling Open-Source Language Models with Longtermism

Paper · 2024 · DeepSeek-AI, :, Xiao Bi et al.

Summary

When a team gets more computing power to train a language system, it can build a larger network, train on more text, or do some of each. DeepSeek LLM asks how to make that decision before committing to a large run. The authors use smaller experiments to fit scaling laws, empirical relationships that describe how performance changes with training resources. They first find workable settings for the size of each batch and the size of each weight update. They then compare different combinations of network size and training tokens at the same computational cost. This order matters because a poorly chosen update setting can make an otherwise promising allocation look weak.

The authors find that their forecasts improve when they describe network size by the work required to train on each token, counting attention operations and excluding vocabulary computation. This measure gives the closest predictions of the large runs’ validation loss among the alternatives they test. The preferred allocation also changes with the corpus. Across the datasets in their comparison, the ones judged higher in quality favor faster growth in network capacity as compute increases. That result makes the choice of text part of the scaling decision.

The team pretrains 7B and 67B networks from scratch on 2 trillion tokens drawn mainly from Chinese and English sources. Corpus preparation removes duplicates across collections, screens documents for quality, and adjusts the mix of domains. A multilingual byte-level tokenizer divides the text into the units the network processes. The architecture borrows heavily from LLaMA, with changes to depth and a learning-rate schedule that makes it easier to reuse the early part of a training run. Demonstrations of desired responses and further training on response preferences turn the base checkpoints into chat systems.

The 67B base system leads LLaMA-2 70B on the highlighted code, mathematics, reasoning, and Chinese comparisons, and is broadly competitive on English understanding. On the English multi-turn MT-Bench evaluation, the 67B chat system scores 8.35 after supervised training and 8.76 after preference optimization. The paper also reports strong open-ended performance in Chinese and favorable results on its safety tests. Its smaller experiments reveal effects that aggregate scores can miss. Extra mathematics training can make a chat system repeat itself, the same system instruction affects the two sizes differently, and practice with multiple-choice questions can raise scores without helping free-form answering. The authors acknowledge that the chat systems can invent facts, retain out-of-date knowledge, and have gaps in Chinese-specific topics, with proficiency in other languages left uncertain.

Deep dive: DeepSeek LLM: Scaling Open-Source Language Models with Longtermism

DeepSeek LLM tests how to divide training compute between network size and data, then evaluates the resulting bilingual base and chat systems. · about 40 minutes to read

The problem and its context

Suppose two training runs use the same amount of computation. In one, each token passes through a relatively large network, so the budget buys fewer token exposures. In the other, the network takes less work to update and can process more text. Both runs may spend the entire budget. The useful question is which one will get better at predicting text it has yet to see. The answer matters as soon as a team has to pick an architecture and prepare the corpus. By the time a large run makes the consequences of those choices visible, much of the computation has already been spent.

DeepSeek studies that question for a type of large language model trained on text by predicting what comes next. Each position in a sequence supplies a target from the text itself, so the training material can provide supervision without someone writing a separate label for every example. The paper describes how systems trained this way can be used for writing, summarization, and code completion. It also distinguishes the initial prediction task from the subsequent adaptation that helps a system respond to a user’s instructions. A plausible continuation of a passage and a useful answer to a request are different outcomes, even though both can be produced by generating a sequence of tokens.

The networks are decoder-only Transformers. In this setup, predictions draw on preceding tokens, and attention lets the network vary which parts of that context it uses. This design descends from the Transformer and attention architecture. The immediate engineering precedent in the paper is the LLaMA family. The authors describe it as a stable and efficient design that had become a common point of comparison for open systems. Its range from 7B to 70B parameters showed that a related design could be used at several sizes. LLaMA and Llama 2 provide the architectural and evaluation background for DeepSeek.

The authors put the work in a period when closed conversational products had raised expectations for what open systems could do. They point to the extensive computation and annotation behind ChatGPT, Claude, and Bard. Open projects responded by building capable systems at familiar parameter counts. DeepSeek takes that work as a starting point and asks what guidance it supplies for a future run with a different budget. Picking a familiar size fixes one variable for the current project. A scaling study can inform the decision again when available computing power, the corpus, or the training plan changes.

Why earlier recommendations could differ

The authors trace empirical work on scaling to research that preceded large-scale text predictors. They describe a common observation in the language experiments that followed. More computation, greater network capacity, and more training data can lead to better prediction in regular enough ways to fit a curve. The difficulty comes when those resources compete. Training uses both a network and a stream of tokens, so a result about the benefits of increasing compute alone leaves open how to spend it.

The early studies discussed in the paper offer different recommendations about how much to grow the network and how much to expand training data. DeepSeek takes Chinchilla’s method for comparing configurations at fixed compute and revisits the question in its own setting. In the authors’ account, earlier reports also left uncertainty about the optimization settings behind some of the points being compared. A fitted curve describes the outcomes of actual training runs, and those outcomes depend on how well the individual runs were trained. Scaling Laws for Neural Language Models is one of the studies the authors revisit.

Batch size and learning rate are particularly important to this concern. The batch size governs how much training material contributes to an update. The learning rate sets the scale of the adjustment the optimizer makes to the weights. An allocation experiment chooses how much work to spend processing the data. The optimization settings determine how that processing turns into changes in the network. A comparison might therefore reward one network size in part because the chosen update settings suit it better. The authors discuss earlier empirical guidance on batch size and update behavior, including Accurate, Large Minibatch SGD. Their own preliminary tests led them to calibrate these settings for their training setup.

There is also a measurement question behind the disagreement. Counting weights is straightforward, and most readers know what a size label such as 7B refers to. But attention requires work whose cost depends on the length of the sequence, which a weight count alone leaves out. Vocabulary-related work has a different role. It helps translate between text units and the network’s internal calculations, and the authors judge it less informative about the capacity they are trying to compare. The choice of scale measure matters when the smallest experiments are used as evidence for a forecast.

The paper also treats differences in training text as a reason to revisit an allocation rule. Two corpora can offer the same number of tokens while differing in repetition, domain coverage, and the density of informative material. The authors describe several iterations of their own corpus, with changes both to processing and to the source mixture. These iterations give them a way to ask whether the allocation curve tracks more than the architecture and compute.

Why a good base checkpoint is only part of the project

The paper sets a separate goal for the chat variants. A network trained to predict text has learned to assign probabilities to continuations. A user asking it to explain a concept or follow an instruction is looking for a response with a particular purpose. Which response the system prefers, whether it stops when the answer is complete, and how it behaves on a sensitive request all belong to the second problem. The paper places supervised instruction training in the line of work represented by Training Language Models to Follow Instructions with Human Feedback.

This distinction explains why the authors plan different kinds of evaluation. Validation loss records predictive performance on held-back text. Standard tasks examine whether the base or chat checkpoint can answer particular kinds of questions. Open-ended evaluation examines answers where there can be several acceptable responses. These measurements give the study a way to follow the same project from a decision about training resources to the behavior a user encounters, with each measurement attached to a specific stage and goal.

The method, step by step

DeepSeek builds the corpus and the training setup that will be used for the larger runs, then uses small experiments to decide how to train at scale. The scaling study searches first for effective update settings and then for a good division of compute. The large runs yield base checkpoints. Instruction demonstrations and preference data supply different signals for adapting those checkpoints to conversation.

From training corpus to DeepSeek chat checkpoints

The steps in order.

From training corpus to DeepSeek chat checkpointsStep 1: Remove duplicate documents and assess text quality1. Remove duplicate documents and assess text qualityStep 2: Rebalance domains and train the tokenizer2. Rebalance domains and train the tokenizerStep 3: Search batch sizes and learning rates3. Search batch sizes and learning ratesStep 4: Compare network and token allocations at fixed compute4. Compare network and token allocations at fixed computeStep 5: Pretrain the DeepSeek base checkpoints5. Pretrain the DeepSeek base checkpointsStep 6: Fine-tune on demonstrations of desired responses6. Fine-tune on demonstrations of desired responsesStep 7: Optimize chat responses using preference data7. Optimize chat responses using preference data

Decide which text enters training

The data pipeline has separate operations for repeated material, document quality, and domain balance. Deduplication acts across document collections. This matters because web crawls are assembled in dumps, and material that appears unique in one dump may recur in another. The authors compare the broader operation with deduplication confined to a single dump. In their comparison, processing 91 Common Crawl dumps together removes four times as many documents as the single-dump approach. The quantity measured is document removal. It describes what the larger search can find before training begins.

Filtering considers properties of the language and the meaning of the material. The authors describe examining quality from the level of the individual document and from the perspective of the collection as a whole. Their aim is to make the retained text more informative for the computation spent processing it. Remixing then alters how often domains appear. A domain can be well represented by the documents that survive filtering yet constitute too little of the overall corpus. Raising its share changes which kinds of text the network encounters during training.

The large runs use 2 trillion tokens, with Chinese and English providing most of the material. A token count describes the input seen by the network after text has been segmented. It is different from a count of words or documents. This matters when interpreting the raw corpus, the sample used to build the tokenizer, and the number of tokens allocated to a run. These quantities describe separate operations.

Turn documents into prediction targets

Tokenization is the conversion of text into the discrete units that the network reads and predicts. DeepSeek uses byte-level Byte-Pair Encoding, implemented with the tokenizers library. The method learns frequent pair merges starting from byte representations, allowing recurring stretches of text to become single units. The team trains this vocabulary on roughly 24 GB of multilingual material.

A preprocessing step limits where the merges can occur. The authors keep boundaries between categories such as newlines, punctuation, and Chinese-Japanese-Korean characters, so the learned merges respect those divisions. They split numbers into individual digits, following the LLaMA procedure described in the paper. These decisions determine the sequence of prediction targets the network encounters. For example, the digits of a number arrive as separate units under this scheme.

The learned inventory contains 100,000 conventional entries. With 15 special tokens, it contains 100,015 entries. The network’s training configuration sets the vocabulary dimension to 102,400. The authors choose that dimension for computational efficiency and to leave room for further special entries. The multilingual sample determines what the tokenizer learns, the resulting inventory describes which tokens it defines, and the training dimension reserves space in the network for representing the vocabulary.

Set the architecture and the update schedule

Inside a layer, DeepSeek generally follows the LLaMA design. RMSNorm is applied before the main transformations, an arrangement called Pre-Norm. The feed-forward part of the layer transforms the representation at each token position and uses SwiGLU as its activation. Rotary embeddings supply positional information to attention, giving the attention calculation a way to account for token positions. The rotary design comes from RoFormer.

The intermediate width of the feed-forward component is specified as follows.

d_FFN = (8/3) · d_model

Here d_FFN denotes the feed-forward intermediate dimension, and d_model is the width of the representations used by the network. The ratio 8/3 and multiplication dot specify how that intermediate dimension is set from the network width. The equals sign gives a design choice used in the architecture.

The 7B network has 30 layers, and the 67B network has 95 layers. The authors say these depths help divide the network into stages for pipelined execution. The 67B system also uses grouped-query attention to reduce inference cost. In this form of attention, groups of queries share key and value representations. The authors spend the capacity they want to add on depth. They contrast this choice in the paper with the practice of widening the feed-forward component when building a grouped-query network.

Weights are initialized with a standard deviation of 0.006. The optimizer is AdamW, whose moving-average coefficients β₁ and β₂ are 0.9 and 0.95. Those coefficients govern the histories of the gradient and of its squared magnitude used to compute updates. Weight decay is set to 0.1, and gradient clipping is set to 1.0 to limit large gradients. The authors draw on Decoupled Weight Decay Regularization for the optimizer.

The learning-rate schedule starts with 2000 warmup steps, at the end of which the rate reaches its maximum. The rate drops to 31.6% of that maximum after the run has consumed 80% of the planned tokens. It drops again after 90%, reaching 10% of the maximum. The peak itself varies with the run. The schedule describes when that peak is reached and what fractions of it are used later.

A long initial phase makes several experiments easier to connect. Runs that share an initial configuration can use its saved state before taking different paths through the later reductions. Similarly, when a run is extended, the early phase can be kept under the authors’ reuse strategy. This is the operational reason for examining a schedule with discrete reductions alongside cosine decay, which changes the rate along a smooth curve tied to the planned duration.

Work out which updates suit each budget

The authors begin with a grid search, training across combinations of candidate batch sizes and learning rates. The initial budget is 1e17 FLOPs, and the example shown has a cost of 177M FLOPs/token. FLOPs count floating-point operations. The plot shows a broad region in which the observed loss stays close to its best value. That is useful for the next stage, where a rule for choosing effective settings is more practical than a precise search over every possible batch and learning rate.

They extend the search from 1e17 to 2e19 FLOPs and use the shared early portion of the schedule to reduce repeated work. They call a setting near-optimal when its generalization error is no more than 0.25% above the observed minimum. They then estimate power laws from the settings inside this tolerance. A power law represents the result by raising compute to a fitted exponent and multiplying by a fitted coefficient.

η_opt = 0.3118 · C^(−0.1250)

η_opt denotes the fitted near-optimal learning rate, with the subscript opt identifying the estimate. C is the compute budget in the authors’ FLOP convention. The dot is multiplication, 0.3118 is the fitted coefficient, and the caret introduces the exponent −0.1250. Its negative sign means the fitted learning rate falls as the budget rises.

B_opt = 0.2920 · C^(0.3271)

B_opt denotes the fitted near-optimal batch size, and C again denotes the compute budget. The coefficient 0.2920 multiplies the power of compute, here with exponent 0.3271. The positive exponent makes the fitted batch size increase with the budget. As in the learning-rate equation, opt refers to the setting estimated from the near-optimal region.

The authors check these fits at a budget of 1e20 FLOPs. The case they illustrate costs 2.94B FLOPs per token. The fitted settings lie in the middle of the effective region in that check. This provides a basis for using the equations in the allocation experiments, where running a full update-setting search for every combination of network and data would add considerably to the training effort.

Account for the cost of a token

A conventional compute approximation in the earlier research starts with the parameter count.

C = 6 · N · D

C is the approximate training compute in floating-point operations, N is the parameter count used for the network, and D is the number of training tokens. The dots indicate multiplication. The coefficient 6 is the conversion used by the parameter-based approximation to represent training work per token.

There are different ways to choose the parameter count in that expression. The authors distinguish a count excluding vocabulary-related parameters from a complete count. They write the corresponding per-token proxies for the architecture as follows.

6N₁ = 72 · n_layer · d_model²

N₁ counts the non-embedding parameters, and 6N₁ is that count multiplied by the approximation factor 6. The term on the right uses n_layer for network depth and d_model for network width. The superscript ² means the width is squared. 72 is the coefficient on this layer-and-width term, with dots indicating multiplication.

6N₂ = 72 · n_layer · d_model² + 6 · n_vocab · d_model

N₂ denotes the complete parameter count, and 6N₂ again converts it using the approximation factor 6. The first term carries over the 72 coefficient, layer count n_layer, and squared width d_model². The plus sign adds a vocabulary contribution, in which n_vocab is the vocabulary size, d_model is the same width, and 6 multiplies their product. The term shows where the complete count departs from the non-embedding count.

Attention needs arithmetic to compare and combine representations across positions. The expressions built from parameter counts omit that sequence-dependent work. DeepSeek uses a measure that adds it and keeps vocabulary computation outside the scale variable.

M = 72 · n_layer · d_model² + 12 · n_layer · d_model · l_seq

M is non-embedding FLOPs per training token. The first term retains the layer count n_layer, width d_model, and coefficient 72 from the non-embedding proxy. The added term with coefficient 12 represents attention operations. The new variable l_seq is sequence length, which lets the accounting respond to the amount of context processed. The plus sign combines the contributions, and the dots multiply each term’s factors.

In this convention, the budget for the allocation study is expressed directly in terms of the work per token.

C = M · D

C denotes the budget measured in non-embedding floating-point operations, M is the corresponding work per token, and D is the number of training tokens. The multiplication dot combines a per-token cost with the token count. This equality gives the compute accounting used in the scaling experiments. It identifies which allocations can be compared at one budget.

The authors report that the parameter-based proxies can differ from the attention-inclusive measure by as much as 50% in their comparisons, with especially pronounced differences for the small configurations. At small widths, a term involving sequence length or vocabulary size can carry appreciable weight next to the term involving width squared. The exact cost attached to each small run matters because those runs are the points from which the large-run prediction is fitted.

Compare networks that use the same compute

The fixed-budget comparison is called an IsoFLOP profile. Imagine reading across one such profile. At one end are runs in which each token costs less computation and the budget supports more tokens. At the other are runs in which the network does more work on each token and sees fewer of them. Each point receives a validation score, and the preferred region is where error is lowest. The authors use this procedure for several budgets so they can study how the preferred region moves when the budget grows.

The research question can be written as a constrained minimization.

(M_opt(C), D_opt(C)) = argmin_{M,D subject to C = M·D} L(N,D)

M_opt(C) and D_opt(C) are the preferred network scale and training-token count for budget C. The comma pairs the quantities, and the parentheses around C indicate dependence on compute. argmin returns the choices that minimize the expression following it. The variables allowed to vary are M, work per token, and D, number of tokens. The constraint requires their product to equal C. L denotes generalization error. The paper retains N, the parameter-based network-size symbol, in the loss argument. In the experiment, a given network configuration is assigned an M for compute accounting and evaluated for its loss after training on D tokens.

The authors run profiles at 8 budgets from 1e17 to 3e20 FLOPs, with around 10 candidate allocations at each budget. Batch size and learning rate come from their earlier fits. The independent validation collection has 100M tokens and a distribution similar to the training corpus. They compare predictive loss in bits-per-byte, which expresses the information needed to encode the observed text under the system’s predictions relative to the number of bytes in that text. A smaller value indicates that the observed text receives better predictions under this measurement.

The general scaling question in parameter-based notation has a network side and a data side.

N_opt ∝ C^a

N_opt is the preferred parameter-based network size at budget C. The proportionality sign ∝ specifies a power relationship up to a multiplicative factor. The caret marks a as its network-scaling exponent. The exponent describes how the preferred size responds as compute changes.

D_opt ∝ C^b

D_opt is the preferred token count and C again denotes compute. The right-hand expression is compute raised to the data-scaling exponent b. Here ∝ leaves the coefficient unspecified. DeepSeek keeps the token count for the data side of the problem and estimates network scale with M.

The fitted network relationship for the main scaling analysis is:

M_opt = M_base · C^a,   M_base = 0.1715,   a = 0.5243

M_opt is the preferred non-embedding FLOPs per token. M_base is the fitted multiplier, with value 0.1715. C denotes compute, the caret raises it to a, and a is the fitted network exponent 0.5243. The multiplication dot applies the coefficient to that power of compute. The comma-separated entries give the fitted constants for the relationship.

D_opt = D_base · C^b,   D_base = 5.8316,   b = 0.4757

D_opt gives the preferred training-token count. The multiplier D_base is 5.8316. The caret indicates that compute C is raised to the data exponent b, whose fitted value is 0.4757, and the dot multiplies that power by D_base. The comma-separated entries specify the two fitted constants. Read together, the two relationships describe the movement of the loss-minimizing allocations as training budgets grow under this setup.

The authors fit a separate relationship between compute and the lowest loss observed along these profiles. The allocation fits concern how to configure a run. The loss fit concerns what predictive performance to expect at scale. The paper then checks the latter against DeepSeek LLM 7B and 67B. Its validation-loss figure gives the basis for the extrapolation claim.

The team also repeats the scaling analysis across corpus versions. It studies early internal data, the current internal data, and OpenWebText2, which was used in earlier scaling research. The authors’ quality assessment places the early internal collection below the current one and ranks OpenWebText2 highest. They attribute that last assessment to the greater scope for careful processing of a smaller collection. For each corpus, they examine how the fitted network and data exponents divide the benefit of increasing compute.

Keep the full training run practical

The authors train with HAI-LLM. The framework distributes work across devices in several ways. Data parallelism assigns different training examples to different workers. Tensor parallelism divides operations within a layer, sequence parallelism distributes work along the sequence, and pipeline parallelism assigns successive groups of layers to different stages. The paper identifies the pipeline schedule as 1F1B. It uses FlashAttention to improve hardware utilization and ZeRO-1 to divide optimizer state across data-parallel workers. Together these measures address the demands of GPU and parallel computing.

Some of the engineering is concerned with time spent exchanging data between devices. The framework overlaps selected communication operations with computation and fuses operations such as normalization and optimizer updates where possible. It trains in bf16 and accumulates gradients in fp32, using the higher precision for the sums that drive weight changes. The cross-entropy kernel, which computes the training loss, converts the output scores to fp32 as needed and then reuses the storage occupied by those scores for their gradients. The paper describes this as a way to reduce memory use.

Weights and optimizer state are saved asynchronously every 5 minutes. The authors say this limits lost work from an occasional hardware or network failure to that checkpoint interval. Temporary checkpoints are regularly removed to manage storage. They also support resuming under a different parallel configuration, so a run can adapt to changing cluster load. During evaluation, the team uses vLLM for generation and continuous batching on non-generative tasks to reduce padding and the need to tune batch size manually. The serving work behind vLLM is described in Efficient Memory Management for Large Language Model Serving with PagedAttention.

Teach the base checkpoints to respond to requests

The supervised stage uses examples of instructions and responses in Chinese and English. The instruction collection has around 1.5 million instances. Of these, 1.2 million are categorized as helpfulness examples. Within that portion, mathematics represents 46.6%, general language tasks 31.2%, and coding 22.2%. The safety portion contains 300K examples. The mixture gives mathematics and code a substantial presence alongside general language use and harmless behavior.

In supervised fine-tuning, the demonstrations provide target completions. An epoch is a pass through the training data used at that stage. DeepSeek gives its 7B system 4 epochs at a learning rate of 1e-5. For 67B it uses 2 epochs at 5e-6. The authors chose the shorter duration for the larger system after observing earlier saturation and a greater problem with overfitting. They track mathematics and code benchmarks during this process and separately check for replies that repeat a span of text and fail to terminate.

For 7B, the supervised procedure starts with the full instruction mixture and then gives the system a stage of conversational training with mathematics and code excluded. The extra stage was motivated by repetition in the initial chat checkpoint. At 67B, the authors keep the initial supervised stage. They assess the value of the additional stage against both repetition and benchmark results, which gives a different answer at the two sizes.

Preference training follows supervised training. The team collects multilingual prompts for helpfulness, covering kinds of requests such as creative writing, instruction following, and answering questions. Its chat systems generate candidate replies. The authors use a similar procedure to construct preference material for harmlessness. The comparison between responses provides the training signal for Direct Preference Optimization, or DPO. The reported run lasts one epoch, uses a batch size of 512 and a learning rate of 5e-6, and applies warmup followed by cosine scheduling. That final step creates a chat checkpoint whose open-ended performance can be compared with the supervised version.

Experiments and results

The paper’s measurements run from predictive loss to answers that people or another language system judge. The scaling validation set tests a forecast about training. The base comparisons ask whether that training yields competitive task performance. For chat, the authors add measures of open-ended responses, performance on recent tasks, and safe handling of sensitive requests. The result is a set of comparisons whose meaning depends on how the answer is elicited and scored.

Predictive loss at the larger scale

In the scaling analysis, each fixed-compute profile supplies a low-loss configuration for fitting the relationship between budget and validation performance. The authors report that the resulting curve predicts the bits-per-byte performance of DeepSeek LLM 7B and 67B well. They describe this as a successful prediction at a compute budget 1000× larger than those of the small experiments. The metric here is predictive loss on the independent validation text. The forecast concerns the base training process, before supervised or preference adaptation.

There are two parts to reading the result. The allocations show where the best observed combination of per-token computation and token count lies at each budget. The performance curve shows how the lowest observed error changes with budget. Together they help the team plan the resource split and judge whether the corresponding large pretraining runs reach the expected level of predictive performance. The benchmark curves in the appendix add a different view. The authors report continued gains on the tasks plotted across the training checkpoints and expect further training to help. The plots describe the runs through their reported endpoints.

How benchmark answers are scored

For tasks with supplied choices, the evaluator scores each candidate by perplexity and picks the least surprising option under the network’s predictions. The score is normalized so that differences tied to the form of a candidate can be taken into account. For ARC and OpenBookQA the paper uses unconditional normalization, which adjusts the score using how expected the answer is without the question context. On the other choice-scoring tasks, it uses length normalization. For WinoGrande, the appendix explains that the alternatives are separate prefixes paired with one completion. The evaluator uses the perplexity of that completion to choose among the prefixes.

These protocols apply across task families. The broad subject tests include MMLU, C-Eval, and CMMLU. Reading tests include RACE and C3, and the coverage of Chinese includes CHID for idioms and CCPM for classical poetry matching. Other choice-scoring tasks such as PIQA and HellaSwag supply different tests of language understanding. Scores on these tasks reflect what the network prefers among the candidates under the particular scoring rule.

With generated answers, the evaluator instead lets the system continue the prompt and extracts a result from the resulting text. It uses greedy decoding, which chooses the highest-scoring next token at each step. This is the approach for MATH and GSM8K, and for code tasks such as HumanEval and MBPP. It also applies to closed-book question answering and to several reasoning tests. For closed-book questions the answer is generated from the prompt and the trained network, without consulting an external source during this evaluation. The paper uses TriviaQA and Natural Questions for that part of the comparison.

Pile-test is evaluated in bits-per-byte on the test text. DROP, a reading comprehension task, uses F1, which reflects overlap between predicted and reference answers. The main base benchmark table uses accuracy for the other reported tasks. Evaluation sequence lengths are capped at 2048 or 4096 depending on the benchmark. In tasks with demonstrations, the stated shot count is a maximum. The context limit or the availability of examples from the same passage can lead the evaluator to use fewer, as the authors explain for RACE.

What the base comparisons establish

The central comparisons pair the DeepSeek networks with LLaMA-2 at the small and large ends of the reported size range. The authors say both families process 2T tokens in this comparison. The emphasis of the LLaMA-2 corpus is English, while DeepSeek divides its exposure across a corpus mainly in English and Chinese. The authors report broadly comparable English understanding. At the larger size, they find that DeepSeek 67B leads LLaMA-2 70B on MATH and GSM8K, as well as HumanEval and MBPP. They also identify an advantage on BigBench Hard, or BBH, and on Chinese benchmarks.

The strength of the comparison varies across sizes. The authors report a larger advantage over LLaMA-2 at 67B than at 7B. They interpret this as evidence that the demands of the two languages compete more strongly for capacity in the smaller system. DeepSeek’s own two base sizes see the same training corpus, and the authors point to GSM8K and BBH among the tasks that benefit from size. They propose that the larger system makes more effective use of the examples supplied with the question. They also note that increasing the amount of mathematics data may narrow the gap. The paper’s result is the observed score pattern, while those explanations concern what might produce it.

The Chinese evaluation illustrates why the paper reports several tasks within a language. CMath uses Chinese to present mathematics questions, and LLaMA-2 does well on it in spite of its English emphasis. That observation is compatible with mathematical skills carrying across languages. CHID depends on choosing Chinese idioms that fit the surrounding writing. The authors find a stronger advantage for DeepSeek there and associate it with direct exposure to Chinese text. The two results concern different demands on the same systems. A system can work through a mathematical problem expressed in Chinese while remaining weaker at a task that requires knowledge of an idiom’s conventional use.

The appendix reports comparisons with systems specialized for code or mathematics. On the coding comparisons, the authors describe DeepSeek LLM 67B as performing similarly to CodeLlama with less code in its training data. The mathematics discussion covers MATH and GSM8K as well as MGSM-zh and CMath. The authors also compare solving mathematics questions with generated programs against producing textual reasoning paths. They report stronger performance with programs in that comparison and a lead over ToRA on the benchmarks they discuss. This is evidence about the evaluated problem-solving procedures, where the form of a solution can influence whether it succeeds.

How the chat comparisons change the task

On MMLU, C-Eval, and CMMLU, as well as the math tests GSM8K and MATH, the paper uses 0-shot prompts for chat and few-shot prompts for the base checkpoints. Few-shot learning here refers to supplying worked examples in the prompt so the system can infer the task and expected answer form. A 0-shot question asks the system to handle the request without those demonstrations. The authors give the example of comparable MMLU performance for a chat checkpoint at 0-shot and a base checkpoint at 5-shot. They see practical value in achieving that result with a plain instruction, which is closer to how they expect people to ask questions.

For knowledge-oriented tasks, small movements go in both directions. The authors treat those fluctuations as weak evidence about which facts the system knows. A response can depend on whether the prompt elicits the expected format or answer. For reasoning-oriented tasks such as BBH and NaturalQuestions, they report modest improvements. Many of their instruction examples show a sequence of intermediate steps. They argue that supervised training helps elicit the suitable shape of a solution, an interpretation connected to Chain-of-Thought Prompting Elicits Reasoning in Large Language Models.

The task-specific gains are larger in mathematics and code. The paper reports score improvements of over 20 points on HumanEval and GSM8K after fine-tuning. The authors interpret these gains as evidence that the instruction collection supplies useful code and mathematics learning beyond what the base training had achieved on those tasks. They point to code completion and algebraic questions as areas where the resulting strengths may be concentrated. Some tasks move the other way. HellaSwag, which asks for a fitting continuation, is the example they highlight of declining performance after adaptation across sizes and pretraining checkpoints. The change in training objective can favor responding to an instruction while making some continuation judgments less accurate.

Conversation in English and Chinese

For the English test, MT-Bench covers 8 categories of multi-turn questions. A multi-turn exchange gives the evaluator a way to examine later answers to follow-up questions as well as the initial reply. The authors compare with LLaMA-2-Chat 70B, Xwin 70b v0.1, and TÜLU 2+DPO 70B, reporting a higher score for DeepSeek LLM 67B Chat. Its average of 8.35 is described as comparable to GPT-3.5-turbo. The DPO version scores 8.76 and places behind GPT-4 in the reported comparison. The benchmark and judging approach come from Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena.

Average DeepSeek 67B chat scores on English MT-Bench

The preference-trained checkpoint receives the higher rating for multi-turn conversation.

Average DeepSeek 67B chat scores on English MT-BenchDeepSeek 67B Chat: 8.35DeepSeek 67B Chat8.35DeepSeek 67B Chat with DPO (this paper): 8.76DeepSeek 67B Chat with DPO (this paper)8.76
The numbers
System or settingMT-Bench score
DeepSeek 67B Chat8.35
DeepSeek 67B Chat with DPO (this paper)8.76

AlignBench provides the Chinese open-ended test. Its 683 questions are distributed across 8 primary categories and 36 secondary categories. Professional reference answers and rating templates accompany the questions, and gpt-4-0613 is the judge for the reported leaderboard. The team uses the official AlignBench evaluation repository. It matches the benchmark’s sampling temperatures, using 0.7 for role-play, writing, and open-ended questions and 0.1 for the remaining tasks. Temperature affects how strongly generation favors its most probable continuations, so matching the setting keeps this part of the procedure comparable.

The authors report that DeepSeek 67B Chat ranks ahead of ChatGPT and the other baselines apart from the GPT-4 variants on the overall Chinese comparison. They report gains with DPO in nearly all measured areas. In the category for basic Chinese language ability, the preference-trained variant scores above the newer GPT-4 version in the comparison. In advanced Chinese reasoning, they report a clear lead over the other Chinese systems they compare. These claims attach to the category scores and overall rankings produced by the AlignBench procedure. The English and Chinese experiments each give evidence about open-ended responses in their own language and test design.

Recent tasks test whether benchmark strengths carry over

The authors add recent tests because familiar benchmarks can be affected by overlap with training data or by repeated development against the same questions. For code, they collect 126 problems from LeetCode’s Weekly Contest 351-372 and Bi-Weekly Contest 108-117, spanning July 2023 to Nov 2023. Each problem has over 20 test cases. A generated program is successful if it passes them all. The figure compares pass@1 on these out-of-domain contest problems with pass@1 on the in-domain HumanEval evaluation. This metric asks how often a single attempt solves the problem. The authors say they intend to release the contest collection with the DeepSeek Coder technical report.

The mathematical comparison uses 33 problems from the Hungarian National High School Exam. Human annotators assign scores under the rules of the exam’s published solutions. The authors also use IFEval, released on Nov 15th, 2023, which has around 500 prompts and draws on 25 kinds of verifiable instruction. A prompt can require several things of the response, making it possible to test whether the generated answer complies with the request at the prompt level. The reported measure is IFEval’s prompt-level loose metric.

The held-out comparisons include ChatGLM3, Qwen 72B Chat, Baichuan2, and Yi-34B Chat. The authors describe a gap between larger and smaller systems on these more recent tasks, including cases where the conventional test suggests a close contest. ChatGLM3 records 52.4 on MBPP, which the paper describes as close to DeepSeek 67B’s score. In the newer coding comparison, the authors report a considerably larger advantage for DeepSeek. They also point to ChatGLM3’s GSM8K score of 72.3 alongside weaker Hungarian exam performance than the larger systems. The evidence comes from seeing the rankings or gaps change when the task changes. The authors’ own 7B checkpoint also looks more competitive against small alternatives on the held-out tasks than it does on some ordinary benchmarks.

What the safety tests count

For the in-house safety evaluation, a 20-person expert team drawn from different disciplines defines categories, writes test cases, and prepares review guidelines. The resulting test set contains 2400 questions. The team varies the presentation of sensitive requests as well as their topics, including role-play and multi-turn exchanges. This design checks whether the treatment of a request is sensitive to the way it is posed. Trained reviewers inspect the generated answers and cross-check annotations.

The reviewers distinguish a safe answer, an unsafe answer, and a refusal. For the reported count of secure responses, both safe replies and refusals are classified as successes. The paper describes favorable outcomes across numerous categories for DeepSeek 67B Chat. It also evaluates the system on Do-Not-Answer, which contains 939 prompts organized by risk. DeepSeek 67B Chat scores 97.8 on that benchmark, above the scores cited for ChatGPT and GPT-4. The table identifies a higher score with better performance on the benchmark’s safety criterion.

What the ablations show

The schedule changes the training path and the ability to reuse it

The scheduler comparison uses a network with 1.6 billion parameters and a training set of 100 billion tokens. Cosine decay and the multi-step schedule produce different loss trajectories. The authors find their final performance essentially comparable in this test. The value of the stepped schedule therefore comes partly from what can be done with a saved checkpoint. Its early phase lets the team reuse training when it changes the planned token budget at a fixed network size.

The authors also compare allocations of tokens among the stages of the stepped schedule. They see slightly better performance with some alternative proportions. They settle on 80%, 10%, and 10% for the successive phases because the long opening phase is valuable for continuation. The comparison clarifies the engineering choice. Final loss is one criterion. The amount of completed training that stays useful when plans change is another.

Reusing the same runs isolates the effect of compute accounting

The appendix recalculates the scale of the existing IsoFLOP runs using the two parameter-based expressions and fits new curves. The underlying trained checkpoints and their losses are reused. This lets the authors observe the effect of changing the horizontal accounting and resulting fit while keeping the experimental runs fixed.

They report that the different measures produce more visible differences in preferred allocations at lower budgets and closer allocations higher up. The forecast of large-scale loss is also sensitive to the choice. Using the non-embedding parameter proxy makes the large checkpoints look better in the forecast than they turn out to be. Using the full parameter proxy makes the forecast too pessimistic. The non-embedding FLOP measure gives the closest predictions. The comparison supports the role of attention-inclusive accounting in this particular extrapolation and shows why the compute estimates for the smallest runs receive so much attention in the method.

Corpus comparisons move the preferred allocation

With early internal data, current internal data, and OpenWebText2, the authors observe a consistent order across their quality judgments and fitted allocation exponents. As judged quality rises, the exponent on network growth increases, and the exponent on token growth falls. In practical terms, expanding compute favors increasing the work the network does on each token more strongly in the higher-ranked corpus. Each fitted relationship comes from the corresponding corpus and validation setup.

The authors suggest a mechanism involving clearer text and how difficult its patterns remain to predict after training. The direct comparison is among whole corpora. Source proportions and processing histories both vary, so the measurement shows that the observed allocation depends on the data. It gives an empirical reason to revisit the compute split after a major corpus change. It leaves open how much of the shift is due to each processing decision or each domain.

A conversational stage helps the smaller checkpoint stop repeating

The authors check repetition on 3868 Chinese and English prompts. They look for responses that fail to finish and loop over text, a behavior whose effect can be obvious in an interaction even when a separate task score looks good. They find that adding more mathematics examples during supervised adaptation tends to increase this problem. Their explanation is that similar patterns recur in worked mathematics responses and that the weaker system can struggle to follow those patterns appropriately.

The staged comparison starts with all instruction data, then trains the 7B checkpoint on conversational examples while omitting math and code. The repetition ratio at temperature 0 is 2.0% after the initial stage and 1.4% after the conversational stage. The authors report that code and math scores hold up and that instruction following improves on IFEval’s prompt-level loose accuracy. At 67B the repetition ratio is already below 1% after initial supervised training, and the extra stage hurts benchmark scores. The two sizes consequently use different supervised recipes.

DeepSeek 7B repetition ratio on Chinese and English prompts

The additional conversational stage reduces the share of replies that loop without finishing.

DeepSeek 7B repetition ratio on Chinese and English promptsAfter supervised training on the full mixture: 2.0After supervised training on the fullmixture2.0After additional conversational training (this paper): 1.4After additional conversational training(this paper)1.4
The numbers
System or settingrepetition ratio %
After supervised training on the full mixture2.0
After additional conversational training (this paper)1.4

Practice with answer choices transfers unevenly

The authors add 20 million Chinese multiple-choice examples in an alignment experiment. To lower the risk of direct overlap with either evaluation, they remove duplicates found in the C-Eval validation set or the CMMLU test set. The resulting system improves on Chinese multiple-choice tasks and on English tasks using that format. The improvement spans languages, which is consistent with learning how to handle options and map them to the question as part of the task.

The pattern changes when the evaluator asks the system to generate its own answer. On TriviaQA and the in-house ChineseQA collection, the authors see none of the corresponding improvement. They interpret the combined results as a gain in multiple-choice problem solving with limited transfer to the kind of answer generation used in conversation. They leave the multiple-choice material out of the final pretraining and fine-tuning recipes. The controlled addition gives a concrete example of how a score can improve through familiarity with the procedure that produces it.

A related comparison concerns the timing of instruction examples. The authors add 5 million such examples, predominantly multiple-choice questions, in the final 10% of pretraining. The base checkpoint’s benchmark performance improves. The final outcome, however, is nearly identical to what they obtain by using the same data during supervised adaptation. The effect in their experiment is to make the gain visible earlier in the pipeline. The authors leave open the use of sizable instruction collections during pretraining, and their decision for this project reflects the kinds of instruction data they had available.

Preference training and system instructions affect different behaviors

The comparison before and after DPO gives a clear gain on open-ended ratings and relatively little movement on conventional benchmarks. That pattern fits the purpose of the preference stage. A response can become better suited to the question and receive a higher conversational judgment while its answer on a structured task stays the same. The standard benchmark comparison provides a check on those other abilities while the open-ended tests record changes in the way the chat system responds.

The system-prompt experiment makes a change at inference time. The authors derive a standing instruction from the LLaMA-2 prompt, asking for helpful, honest, and safe conduct and for uncertainty to be acknowledged. The effect depends on size. They report a slight decline when the prompt is added to 7B and an improvement at 67B. They suggest that the larger network follows the intended instructions more effectively, and that a difference between training and test conditions might contribute to the smaller system’s decline. The test changes the presence of the instruction. The explanation in terms of understanding remains the authors’ interpretation of the resulting scores.

Limitations

Limits the authors identify

The authors acknowledge that chat responses can contain made-up information or unverified advice. The knowledge in a pretrained checkpoint also remains tied to what it absorbed during training. A later change in the world can make a once-correct answer obsolete. The paper’s example system instruction tells the chat system how to behave when it lacks an answer, but the documented possibility of hallucination applies to the resulting systems. Success on a question-answering benchmark gives evidence about questions under that evaluation’s conditions.

The paper explicitly limits claims about language coverage. The Chinese collection leaves gaps on some topics specific to Chinese, even though Chinese is one of the main training languages. English and Chinese predominate in the corpus, leaving proficiency in other languages uncertain. The results for Chinese mathematics and idioms illustrate why language support is a question of task and content as well as language identity. Even within a language heavily represented in training, broad coverage and knowledge of particular topics can differ.

The authors also state that their hyper-parameter fits use overall compute as the explanatory variable. They find slightly different effective settings when they vary network and data allocation at a fixed budget. That observation leaves room for a more detailed account of how batch size and learning rate respond to training dynamics. They mention earlier research relating batch size to generalization error and leave that relationship for further study in their setting. Their broad near-optimal region makes the compute rule useful even as the exact choice remains conditional.

The authors describe the data-quality mechanism as a speculation and plan further analysis. The fitted relationships summarize behavior under their corpus definitions and training conditions. They also identify a limit to the breadth of the code and math improvements. Supervised material can build substantial competence in some task forms, while wider coverage may require more varied material during pretraining. Their reported mathematics and code gains support those evaluations and motivate work on the underlying corpus.

Limits that follow from the experimental design

The validation collection used to choose the compute allocation resembles the training distribution. This makes it suited to comparing predictive generalization under the authors’ training setup. The minimum found on that validation set is an answer to a specific resource question. Whether an allocation would also maximize performance for a particular language, improve factual reliability, or produce better chat behavior remains open. The successful prediction for the two large runs is a forecast of bits-per-byte under the study’s own scale and loss conventions.

The measure of per-token compute deliberately leaves vocabulary work outside its accounting. Its value in the paper is the quality of the forecast and the way it represents attention cost. Actual training effort also depends on the execution details the paper discusses, including memory use, device communication, and pipeline behavior. The fitted outcome therefore refers to the specified compute unit. Applying the coefficients to a network with a different attention design or a markedly different sequence length would depend on how well its costs and loss behavior are represented by that convention.

The quality comparison varies whole datasets. A reader can see both a quality ordering and a shift in the fitted exponents. The contributions of deduplication, document selection, domain mix, and properties of the sources remain entangled. In particular, the fourfold increase in document removals in the broad deduplication comparison measures the scale of removal. Inferring a change in final loss from that operation alone would require a training comparison that isolates it. The paper offers a description of the filtering and remixing goals, with the exact document rules and source mixture left unspecified in that description.

Some base-to-chat comparisons change the checkpoint and the prompt conditions together. A base checkpoint receiving demonstrations and a chat checkpoint responding to a bare instruction can arrive at similar scores by different routes. That design is relevant to comparing how the systems are used. To attribute the entire score change to new knowledge or an improved reasoning process would require disentangling the prompt effects. Similarly, the suggested explanations for the size differences in bilingual performance and system-prompt behavior remain interpretations of the measured patterns. The reported comparisons change capacity along with the design or training settings appropriate to each size.

The recent tests improve coverage of generalization by moving beyond some of the most familiar benchmarks. Their release dates help motivate the selection, and the varied problems tell the reader something about transfer. Publication timing by itself leaves the exact overlap between training and test material unresolved. The measurements also have protocol-specific meanings. A contest program judged by its test cases, an exam response scored by a person, and an instruction evaluated under a verifiable rule represent distinct kinds of success.

Finally, the safety result combines safe answers and refusals in its secure total. It measures avoidance of an unsafe response in the tested cases. The usefulness of safe assistance and the appropriateness of refusing benign requests are separate questions under that scoring rule. In the open-ended evaluation, the measured quality is the judgment produced by the benchmark’s reference material, rating guidance, and judge. These are valuable comparisons within each protocol, with broader reliability and suitability for individual uses left to other evidence.

What came after

The subsequent citing work takes up several questions that DeepSeek LLM put into one development program. Some studies focus on the text used for training, others on efficient networks or mathematical reasoning, and others on how to tell whether performance carries over to a fresh task. The citation relationships establish connections to those questions. Specific claims about reuse of a training run, an allocation equation, or a benchmark require evidence about the individual follow-on study.

Data and architecture become separate research directions

DataComp-LM makes the search for better training sets its central problem. That focus follows a question raised by the DeepSeek experiments, where changing the dataset changed the fitted recommendation about training resources. DeepSeek’s comparison starts with collections it can rank under its own assessment and asks how their scaling behavior differs. The later work’s stated focus puts the search for datasets themselves at the center of the investigation. DataComp-LM

FineWeb2 addresses pretraining data processing across languages. The connection is to the part of the DeepSeek method that tries to improve text quality and adjust domain representation before any scaling experiment is run. DeepSeek demonstrates the importance of those choices for a corpus dominated by Chinese and English and lists other-language proficiency as an open concern. FineWeb2 frames the processing problem across languages, where the adequacy of a pipeline has to be considered over broader coverage. FineWeb2

DeepSeek-V2 takes up the mixture-of-experts direction that the authors had identified in their plans for sparse systems. In such a design, different input can engage different parts of the network, making the amount of work done on a token a natural consideration alongside overall capacity. DeepSeek LLM had already emphasized this distinction for its scaling measurements through attention cost and sequence length. DeepSeek-V2 makes efficiency and mixture-of-experts design the stated focus of the next system. DeepSeek-V2

Mathematics and code get more specific tests

DeepSeekMath puts open mathematical reasoning at the center of the research problem. In DeepSeek LLM it appears as one strand of a bilingual system, with evidence from pretraining, specialized instruction data, generated programs, and the change in rankings on a recent exam. DeepSeekMath makes the effort to extend mathematical problem solving the purpose of a dedicated study. The continuity is the problem of improving mathematics beyond a single prompt format or evaluation. DeepSeekMath

MathBench develops a hierarchical mathematics benchmark with an explicit distinction between theory and application. This provides another way to make sense of the uneven strengths the DeepSeek authors discuss. A gain on algebraic questions or on a standard school problem set gives information about the forms of mathematics covered by that test. Structuring evaluation around theory and application makes it possible to frame more specific questions about the reach of those gains. MathBench

LiveCodeBench centers code evaluation and contamination. DeepSeek LLM’s use of recent LeetCode contests brings that issue into a comparison with HumanEval, where familiar and newer tasks give different impressions of relative strength. LiveCodeBench takes contamination and the breadth of code evaluation as design concerns for the benchmark itself. This shifts the emphasis from adding a check to one technical report to making the quality of the check a subject of research. LiveCodeBench

The questions extend to adaptation and other modalities

LlamaFactory focuses on unified, efficient fine-tuning across many systems. It addresses the stage where DeepSeek LLM found that training duration, instruction mixture, and preference optimization can change different aspects of the final checkpoint. In the earlier study, the small and large systems call for different amounts and kinds of adaptation. The later work’s focus is how to support adaptation efficiently across a wider set of systems. LlamaFactory

DeepSeek-VL turns to real-world vision-language understanding, extending the research program to inputs that include images. The original paper’s empirical allocation relationships concern text and its validation loss. The multimodal direction broadens the question of what resources and evidence matter when an input can carry information visually as well as through words. Janus-Pro likewise places data and capacity scaling in a program for multimodal understanding and generation. These works situate the earlier training study within a program that asks related questions about scale and behavior under different input and output conditions. DeepSeek-VL and Janus-Pro

Cite

Cite as DeepSeek-AI, :, Xiao Bi, Deli Chen, Guanting Chen, Shanhuang Chen, Damai Dai, Chengqi Deng, Honghui Ding, Kai Dong, Qiushi Du, Zhe Fu, Huazuo Gao, Kaige Gao, Wenjun Gao, Ruiqi Ge, Kang Guan, Daya Guo, Jianzhong Guo, Guangbo Hao, Zhewen Hao, Ying He, Wenjie Hu, Panpan Huang, Erhang Li, Guowei Li, Jiashi Li, Yao Li, Y. K. Li, Wenfeng Liang, Fangyun Lin, A. X. Liu, Bo Liu, Wen Liu, Xiaodong Liu, Xin Liu, Yiyuan Liu, Haoyu Lu, Shanghao Lu, Fuli Luo, Shirong Ma, Xiaotao Nie, Tian Pei, Yishi Piao, Junjie Qiu, Hui Qu, Tongzheng Ren, Zehui Ren, Chong Ruan, Zhangli Sha, Zhihong Shao, Junxiao Song, Xuecheng Su, Jingxiang Sun, Yaofeng Sun, Minghui Tang, Bingxuan Wang, Peiyi Wang, Shiyu Wang, Yaohui Wang, Yongji Wang, Tong Wu, Y. Wu, Xin Xie, Zhenda Xie, Ziwei Xie, Yiliang Xiong, Hanwei Xu, R. X. Xu, Yanhong Xu, Dejian Yang, Yuxiang You, Shuiping Yu, Xingkai Yu, B. Zhang, Haowei Zhang, Lecong Zhang, Liyue Zhang, Mingchuan Zhang, Minghua Zhang, Wentao Zhang, Yichao Zhang, Chenggang Zhao, Yao Zhao, Shangyan Zhou, Shunfeng Zhou, Qihao Zhu and Yuheng Zou. 2024. DeepSeek LLM: Scaling Open-Source Language Models with Longtermism. arXiv:2401.02954.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2401.02954 · arXiv 2401.02954

@misc{deepseekai2024deepseek,
  title = {{DeepSeek LLM: Scaling Open-Source Language Models with Longtermism}},
  author = {DeepSeek-AI, :, Xiao Bi, Deli Chen, Guanting Chen, Shanhuang Chen, Damai Dai, Chengqi Deng, Honghui Ding, Kai Dong, Qiushi Du, Zhe Fu, Huazuo Gao, Kaige Gao, Wenjun Gao, Ruiqi Ge, Kang Guan, Daya Guo, Jianzhong Guo, Guangbo Hao, Zhewen Hao, Ying He, Wenjie Hu, Panpan Huang, Erhang Li, Guowei Li, Jiashi Li, Yao Li, Y. K. Li, Wenfeng Liang, Fangyun Lin, A. X. Liu, Bo Liu, Wen Liu, Xiaodong Liu, Xin Liu, Yiyuan Liu, Haoyu Lu, Shanghao Lu, Fuli Luo, Shirong Ma, Xiaotao Nie, Tian Pei, Yishi Piao, Junjie Qiu, Hui Qu, Tongzheng Ren, Zehui Ren, Chong Ruan, Zhangli Sha, Zhihong Shao, Junxiao Song, Xuecheng Su, Jingxiang Sun, Yaofeng Sun, Minghui Tang, Bingxuan Wang, Peiyi Wang, Shiyu Wang, Yaohui Wang, Yongji Wang, Tong Wu, Y. Wu, Xin Xie, Zhenda Xie, Ziwei Xie, Yiliang Xiong, Hanwei Xu, R. X. Xu, Yanhong Xu, Dejian Yang, Yuxiang You, Shuiping Yu, Xingkai Yu, B. Zhang, Haowei Zhang, Lecong Zhang, Liyue Zhang, Mingchuan Zhang, Minghua Zhang, Wentao Zhang, Yichao Zhang, Chenggang Zhao, Yao Zhao, Shangyan Zhou, Shunfeng Zhou, Qihao Zhu and Yuheng Zou},
  year = {2024},
  doi = {10.48550/arxiv.2401.02954},
  eprint = {2401.02954},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2401.02954}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/deepseek-2024-ai-deepseek-llm-scaling-open-source/

References

76 references, from the paper's own bibliography.

  1. J. Ainslie, J. Lee-Thorp, M. de Jong, Y. Zemlyanskiy, F. Lebrón, and S. Sanghai. Gqa: Training generalized multi-query transformer models from multi-head checkpoints. arXiv preprint arXiv:2305.13245, 2023. our card
  2. Anthropic. Introducing Claude, 2023. URL https://www.anthropic.com/index/introducing-claude. OpenAlex ↗ · Scholar ↗
  3. J. Austin, A. Odena, M. Nye, M. Bosma, H. Michalewski, D. Dohan, E. Jiang, C. Cai, M. Terry, Q. Le, et al. Program synthesis with large language models. arXiv preprint arXiv:2108.07732, 2021. our card
  4. J. Bai, S. Bai, Y. Chu, Z. Cui, K. Dang, X. Deng, Y. Fan, W. Ge, Y. Han, F. Huang, et al. Qwen technical report. arXiv preprint arXiv:2309.16609, 2023. OpenAlex ↗ · Scholar ↗
  5. Y. Bisk, R. Zellers, R. L. Bras, J. Gao, and Y. Choi. PIQA: reasoning about physical commonsense in natural language. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 7432–7439. AAAI Press, 2020. . URL https://doi.org/10.1609/aaai.v34i05.6239. our card
  6. T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, S. Agarwal, A. Herbert-Voss, G. Krueger, T. Henighan, R. Child, A. Ramesh, D. M. Ziegler, J. Wu, C. Winter, C. Hesse, M. Chen, E. Sigler, M. Litwin, S. Gray, B. Chess, J. Clark, C. Berner, S. McCandlish, A. Radford, I. Sutskever, and D. Amodei. Language models are few-shot learners, 2020. our card
  7. M. Chen, J. Tworek, H. Jun, Q. Yuan, H. P. de Oliveira Pinto, J. Kaplan, H. Edwards, Y. Burda, N. Joseph, G. Brockman, A. Ray, R. Puri, G. Krueger, M. Petrov, H. Khlaaf, G. Sastry, P. Mishkin, B. Chan, S. Gray, N. Ryder, M. Pavlov, A. Power, L. Kaiser, M. Bavarian, C. Winter, P. Tillet, F. P. Such, D. Cummings, M. Plappert, F. Chantzis, E. Barnes, A. Herbert-Voss, W. H. Guss, A. Nichol, A. Paino, N. Tezak, J. Tang, I. Babuschkin, S. Balaji, S. Jain, W. Saunders, C. Hesse, A. N. Carr, J. Leike, J. Achiam, V. Misra, E. Morikawa, A. Radford, M. Knight, M. Brundage, M. Murati, K. Mayer, P. Welinder, B. McGrew, D. Amodei, S. McCandlish, I. Sutskever, and W. Zaremba. Evaluating large language models trained on code. CoRR, abs/2107.03374, 2021. URL https://arxiv.org/abs/2107.03374. our card
  8. P. Clark, I. Cowhey, O. Etzioni, T. Khot, A. Sabharwal, C. Schoenick, and O. Tafjord. Think you have solved question answering? try arc, the AI2 reasoning challenge. CoRR, abs/1803.05457, 2018. URL http://arxiv.org/abs/1803.05457. our card
  9. K. Cobbe, V. Kosaraju, M. Bavarian, M. Chen, H. Jun, L. Kaiser, M. Plappert, J. Tworek, J. Hilton, R. Nakano, et al. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021. our card
  10. T. Computer. Redpajama: an open dataset for training large language models, 2023. URL https://github.com/togethercomputer/RedPajama-Data. our card
  11. Z. Dai, Z. Yang, Y. Yang, J. Carbonell, Q. V. Le, and R. Salakhutdinov. Transformer-xl: Attentive language models beyond a fixed-length context. arXiv preprint arXiv:1901.02860, 2019. OpenAlex ↗ · Scholar ↗
  12. T. Dao. FlashAttention-2: Faster attention with better parallelism and work partitioning. 2023. our card
  13. T. Dao, D. Y. Fu, S. Ermon, A. Rudra, and C. Ré. FlashAttention: Fast and memory-efficient exact attention with IO-awareness. In Advances in Neural Information Processing Systems, 2022. OpenAlex ↗ · Scholar ↗
  14. Z. Du, Y. Qian, X. Liu, M. Ding, J. Qiu, Z. Yang, and J. Tang. Glm: General language model pretraining with autoregressive blank infilling. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 320–335, 2022. our card
  15. D. Dua, Y. Wang, P. Dasigi, G. Stanovsky, S. Singh, and M. Gardner. DROP: A reading comprehension benchmark requiring discrete reasoning over paragraphs. In J. Burstein, C. Doran, and T. Solorio, editors, Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 2368–2378. Association for Computational Linguistics, 2019. . URL https://doi.org/10.18653/v1/n19-1246. our card
  16. L. Gao, S. Biderman, S. Black, L. Golding, T. Hoppe, C. Foster, J. Phang, H. He, A. Thite, N. Nabeshima, et al. The Pile: An 800GB dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027, 2020. our card
  17. Google. An important next step on our AI journey, 2023. URL https://blog.google/technology/ai/bard-google-ai-search-updates/. OpenAlex ↗ · Scholar ↗
  18. Z. Gou, Z. Shao, Y. Gong, Y. Shen, Y. Yang, M. Huang, N. Duan, and W. Chen. Tora: A tool-integrated reasoning agent for mathematical problem solving. CoRR, abs/2309.17452, 2023. . URL https://doi.org/10.48550/arXiv.2309.17452. our card
  19. P. Goyal, P. Dollár, R. Girshick, P. Noordhuis, L. Wesolowski, A. Kyrola, A. Tulloch, Y. Jia, and K. He. Accurate, large minibatch sgd: Training imagenet in 1 hour. arXiv preprint arXiv:1706.02677, 2017. our card
  20. D. Hendrycks, C. Burns, S. Basart, A. Zou, M. Mazeika, D. Song, and J. Steinhardt. Measuring massive multitask language understanding. arXiv preprint arXiv:2009.03300, 2020. our card
  21. D. Hendrycks, C. Burns, S. Kadavath, A. Arora, S. Basart, E. Tang, D. Song, and J. Steinhardt. Measuring mathematical problem solving with the math dataset. arXiv preprint arXiv:2103.03874, 2021. our card
  22. T. Henighan, J. Kaplan, M. Katz, M. Chen, C. Hesse, J. Jackson, H. Jun, T. B. Brown, P. Dhariwal, S. Gray, et al. Scaling laws for autoregressive generative modeling. arXiv preprint arXiv:2010.14701, 2020. our card
  23. J. Hestness, S. Narang, N. Ardalani, G. Diamos, H. Jun, H. Kianinejad, M. M. A. Patwary, Y. Yang, and Y. Zhou. Deep learning scaling is predictable, empirically. arXiv preprint arXiv:1712.00409, 2017. our card
  24. High-flyer. Hai-llm: 高效且轻量的大模型训练工具, 2023. URL https://www.high-flyer.cn/en/blog/hai-llm. OpenAlex ↗ · Scholar ↗
  25. J. Hoffmann, S. Borgeaud, A. Mensch, E. Buchatskaya, T. Cai, E. Rutherford, D. de Las Casas, L. A. Hendricks, J. Welbl, A. Clark, T. Hennigan, E. Noland, K. Millican, G. van den Driessche, B. Damoc, A. Guy, S. Osindero, K. Simonyan, E. Elsen, J. W. Rae, O. Vinyals, and L. Sifre. Training compute-optimal large language models. CoRR, abs/2203.15556, 2022. . URL https://doi.org/10.48550/arXiv.2203.15556. our card
  26. Y. Huang, Y. Bai, Z. Zhu, J. Zhang, J. Zhang, T. Su, J. Liu, C. Lv, Y. Zhang, J. Lei, et al. C-Eval: A multi-level multi-discipline chinese evaluation suite for foundation models. arXiv preprint arXiv:2305.08322, 2023. our card
  27. Huggingface Team. Tokenizers: Fast state-of-the-art tokenizers optimized for research and production, 2019. URL https://github.com/huggingface/tokenizers. OpenAlex ↗ · Scholar ↗
  28. F. i, M. Suzgun, M. Freitag, X. Wang, S. Srivats, S. Vosoughi, H. W. Chung, Y. Tay, S. Ruder, D. Zhou, D. Das, and J. Wei. Language models are multilingual chain-of-thought reasoners. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net, 2023. URL https://openreview.net/pdf?id=fR3wGCk-IXp. our card
  29. H. Ivison, Y. Wang, V. Pyatkin, N. Lambert, M. Peters, P. Dasigi, J. Jang, D. Wadden, N. A. Smith, I. Beltagy, and H. Hajishirzi. Camels in a changing climate: Enhancing lm adaptation with tulu 2. 2023. our card
  30. A. Q. Jiang, A. Sablayrolles, A. Mensch, C. Bamford, D. S. Chaplot, D. d. l. Casas, F. Bressand, G. Lengyel, G. Lample, L. Saulnier, et al. Mistral 7b. arXiv preprint arXiv:2310.06825, 2023. OpenAlex ↗ · Scholar ↗
  31. M. Joshi, E. Choi, D. Weld, and L. Zettlemoyer. TriviaQA: A large scale distantly supervised challenge dataset for reading comprehension. In R. Barzilay and M.-Y. Kan, editors, Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1601–1611, Vancouver, Canada, July 2017. Association for Computational Linguistics. . URL https://aclanthology.org/P17-1147. our card
  32. J. Kaplan, S. McCandlish, T. Henighan, T. B. Brown, B. Chess, R. Child, S. Gray, A. Radford, J. Wu, and D. Amodei. Scaling laws for neural language models. CoRR, abs/2001.08361, 2020. URL https://arxiv.org/abs/2001.08361. our card
  33. V. A. Korthikanti, J. Casper, S. Lym, L. McAfee, M. Andersch, M. Shoeybi, and B. Catanzaro. Reducing activation recomputation in large transformer models. Proceedings of Machine Learning and Systems, 5, 2023. our card
  34. T. Kwiatkowski, J. Palomaki, O. Redfield, M. Collins, A. P. Parikh, C. Alberti, D. Epstein, I. Polosukhin, J. Devlin, K. Lee, K. Toutanova, L. Jones, M. Kelcey, M. Chang, A. M. Dai, J. Uszkoreit, Q. Le, and S. Petrov. Natural questions: a benchmark for question answering research. Trans. Assoc. Comput. Linguistics, 7:0 452–466, 2019. . URL https://doi.org/10.1162/tacl\_a\_00276. our card
  35. W. Kwon, Z. Li, S. Zhuang, Y. Sheng, L. Zheng, C. H. Yu, J. E. Gonzalez, H. Zhang, and I. Stoica. Efficient memory management for large language model serving with pagedattention. In Proceedings of the ACM SIGOPS 29th Symposium on Operating Systems Principles, 2023. our card
  36. G. Lai, Q. Xie, H. Liu, Y. Yang, and E. H. Hovy. RACE: large-scale reading comprehension dataset from examinations. In M. Palmer, R. Hwa, and S. Riedel, editors, Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, EMNLP 2017, Copenhagen, Denmark, September 9-11, 2017, pages 785–794. Association for Computational Linguistics, 2017. . URL https://doi.org/10.18653/v1/d17-1082. OpenAlex ↗ · Scholar ↗
  37. H. Li, Y. Zhang, F. Koto, Y. Yang, H. Zhao, Y. Gong, N. Duan, and T. Baldwin. CMMLU: Measuring massive multitask language understanding in Chinese. arXiv preprint arXiv:2306.09212, 2023. our card
  38. W. Li, F. Qi, M. Sun, X. Yi, and J. Zhang. Ccpm: A chinese classical poetry matching dataset, 2021. OpenAlex ↗ · Scholar ↗
  39. X. Liu, X. Lei, S. Wang, Y. Huang, Z. Feng, B. Wen, J. Cheng, P. Ke, Y. Xu, W. L. Tam, X. Zhang, L. Sun, H. Wang, J. Zhang, M. Huang, Y. Dong, and J. Tang. Alignbench: Benchmarking chinese alignment of large language models. CoRR, abs/2311.18743, 2023. . URL https://doi.org/10.48550/arXiv.2311.18743. our card
  40. I. Loshchilov and F. Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017. our card
  41. H. Luo, Q. Sun, C. Xu, P. Zhao, J. Lou, C. Tao, X. Geng, Q. Lin, S. Chen, and D. Zhang. Wizardmath: Empowering mathematical reasoning for large language models via reinforced evol-instruct. arXiv preprint arXiv:2308.09583, 2023. our card
  42. S. McCandlish, J. Kaplan, D. Amodei, and O. D. Team. An empirical model of large-batch training. arXiv preprint arXiv:1812.06162, 2018. OpenAlex ↗ · Scholar ↗
  43. T. Mihaylov, P. Clark, T. Khot, and A. Sabharwal. Can a suit of armor conduct electricity? a new dataset for open book question answering, 2018. OpenAlex ↗ · Scholar ↗
  44. D. Narayanan, M. Shoeybi, J. Casper, P. LeGresley, M. Patwary, V. Korthikanti, D. Vainbrand, P. Kashinkunti, J. Bernauer, B. Catanzaro, et al. Efficient large-scale language model training on gpu clusters using megatron-lm. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, pages 1–15, 2021. our card
  45. OpenAI. Introducing ChatGPT, 2022. URL https://openai.com/blog/chatgpt. OpenAlex ↗ · Scholar ↗
  46. OpenAI. GPT4 technical report. arXiv preprint arXiv:2303.08774, 2023. OpenAlex ↗ · Scholar ↗
  47. L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, et al. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35:0 27730–27744, 2022. our card
  48. G. Penedo, Q. Malartic, D. Hesslow, R. Cojocaru, A. Cappelli, H. Alobeidli, B. Pannier, E. Almazrouei, and J. Launay. The refinedweb dataset for falcon llm: outperforming curated corpora with web data, and web data only. arXiv preprint arXiv:2306.01116, 2023. OpenAlex ↗ · Scholar ↗
  49. A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, I. Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 10 (8):0 9, 2019. OpenAlex ↗ · Scholar ↗
  50. R. Rafailov, A. Sharma, E. Mitchell, S. Ermon, C. D. Manning, and C. Finn. Direct preference optimization: Your language model is secretly a reward model. 2023. our card
  51. S. Rajbhandari, J. Rasley, O. Ruwase, and Y. He. Zero: Memory optimizations toward training trillion parameter models. In SC20: International Conference for High Performance Computing, Networking, Storage and Analysis, pages 1–16. IEEE, 2020. OpenAlex ↗ · Scholar ↗
  52. K. Sakaguchi, R. L. Bras, C. Bhagavatula, and Y. Choi. Winogrande: An adversarial winograd schema challenge at scale, 2019. our card
  53. C. J. Shallue, J. Lee, J. Antognini, J. Sohl-Dickstein, R. Frostig, and G. E. Dahl. Measuring the effects of data parallelism on neural network training. Journal of Machine Learning Research, 200 (112):0 1–49, 2019. OpenAlex ↗ · Scholar ↗
  54. N. Shazeer. Glu variants improve transformer. arXiv preprint arXiv:2002.05202, 2020. OpenAlex ↗ · Scholar ↗
  55. M. Shoeybi, M. Patwary, R. Puri, P. LeGresley, J. Casper, and B. Catanzaro. Megatron-lm: Training multi-billion parameter language models using model parallelism. arXiv preprint arXiv:1909.08053, 2019. our card
  56. S. Smith, M. Patwary, B. Norick, P. LeGresley, S. Rajbhandari, J. Casper, Z. Liu, S. Prabhumoye, G. Zerveas, V. Korthikanti, et al. Using deepspeed and megatron to train megatron-turing nlg 530b, a large-scale generative language model. arXiv preprint arXiv:2201.11990, 2022. our card
  57. S. L. Smith, P.-J. Kindermans, C. Ying, and Q. V. Le. Don't decay the learning rate, increase the batch size. arXiv preprint arXiv:1711.00489, 2017. OpenAlex ↗ · Scholar ↗
  58. J. Su, M. Ahmed, Y. Lu, S. Pan, W. Bo, and Y. Liu. Roformer: Enhanced transformer with rotary position embedding. Neurocomputing, 568:0 127063, 2024. our card
  59. K. Sun, D. Yu, D. Yu, and C. Cardie. Investigating prior knowledge for challenging chinese machine reading comprehension, 2019. our card
  60. M. Suzgun, N. Scales, N. Schärli, S. Gehrmann, Y. Tay, H. W. Chung, A. Chowdhery, Q. V. Le, E. H. Chi, D. Zhou, et al. Challenging big-bench tasks and whether chain-of-thought can solve them. arXiv preprint arXiv:2210.09261, 2022. our card
  61. H. Touvron, T. Lavril, G. Izacard, X. Martinet, M.-A. Lachaux, T. Lacroix, B. Rozière, N. Goyal, E. Hambro, F. Azhar, et al. LLaMA: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023a. our card
  62. H. Touvron, L. Martin, K. Stone, P. Albert, A. Almahairi, Y. Babaei, N. Bashlykov, S. Batra, P. Bhargava, S. Bhosale, D. Bikel, L. Blecher, C. Canton-Ferrer, M. Chen, G. Cucurull, D. Esiobu, J. Fernandes, J. Fu, W. Fu, B. Fuller, C. Gao, V. Goswami, N. Goyal, A. Hartshorn, S. Hosseini, R. Hou, H. Inan, M. Kardas, V. Kerkez, M. Khabsa, I. Kloumann, A. Korenev, P. S. Koura, M. Lachaux, T. Lavril, J. Lee, D. Liskovich, Y. Lu, Y. Mao, X. Martinet, T. Mihaylov, P. Mishra, I. Molybog, Y. Nie, A. Poulton, J. Reizenstein, R. Rungta, K. Saladi, A. Schelten, R. Silva, E. M. Smith, R. Subramanian, X. E. Tan, B. Tang, R. Taylor, A. Williams, J. X. Kuan, P. Xu, Z. Yan, I. Zarov, Y. Zhang, A. Fan, M. Kambadur, S. Narang, A. Rodriguez, R. Stojnic, S. Edunov, and T. Scialom. Llama 2: Open foundation and fine-tuned chat models. CoRR, abs/2307.09288, 2023b. . URL https://doi.org/10.48550/arXiv.2307.09288. our card
  63. A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017. our card
  64. Y. Wang, H. Li, X. Han, P. Nakov, and T. Baldwin. Do-not-answer: A dataset for evaluating safeguards in llms. CoRR, abs/2308.13387, 2023. . URL https://doi.org/10.48550/arXiv.2308.13387. our card
  65. J. Wei, X. Wang, D. Schuurmans, M. Bosma, B. Ichter, F. Xia, E. H. Chi, Q. V. Le, and D. Zhou. Chain-of-thought prompting elicits reasoning in large language models. In NeurIPS, 2022. URL http://papers.nips.cc/paper\_files/paper/2022/hash/9d5609613524ecf4f15af0f7b31abca4-Abstract-Conference.html. our card
  66. T. Wei, J. Luan, W. Liu, S. Dong, and B. Wang. Cmath: Can your language model pass chinese elementary school math test?, 2023. our card
  67. L. Xu, H. Hu, X. Zhang, L. Li, C. Cao, Y. Li, Y. Xu, K. Sun, D. Yu, C. Yu, Y. Tian, Q. Dong, W. Liu, B. Shi, Y. Cui, J. Li, J. Zeng, R. Wang, W. Xie, Y. Li, Y. Patterson, Z. Tian, Y. Zhang, H. Zhou, S. Liu, Z. Zhao, Q. Zhao, C. Yue, X. Zhang, Z. Yang, K. Richardson, and Z. Lan. CLUE: A chinese language understanding evaluation benchmark. In D. Scott, N. Bel, and C. Zong, editors, Proceedings of the 28th International Conference on Computational Linguistics, COLING 2020, Barcelona, Spain (Online), December 8-13, 2020, pages 4762–4772. International Committee on Computational Linguistics, 2020. . URL https://doi.org/10.18653/v1/2020.coling-main.419. our card
  68. A. Yang, B. Xiao, B. Wang, B. Zhang, C. Yin, C. Lv, D. Pan, D. Wang, D. Yan, F. Yang, F. Deng, F. Wang, F. Liu, G. Ai, G. Dong, H. Zhao, H. Xu, H. Sun, H. Zhang, H. Liu, J. Ji, J. Xie, J. Dai, K. Fang, L. Su, L. Song, L. Liu, L. Ru, L. Ma, M. Wang, M. Liu, M. Lin, N. Nie, P. Guo, R. Sun, T. Zhang, T. Li, T. Li, W. Cheng, W. Chen, X. Zeng, X. Wang, X. Chen, X. Men, X. Yu, X. Pan, Y. Shen, Y. Wang, Y. Li, Y. Jiang, Y. Gao, Y. Zhang, Z. Zhou, and Z. Wu. Baichuan 2: Open large-scale language models. Technical report, Baichuan Inc., 2023. URL https://cdn.baichuan-ai.com/paper/Baichuan2-technical-report.pdf. our card
  69. L. Yu, W. Jiang, H. Shi, J. Yu, Z. Liu, Y. Zhang, J. T. Kwok, Z. Li, A. Weller, and W. Liu. Metamath: Bootstrap your own mathematical questions for large language models. CoRR, abs/2309.12284, 2023. . URL https://doi.org/10.48550/arXiv.2309.12284. our card
  70. R. Zellers, A. Holtzman, Y. Bisk, A. Farhadi, and Y. Choi. HellaSwag: Can a machine really finish your sentence? In A. Korhonen, D. R. Traum, and L. Màrquez, editors, Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pages 4791–4800. Association for Computational Linguistics, 2019. . URL https://doi.org/10.18653/v1/p19-1472. OpenAlex ↗ · Scholar ↗
  71. B. Zhang and R. Sennrich. Root mean square layer normalization. Advances in Neural Information Processing Systems, 32, 2019. OpenAlex ↗ · Scholar ↗
  72. G. Zhang, L. Li, Z. Nado, J. Martens, S. Sachdeva, G. Dahl, C. Shallue, and R. B. Grosse. Which algorithmic choices matter at which batch sizes? insights from a noisy quadratic model. Advances in neural information processing systems, 32, 2019. OpenAlex ↗ · Scholar ↗
  73. C. Zheng, M. Huang, and A. Sun. Chid: A large-scale chinese idiom dataset for cloze test. In A. Korhonen, D. R. Traum, and L. Màrquez, editors, Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pages 778–787. Association for Computational Linguistics, 2019. . URL https://doi.org/10.18653/v1/p19-1075. our card
  74. L. Zheng, W.-L. Chiang, Y. Sheng, S. Zhuang, Z. Wu, Y. Zhuang, Z. Lin, Z. Li, D. Li, E. P. Xing, H. Zhang, J. E. Gonzalez, and I. Stoica. Judging llm-as-a-judge with mt-bench and chatbot arena. 2023. our card
  75. W. Zhong, R. Cui, Y. Guo, Y. Liang, S. Lu, Y. Wang, A. Saied, W. Chen, and N. Duan. AGIEval: A human-centric benchmark for evaluating foundation models. CoRR, abs/2304.06364, 2023. . URL https://doi.org/10.48550/arXiv.2304.06364. our card
  76. J. Zhou, T. Lu, S. Mishra, S. Brahma, S. Basu, Y. Luan, D. Zhou, and L. Hou. Instruction-following evaluation for large language models. arXiv preprint arXiv:2311.07911, 2023. our card