Source notes and reports

Sources

← Home

                                               GPT-NeoX-20B: An Open-Source Autoregressive Language Model
                                                       Sid Black*                            Stella Biderman*                         Eric Hallahan*

                                         Quentin Anthony                          Leo Gao                   Laurence Golding                    Horace He

                                             Connor Leahy                    Kyle McDonell                      Jason Phang                   Michael Pieler

                                              USVSN Sai Prashanth                           Shivanshu Purohit                        Laria Reynolds

                                                    Jonathan Tow                                  Ben Wang                          Samuel Weinbach

                                                                 Abstract                                  (Smith et al., 2022; Chowdhery et al., 2022), a mile-
                                                                                                           stone that would have been almost unthinkable just
                                              We introduce GPT-NeoX-20B, a 20 billion pa-                  a few years prior.
                                              rameter autoregressive language model trained
                                                                                                               Today, there are dozens of publicly acknowl-




arXiv:2204.06745v1 [cs.CL] 14 Apr 2022
                                              on the Pile, whose weights will be made freely
                                              and openly available to the public through a                 edged LLMs in existence, the largest having more
                                              permissive license. It is, to the best of our                than two orders of magnitude more parameters than
                                              knowledge, the largest dense autoregressive                  GPT-2, and even at that scale there are nearly a
                                              model that has publicly available weights at                 dozen different models. However, these models are
                                              the time of submission. In this work, we                     almost universally the protected intellectual prop-
                                              describe GPT-NeoX-20B’s architecture and                     erty of large organizations, and are gated behind a
                                              training and evaluate its performance on a
                                                                                                           commercial API, available only upon request, or
                                              range of language-understanding, mathemat-
                                              ics, and knowledge-based tasks. We find                      not available for outsider use at all. To our knowl-
                                              that GPT-NeoX-20B is a particularly powerful                 edge, the only freely and publicly available dense
                                              few-shot reasoner and gains far more in per-                 autoregressive language models larger than GPT-
                                              formance when evaluated five-shot than sim-                  2 are GPT-Neo (2.7B parameters) (Black et al.,
                                              ilarly sized GPT-3 and FairSeq models. We                    2021), GPT-J-6B (Wang and Komatsuzaki, 2021),
                                              open-source the training and evaluation code,                Megatron-11B1 , Pangu-α-13B (Zeng et al., 2021),
                                              as well as the model weights, at https://
                                                                                                           and the recently released FairSeq models (2.7B,
                                              github.com/EleutherAI/gpt-neox.
                                                                                                           6.7B, and 13B parameters) (Artetxe et al., 2021).
                                         1    Introduction                                                     In this paper we introduce GPT-NeoX-20B, a 20
                                                                                                           billion parameter open-source autoregressive lan-
                                         Over the past several years, there has been an explo-             guage model. We make the models weights freely
                                         sion in research surrounding large language mod-                  and openly available to the public through a per-
                                         els (LLMs) for natural language processing, cat-                  missive license, motivated by the belief that open
                                         alyzed largely by the impressive performance of                   access to LLMs is critical to advancing research
                                         Transformer-based language models such as BERT                    in a wide range of areas—particularly in AI safety,
                                         (Devlin et al., 2019), GPT-2 (Radford et al., 2019),              mechanistic interpretability, and the study of how
                                         GPT-3 (Brown et al., 2020), and T5 (Raffel et al.,                LLM capabilities scale. Many of the most inter-
                                         2020). One of the most impactful outcomes of                      esting capabilities of LLMs only emerge above a
                                         this research has been the discovery that the perfor-             certain number of parameters, and they have many
                                         mance of LLMs scales predictably as a power law                   properties that simply cannot be studied in smaller
                                         with the number of parameters, with architectural                 models. Although safety is often cited as a jus-
                                         details such as width/depth ratio having a mini-                  tification for keeping model weights private, we
                                         mal impact on performance within a wide range                     believe this is insufficient to prevent misuse, and
                                         (Kaplan et al., 2020). A consequence of this has                  is largely a limitation on the ability to probe and
                                         been an abundance of research focusing on scaling                 study LLMs for researchers not based at the small
                                         Transformer models up to ever-larger scales, result-              number of organizations that have access to state
                                         ing in dense models that surpass 500B parameters                  of the art language models. In addition, we make
                                             * Lead authors. Authors after the first three are listed in   partially trained checkpoints avaliable at evenly
                                         alphabetical order. See Appendix A for individual contribu-
                                         tion details. Correspondence can be sent to {sid, stella,            1 This model does not work using the provided codebase,
                                         contact}@eleuther.ai                                              and we have been told it under-performs GPT-J.
spaced 1000 step intervals throughout the whole          tion we give a high-level overview of those differ-
of training. We hope that by making a wide range         ences, but ask the reader to refer to (Brown et al.,
of checkpoints throughout training freely available,     2020) for full details of the model architecture. Our
we will facilitate research on the training dynamics     model architecture is almost identical to that of
of LLMs, as well as the aforementioned areas of          GPT-J (Wang and Komatsuzaki, 2021)2 , however
AI safety and interpretability.                          we choose to use GPT-3 as the point of reference
   In studying GPT-NeoX-20B, we find several             because there is no canonical published reference
noteworthy phenomena at odds with the established        on the design of GPT-J.
literature. We train on a dataset that contains dupli-
                                                         2.1.1 Rotary Positional Embeddings
cated data for more than one epoch but see no evi-
dence of performance loss. While (Hendrycks et al.,      We use rotary embeddings (Su et al., 2021) instead
2021a) claims that few-shot prompting doesn’t im-        of the learned positional embeddings used in GPT
prove performance on their task, we find that this       models (Radford et al., 2018), based on our positive
is actually a phenomenon unique to GPT-3 and             prior experiences using it in training LLMs. Rotary
doesn’t apply to either GPT-NeoX-20B or FairSeq          embeddings are a form of static relative positional
models. Finally, we find that GPT-NeoX-20B is a          embeddings. In brief, they twist the embedding
powerful few-shot learner, recieving a much larger       space such that the attention of a token at position
performance boost from few-shot examples than            m to token at position n is linearly dependent on
comparable sized GPT-3 and FairSeq models. As            m − n. More formally, they modify the standard
we see the same with GPT-J-6B (Wang and Komat-           multiheaded attention equations from
suzaki, 2021), we hypothesize that this may be due                                                !
                                                                              1       T    T
to the shared choice of training data.                            softmax √ ∑ xm Wq Wk xn ,
   In the following sections, we give a broad                                  d n,m
overview of GPT-NeoX-20B’s architecture and              where xm , xn are (batched) embeddings of tokens
training hyperparameters, detail the hardware and        at position m and n respectively and WTq , Wk are
software setup used for training and evaluation, and     the query and key weights respectively to
elaborate on the choices made when designing the
                                                                                                    !
training dataset and tokenization. We also address                       1       T  T d
of some of the difficulties and unknowns we en-               softmax √ ∑ xm Wq RΘ,(n−m) Wk xn ,
                                                                          d n,m
countered in training such a large model. We place
significant importance on the broader impacts of         where RdΘ,x is a d × d block diagonal matrix with
the release GPT-NeoX-20B, and provide a lengthy          the block of index i being a 2D rotation by xθi
discussion of why we believe its release is a net        for hyperparameters Θ = {θi = 10000−2i/d | i ∈
benefit. We also document issues of training cost        {0, 1, 2, . . . , (d − 1)/2}}.
and carbon emissions in as much detail as much as
possible.

2     Model Design and Implementation
GPT-NeoX-20B is an autoregressive transformer
decoder model whose architecture largely follows
that of GPT-3 (Brown et al., 2020), with a few
notable deviations described below. Our model
has 20 billion parameters, of which 19.9 billion
are “non-embedding” parameters that Kaplan et al.
(2020) identify as the proper number to use for          Figure 1: A pictorial representation of rotary embed-
scaling laws analysis. Our model has 44 layers, a        dings, from Su et al. (2021).
hidden dimension size of 6144, and 64 heads.
                                                            While Su et al. (2021) apply rotary embeddings
2.1    Model Architecture                                to every embedding vector, we follow Wang and
Although our architecture is largely similar to GPT-        2 The sole difference is due to an oversight discussed in
3, there are some notable differences. In this sec-      Section 2.1.2
Komatsuzaki (2021) and instead apply it only to                   2.1.4    All Dense Layers
the first 25% of embedding vector dimensions. Our                 While GPT-3 uses alternating dense and sparse lay-
initial experiments indicate that this strikes the                ers using the technique introduced in Child et al.
best balance of performance and computational                     (2019), we instead opt to exclusively use dense
efficiency.3                                                      layers to reduce implementation complexity.

2.1.2     Parallel Attention + FF Layers                          2.2     Software Libraries
We compute the Attention and Feed-Forward (FF)                    Our model is trained using a codebase that builds
layers in parallel4 and sum the results, rather than              on Megatron (Shoeybi et al., 2020) and Deep-
running them in series. This is primarily for ef-                 Speed (Rasley et al., 2020) to facilitate efficient and
ficiency purposes, as each residual addition with                 straightforward training of large language models
op-sharding requires one all-reduce in the forward                with tens of billions of parameters. We use the offi-
pass and one in the backwards pass (Shoeybi et al.,               cial PyTorch v1.10.0 release binary package com-
2020). By computing the Attention and FFs in par-                 piled with CUDA 11.1. This package is bundled
allel, the results can be reduced locally before per-             with NCCL 2.10.3 for distributed communications.
forming a single all-reduce. In Mesh Transformer
JAX (Wang, 2021), this led to a 15% throughput                    2.3     Hardware
increase, while having comparable loss curves with                We trained GPT-NeoX-20B on twelve Supermi-
running them in series during early training.                     cro AS-4124GO-NART servers, each with eight
   Due to an oversight in our code, we unintention-               NVIDIA A100-SXM4-40GB GPUs and config-
ally apply two independent Layer Norms instead                    ured with two AMD EPYC 7532 CPUs. All GPUs
of using a tied layer norm the way Wang and Ko-                   can directly access the InfiniBand switched fab-
matsuzaki (2021) does. Instead of computing                       ric through one of four ConnectX-6 HCAs for
                                                                  GPUDirect RDMA. Two NVIDIA MQM8700-
           x + Attn(LN1 (x)) + FF(LN1 (x))                        HS2R switches—connected by 16 links—compose
                                                                  the spine of this InfiniBand network, with one link
as intended, our codebase unties the layer norms:                 per node CPU socket connected to each switch.
                                                                  Figure 2 shows a simplified overview of a node as
           x + Attn(LN1 (x)) + FF(LN2 (x)).                       configured for training.

Unfortunately, this was only noticed after we were
                                                                  3     Training
much too far into training to restart. Subsequent                 Due to the intractability of performing a hyperpa-
experiments at small scales indicated that the untied             rameter sweep for a 20 billion parameter model,
layer norm makes no difference in performance, but                we opted to use the values from Brown et al. (2020)
we nevertheless wish to highlight this in the interest            to guide our choice of hyperparameters. As Brown
of transparency.                                                  et al. (2020) did not train a model at our exact
                                                                  scale, we interpolate between the learning rates of
2.1.3     Initialization                                          their 13B and 175B models to arrive at a learning
For the Feed-Forward output layers before the                     rate of 0.97E−5. Based on the results of smaller
residuals, we used the initialization scheme intro-               scale experiments, we select a weight decay of
duced in Wang (2021), L√2 d . This prevents acti-                 0.01. To achieve a higher training throughput, we
vations from growing with increasing depth and                    opt to use the same batch size as OpenAI’s 175B
width, with the factor of 2 compensating for the                  model–approximately 3.15M tokens, or 1538 con-
fact that the parallel and feed-forward layers are                texts of 2048 tokens each, and train for a total of
organized in parallel. For all other layers, we use               150, 000 steps, decaying the learning rate with a
the small                                                         cosine schedule to 10% of its original value at the
        qinit scheme from Nguyen and Salazar
(2019),        2                                                  end of training.
             d+4d
                                                                     We use the AdamW (Loshchilov and Hutter,
   3 See the Weights & Biases reports here and here for further   2019) optimizer, with beta values of 0.9 and 0.95
details.                                                          respectively, and an epsilon of 1.0E−8. We extend
   4 See GitHub for implementation details.                       AdamW with the ZeRO optimizer (Rajbhandari
           HDR InfiniBand                  PCI Express 4.0                      xGMI-2                        NVLink 3.0
            50 GT/s per lane                16 GT/s per lane                  16 GT/s per lane               400 GT/s per lane

                                                                  16x
                                CPU0                                                              CPU1
   Switch0                                              Switch1          Switch0                                          Switch1
                       16x                  16x                                          16x                  16x
      4x                                                 4x              4x                                               4x
                         PLX              PLX                                              PLX              PLX
  HCA0                                                  HCA1            HCA2                                              HCA3
                   16x                          16x                                  16x                          16x
                                16x 16x                                                           16x 16x
                 16x                              16x                              16x                              16x

   GPU0                  GPU1           GPU2            GPU3             GPU4              GPU5         GPU6              GPU7
      2x

  NVSwitch0                    NVSwitch1          NVSwitch2             NVSwitch3                NVSwitch4          NVSwitch5

                                     Figure 2: Architecture diagram of a single training node.


et al., 2020) to reduce memory consumption by                                 CommonCrawl, OpenWebText2, StackEx-
distributing optimizer states across ranks. Since                             change,9 Wikipedia (English)
the weights and optimizer states of a model at this
scale do not fit on a single GPU, we use the ten-                          • Prose: BookCorpus2, Bibliotik, Project
sor parallelism scheme introduced in Shoeybi et al.                          Gutenberg (PG-19; Rae et al., 2019)
(2020) in combination with pipeline parallelism                            • Dialogue: Youtube subtitles, Ubuntu IRC,10
(Harlap et al., 2018) to distribute the model across                         OpenSubtitles (Lison and Tiedemann, 2016),
GPUs. To train GPT-NeoX-20B, we found that the                               Hacker News,11 EuroParl (Koehn, 2005)
most efficient way to distribute the model given
our hardware setup was to set a tensor parallel size                       • Miscellaneous: GitHub, the DeepMind Math-
of 2, and a pipeline parallel size of 4. This allows                         ematics dataset (Saxton et al., 2019), Enron
for the most communication intensive processes,                              Emails (Klimt and Yang, 2004)
tensor and pipeline parallelism, to occur within a
                                                                           In aggregate, the Pile consists of over 825 GiB of
node, and data parallel communication to occur
                                                                        raw text data. The diversity of data sources reflects
across node boundaries. In this fashion, we were
                                                                        our desire for a general-purpose language model.
able to achieve and maintain an efficiency of 117
                                                                        Certain components are up-sampled to obtain a
teraFLOPS per GPU.
                                                                        more balanced data distribution. In contrast, GPT-
3.1        Training Data                                                3’s training data consists of web-scrapes, books
                                                                        datasets, and Wikipedia. When comparing results
GPT-NeoX-20B was trained on the Pile (Gao et al.,                       in this work to GPT-3, the training data is almost
2020), a massive curated dataset designed specifi-                      certainly the biggest known unknown factor. Full
cally for training large language models. It consists                   details of the Pile can be found in the technical re-
of data from 22 data sources, coarsely broken down                      port (Gao et al., 2020) and the associated datasheet
into 5 categories:                                                      (Biderman et al., 2022).
   • Academic Writing: Pubmed Abstracts and                                It is particularly notable that the Pile contains
     PubMed Central, arXiv, FreeLaw,5 USPTO                             a scrape of StackExchange preprocessed into a
     Backgrounds,6 PhilPapers,7 NIH Exporter8                           Q/A form. There is a significant and growing
                                                                        body of work on the influence of the syntactic
   • Web-scrapes               and    Internet      Resources:          structure of finetuning data on downstream per-
  5 https://www.courtlistener.com/
                                                                        formance (Zhong et al., 2021; Tan et al., 2021;
  6 https://bulkdata.uspto.gov/                                            9 https://archive.org/details/stackexchange
  7 https://philpapers.org/                                               10 https://irclogs.ubuntu.com/
  8 https://exporter.nih.gov/                                             11 https://news.ycombinator.com/
                        GPT-2                              3.3    Data Duplication
def fibRec(n):←-
    if n < 2:←-                                            In the past two years, the standard practice when
        return n←-                                         training autoregressive language models has be-
    else:←-                                                come to train for only one epoch (Komatsuzaki,
        return fibRec(n-1) + fibRec(n-2)
                                                           2019; Kaplan et al., 2020; Henighan et al., 2020).
                       55 tokens
                                                           Recent research has claimed to see significant ben-
                    GPT-NeoX-20B                           efits from going even further and deduplicating
def fibRec(n):←-
                                                           training data (Lee et al., 2021; Kandpal et al.,
    if n < 2:←-                                            2022; Roberts et al., 2022). In particular, every
        return n←-                                         publicly known larger language model other than
    else:←-
        return fibRec(n-1) + fibRec(n-2)                   GPT-3 (Brown et al., 2020) and Jurassic-113 either
                       39 tokens
                                                           uses some form of deduplication (Rae et al., 2022;
                                                           Askell et al., 2021; Zeng et al., 2021; Sun et al.,
Figure 3: GPT-2 tokenization vs. GPT-NeoX-20B              2021; Smith et al., 2022; Hoffmann et al., 2022;
tokenization. GPT-NeoX-20B tokenization handles
                                                           Chowdhery et al., 2022) or does not discuss the
whitespace better, which is particularly useful for text
such as source code. For more examples, see Ap-
                                                           training data in sufficient detail to determine what
pendix F.                                                  was done (Kim et al., 2021).
                                                              When the Pile was originally made, the only
                                                           language model larger than GPT-NeoX-20B that
Sanh et al., 2021; Wei et al., 2021). While so far         existed was GPT-3, which upsampled high-quality
there has been no systematic work that focuses on          subsets of its training data. The Pile followed suit,
prompted pretraining, recent work (Biderman and            and due to a combination of a lack of resources
Raff, 2022) observed that the formulation of the           for large-scale ablations and a lack of noticeable
StackExchange component of the Pile appears to             impact at smaller scales, we opt to use the Pile as-is.
heavily influence code generation.                         As shown in fig. 4, even at the 20B parameter scale
                                                           we see no drop in test validation loss after crossing
3.2   Tokenization                                         the one epoch boundary.
                                                              Unfortunately, none of the papers that have
For GPT-NeoX-20B, we use a BPE-based tokenizer             claimed to see an improvement from deduplica-
similar to that used in GPT-2, with the same total         tion have released trained models that demonstrate
vocabulary size of 50257, with three major changes         this, making replication and confirmation of their
to the tokenizer. First, we train a new BPE tok-           results difficult. Lee et al. (2021) releases the dedu-
enizer based on the Pile, taking advantage of its          plication code that they used, which we intend to
diverse text sources to construct a more general-          use to explore this question in more detail in the
purpose tokenizer. Second, in contrast to the GPT-2        future.
tokenizer which treats tokenization at the start of           It is important to note that even if there is not an
a string as a non-space-delimited token, the GPT-          improvement in loss or on task evaluations there
NeoX-20B tokenizer applies consistent space de-            are nevertheless compelling reasons to deduplicate
limitation regardless. This resolves an inconsis-          training data for any model put into production. In
tency regarding the presence of prefix spaces to a         particular, systematic analysis has shown signifi-
tokenization input.12 . An example can be seen in          cant benefits in terms of reducing the leakage of
Figure 3. Third, our tokenizer contains tokens for         training data (Lee et al., 2021; Zhang et al., 2021;
repeated space tokens (all positive integer amounts        Carlini et al., 2022; Kandpal et al., 2022).
of repeated spaces up to and including 24). This
allows the GPT-NeoX-20B tokenizer to tokenize              4     Performance Evaluations
text with large amounts of whitespace using fewer
                                                           To evaluate our model we use the EleutherAI
tokens; for instance, program source code or arXiv
                                                           Language Model Evaluation Harness (Gao et al.,
LATEX source files. See Appendix E for an analysis
                                                           2021b), an open source codebase for language
of the tokenizer.
                                                           model evaluation that supports a number of model
  12 https://discuss.huggingface.co/t/                       13 In private communication, the authors confirmed that
bpe-tokenizers-and-spaces-before-words/475/2               Jurassic-1 was trained on the Pile (Gao et al., 2020).
                                                            APIs. As our goal is to make a powerful model
                                                            publicly accessible, we compare with English lan-
                                                            guage models with at least 10B parameters that are
                                                            publicly accessible. We compare with the GPT-3
                                                            models on the OpenAI API (Brown et al., 2020),
                                                            the open source FairSeq dense models (Artetxe
                                                            et al., 2021), and GPT-J-6B (Wang and Komat-
                                                            suzaki, 2021). We do not compare against T5 (Raf-
                                                            fel et al., 2020) or its derivatives as our evaluation
                                                            methodology assumes that the models are autore-
                                                            gressive. While there is a Megatron-11B check-
                                                            point that has been publicly released, the released
                                                            code is non-functional and we have not been able to
                                                            get the model to work. We do not compare against
                                                            any mixture-of-experts models as no public MoE
                                                            model achieves performance comparable to a 10B
                                                            parameter dense model.
                                                               While the size of the GPT-3 API models are not
                                                            officially confirmed, we follow Gao (2021b) and
                                                            assess them as being 350M (Ada), 1.3B (Babbage),
                                                            6.7B (Curie), and 175B (Da Vinci). We categorize
                                                            both GPT-J-6B and GPT-NeoX-20B under the um-
                                                            brella of GPT-NeoX models, as both models are
                                                            trained with the same architecture and were trained
                                                            on the same dataset. However, we connect them
                                                            using a dashed line to reflect the fact that these two
                                                            models are not the same model trained at two differ-
                                                            ent scales the way the FairSeq and GPT-3 models
                                                            are, having been trained using different codebases,
                                                            different tokenizers, and for different numbers of
                                                            tokens.
                                                              Where we were able to obtain the relevant in-
                                                            formation, we report two baselines: human-level
                                                            performance and random performance. All plots
                                                            contain error bars representing two standard errors,
                                                            indicating the 95% confidence interval around each
Figure 4: Training and validation loss for GPT-NeoX-        point. For some plots, the standard error is so small
20B. As the validation loss continued to fall into the      that the interval is not visible.
beginning of the second epoch, we decided to let it train
further.
                                                            4.1   Tasks Evaluated

                                                            We evaluate our model on a diverse collection of
                                                            standard language model evaluation datasets that
                                                            we divide into three main categories: natural lan-
                                                            guage tasks, Advanced Knowledge-Based Tasks,
                                                            and Mathematical Tasks. We evalutate GPT-J-6B,
                                                            GPT-NeoX-20B, and FairSeq models both zero-
                                                            and five-shot, but due to financial constraints only
                                                            evaluate GPT-3 models zero-shot. Due to space
                                                            constraints a representative subset of the results are
                                                            shown here, with the rest in Appendix D.
Natural Language Tasks We evaluate our                   laSwag, where we score four standard deviations
model on a diverse collection of standard language       below FairSeq 13B in both zero- and five-shot eval-
model evaluation datasets: ANLI (Nie et al., 2020),      uations. Similarly, GPT-J underperforms FairSeq
ARC (Clark et al., 2018), HeadQA (English) (Vi-          6.7B by three standard deviations zero-shot and six
lares and Gómez-Rodríguez, 2019), HellaSwag              standard deviations five-shot on HellaSwag. We
(Zellers et al., 2019), LAMBDADA (Paperno et al.,        find this massive performance loss largely inexpli-
2016), LogiQA (Liu et al., 2020), OpenBookQA             cable; while we originally assumed that the sub-
(Mihaylov et al., 2018), PiQA (Bisk et al., 2020),       stantial non-prose components of the Pile were to
PROST (Aroca-Ouellette et al., 2021), QA4MRE             blame, we note that GPT-J and GPT-NeoX overpre-
(Peñas et al., 2013) (2013), SciQ (Welbl et al.,         form FairSeq models on the very similar Lambada
2017), TriviaQA (Joshi et al., 2017), Winogrande         task by roughly the same amount.
(Sakaguchi et al., 2021), and the SuperGlue version
                                                         Mathematics While GPT-3 and FairSeq models
of the Winograd Schemas Challenge (WSC) (Wang
                                                         are generally quite close on arithmetic tasks, they
et al., 2019).
                                                         are consistently out-performed by GPT-J and GPT-
Mathematical Tasks The solving of mathemati-             NeoX. We conjecture that this is traceable to the
cal problem solving is an area that has had a long       prevalence of mathematics equations in the training
history of study in AI research, despite the fact that   data, but warn that people should not assume that
large language models tend to perform quite poorly       this means that training on the Pile produces better
on both arithmetic tasks and mathematical prob-          out-of-distribution arithmetic reasoning. Razeghi
lems phrased in natural language. We evaluate on         et al. (2022) show that there is a strong correla-
the MATH test dataset (Hendrycks et al., 2021b) as       tion between the frequency of a numerical equation
well as on the numerical arithmetic problems intro-      in the Pile and GPT-J’s performance on that equa-
duced by Brown et al. (2020). Note that the MATH         tion, and we see no reason this would not hold
test dataset is an evaluation metric that is generally   in GPT-NeoX 20B, FairSeq, and GPT-3. We are
finetuned on, but due to computational limitations       unfortunately unable to investigate this effect in
we only evaluate models zero- and five-shot here.        FairSeq and GPT-3 models because the authors do
                                                         not release their training data.
Advanced Knowledge-Based Tasks We are
also interested in the ability of our models to an-      Advanced Knowledge-Based Tasks While
swer factual questions that (for humans) require         GPT-NeoX and FairSeq models both exhibit
advanced knowledge. To do this, we use a dataset         dominant performance on MMMLU compared
of multiple choice questions in a variety of diverse     to GPT-3 in the five-shot setting (Figure 7), their
domains developed by Hendrycks et al. (2021a).           performance is much closer in the zero-shot setting
Following common practice on this dataset, we fo-        (Tables 10 to 13). Hendrycks et al. (2021b) claim
cus on results aggregated by subject area: Humani-       to find that few-shot evaluation does not improve
ties, Social Sciences, STEM, and Miscellaneous as        performance relative to zero-shot, but they only
presented in Figure 7. We report five-shot perfor-       study GPT-3. By contrast, we find that GPT-NeoX
mance to be comparable to previous work, taking          and FairSeq models do improve substantially
our five-shot GPT-3 values from Hendrycks et al.         with as few as five examples. We view this as a
(2021a).                                                 warning against drawing strong conclusions about
                                                         evaluation metrics based only on one model, and
5     Discussion                                         encourage researchers developing new evaluation
                                                         benchmarks to leverage multiple different classes
5.1    Performance Results
                                                         of models to avoid overfitting their conclusions to
Natural Language Tasks While GPT-NeoX-                   a specific model.
20B outperforms FairSeq 13B on some tasks (e.g.
ARC, LAMBADA, PIQA, PROST), it underper-                 5.2   Powerful Few-Shot Learning
forms on others (e.g. HellaSwag, LogiQA zero-            Our experiments indicate that GPT-J-6B and GPT-
shot). In total, across the 32 evaluations we did        NeoX-20B benefit substantially more from few-
we outpreform on 22 tasks, underperform on four          shot evaluations than the FairSeq models do. When
tasks, and fall within the margin of error on six        going from 0-shot to 5-shot evaluations, GPT-J-6B
tasks. By far our weakest performance is on Hel-         improves by 0.0526 and GPT-NeoX-20B improves
Figure 5: Zero-shot performance of GPT-NeoX-20B compared to GPT-J-6B and FairSeq and OpenAI models on
a variety of language modeling benchmarks.
Figure 6: Zero-shot performance of GPT-NeoX-20B compared to and FairSeq and OpenAI models on arithmetic
tasks and MATH. Random performance on these tasks is 0%, and we were unable to find information on median
human performance.
Figure 7: Five-shot performance of GPT-NeoX-20B compared to GPT-J-6B and FairSeq and OpenAI models on
Hendrycks et al. (2021a). Due to financial limitations we were unable to evaluate on the OpenAI API. Instead, we
report numbers from Hendrycks et al. (2021a) with model sizes corrected.


by 0.0598 while the FairSeq 6.7B and 13B models           tion 3.2], diverge significantly from Brown et al.
improve by 0.0051 and 0.0183 respectively. This           (2020). As such, it is almost certainly the case
result is statistically significant and robust to per-    that the hyperparameters used for our model are no
turbations of prompting. While we do not have a           longer optimal, and potentially never were.
particular explanation for this currently, we view
this as a strong recommendation for our models.           Lack of Coding Evaluations Many of the de-
While we do not have systematic five-shot evalu-          sign choices we made during the development of
ations of GPT-3 due to financial limitations, the         this model were oriented towards improving per-
change in performance demonstrated in tables 10           formance on coding tasks. However, we underes-
to 13 and fig. 7 further supports the suggestion that     timated the difficulty and cost of existing coding
GPT-J-6B and GPT-NeoX-20B are able to gain                benchmarks (Chen et al., 2021), and so were un-
significantly more utility from five-shot examples.       able to evaluate out model in that domain. We hope
                                                          to do so in the future.
5.3   Limitations                                         Data Duplication Finally, the lack of dataset
Optimal Training Hyperparameter tuning is an              deduplication could also have had an impact on
expensive process, and is often infeasible to do          downstream performance. Recent work has shown
at full scale for multi-billion parameter models.         that deduplicating training data can have a large
Due to the aforementioned limitations, we opted           effect on perplexity (Lee et al., 2021). While our
to choose hyperparameters based on a mixture of           experiments show no sign of this, it is hard to dis-
experiments at smaller scales and by interpolating        miss it due to the number of researchers who have
parameters appropriate for our model size based           found the opposite result.
on previously published work (Brown et al., 2020).
However, several aspects of both our model ar-            5.4   Releasing a 20B Parameter LLM
chitecture [Section 2.1] and training setup, includ-      The current status quo in research is that large lan-
ing the data [Section 3.1] and the tokenizer [Sec-        guage models are things people train and publish
about, but do not actually release. To the best of       to make progress on this issue going forward by
our knowledge, GPT-NeoX-20B is the largest and           continuing to work on reducing the inference costs
most performant dense language model to ever be          of our model, and by working with researchers to
publicly released. A variety of reasons for the non-     provide access to the computing infrastructure they
release of large language models are given by vari-      need to carry out experiments on our models. We
ous groups, but the primary one is the harms that        strongly encourage researchers who are interested
public access to LLMs would purportedly cause.           in studying GPT-NeoX-20B but lack the necessary
   We take these concerns quite seriously. However,      infrastructure to reach out to discuss how we can
having taken them quite seriously, we feel that they     help empower you.
are flawed in several respects. While a thorough
analysis of these issues is beyond the scope of this     6   Summary
paper, the public release of our model is the most       We introduce GPT-NeoX-20B, a 20 billion param-
important contribution of this paper and so an ex-       eter autoregressive Transformer language model
planation of why we disagree with the prevailing         trained on the Pile (Gao et al., 2020) dataset, and de-
wisdom is important.                                     tail the main architectural differences between GPT-
                                                         NeoX-20B and GPT-3—most notably the change
Providing access to ethics and alignment re-
                                                         in tokenizer, the addition of Rotary Positional Em-
searchers will prevent harm. The open-source
                                                         beddings, the parallel computation of attention and
release of this model is motivated by the hope that
                                                         feed-forward layers, and a different initialization
it will allow researchers who would not otherwise
                                                         scheme and hyperparameters. We run extensive
have access to LLMs to use them. While there are
                                                         evaluations of GPT-NeoX-20B on natural language
negative risks due to the potential acceleration of
                                                         and factual knowledge tasks, and compare it with
capabilities research, we believe the benefits of this
                                                         other publicly available models, finding it performs
release outweigh the risks. We also note that these
                                                         particularly well on knowledge-based and mathe-
benefits are not hypothetical, as a number of papers
                                                         matical tasks. Finally, we are open sourcing the
about the limits and ethics of LLMs has been ex-
                                                         training and evaluation code at https://github.
plicitly enabled by the public release of previous
                                                         com/EleutherAI/gpt-neox, where readers can
models (Zhang et al., 2021; Kandpal et al., 2022;
                                                         find a link to download the model weights across
Carlini et al., 2022; Birhane et al., 2021; nostalge-
                                                         the whole training run.
braist, 2020; Meng et al., 2022; Lin et al., 2021).
                                                         Acknowledgments
Limiting access to governments and corpora-
tions will not prevent harm. Perhaps the most            We thank staff at CoreWeave—in particular
curious aspect of the argument that LLMs should          Max Hjelm, Brannin McBee, Peter Salanki, and
not be released is that the people making such ar-       Brian Venturo—for providing the GPUs and com-
guments are not arguing they they should not use         puting infrastructure that made this project possible.
LLMs. Rather, they are claiming that other people        We would also like to acknowledge Eren Doğan
should not use them. We do not believe that this         and Wesley Brown for feedback and technical sup-
is a position that should be taken seriously. The        port throughout the project, and John Schulman,
companies and governments that have the financial        Evan Hubinger, Victor Sanh, Jacob Hilton, and Sid-
resources to train LLMs are overwhelmingly more          dharth Karamcheti for providing feedback on drafts
likely to do large scale harm using a LLM than a         of the paper.
random individual.                                          Finally, we thank Anthony DiPofi, Charles Fos-
   Releasing this model is the beginning, not the        ter, Jeffrey Hsu, Eric Tang, Anish Thite,
end, of our work to make GPT-NeoX-20B widely             Kevin Wang, and Andy Zou for their contributions
accessible to researchers. Due to the size of the        to the EleutherAI Language Modeling Evaluation
model, inference is most economical on a pair of         Harness we used to evaluate GPT-NeoX-20B.
RTX 3090 Tis or a single A6000 GPU and fine-
tuning requires significantly more compute. Truly
promoting widespread access to LLMs means pro-           References
moting widespread access to computing infrastruc-        Stuart Armstrong and Sören Mindermann. 2018. Oc-
ture in addition to the models themselves. We plan          cam’s razor is insufficient to infer the preferences of
  irrational agents. In Advances in Neural Information   Yonatan Bisk, Rowan Zellers, Ronan Le bras, Jianfeng
  Processing Systems, volume 31, pages 5598–5609.          Gao, and Yejin Choi. 2020. PIQA: Reasoning about
  Curran Associates, Inc.                                  physical commonsense in natural language. In Pro-
                                                           ceedings of the AAAI Conference on Artificial Intel-
Stuart Armstrong, Anders Sandberg, and Nick                ligence, volume 34, pages 7432–7439.
   Bostrom. 2012. Thinking inside the box: Control-
   ling and using an oracle AI. Minds and Machines,      Sid Black, Leo Gao, Phil Wang, Connor Leahy,
   22(4):299–324.                                           and Stella Biderman. 2021. GPT-Neo: Large
                                                            scale autoregressive language modeling with Mesh-
Stéphane Aroca-Ouellette, Cory Paik, Alessandro Ron-       Tensorflow.
   cone, and Katharina Kann. 2021. PROST: Physical
   reasoning about objects through space and time. In    Tom Brown, Benjamin Mann, Nick Ryder, Melanie
  Findings of the Association for Computational Lin-       Subbiah, Jared D Kaplan, Prafulla Dhariwal,
   guistics: ACL-IJCNLP 2021, pages 4597–4608, On-         Arvind Neelakantan, Pranav Shyam, Girish Sastry,
   line. Association for Computational Linguistics.        Amanda Askell, Sandhini Agarwal, Ariel Herbert-
Mikel Artetxe, Shruti Bhosale, Naman Goyal, Todor          Voss, Gretchen Krueger, Tom Henighan, Rewon
  Mihaylov, Myle Ott, Sam Shleifer, Xi Victoria Lin,       Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu,
  Jingfei Du, Srinivasan Iyer, Ramakanth Pasunuru,         Clemens Winter, Chris Hesse, Mark Chen, Eric
  Giri Anantharaman, Xian Li, Shuohui Chen, Halil          Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess,
  Akin, Mandeep Baines, Louis Martin, Xing Zhou,           Jack Clark, Christopher Berner, Sam McCandlish,
  Punit Singh Koura, Brian O’Horo, Jeff Wang, Luke         Alec Radford, Ilya Sutskever, and Dario Amodei.
  Zettlemoyer, Mona Diab, Zornitsa Kozareva, and           2020. Language models are few-shot learners. In
  Ves Stoyanov. 2021. Efficient large scale language       Advances in Neural Information Processing Systems,
  modeling with mixtures of experts. Computing Re-         volume 33, pages 1877–1901. Curran Associates,
  search Repository, arXiv:2112.10684. Version 1.          Inc.

Amanda Askell, Yuntao Bai, Anna Chen, Dawn               Nick Cammarata, Shan Carter, Gabriel Goh, Chris
 Drain, Deep Ganguli, Tom Henighan, Andy Jones,            Olah, Michael Petrov, Ludwig Schubert, Chelsea
 Nicholas Joseph, Ben Mann, Nova DasSarma, Nel-            Voss, Ben Egan, and Swee Kiat Lim. 2020. Thread:
 son Elhage, Zac Hatfield-Dodds, Danny Hernan-             Circuits. Distill.
 dez, Jackson Kernion, Kamal Ndousse, Catherine
 Olsson, Dario Amodei, Tom Brown, Jack Clark,            Nicholas Carlini, Daphne Ippolito, Matthew Jagielski,
 Sam McCandlish, Chris Olah, and Jared Kaplan.             Katherine Lee, Florian Tramer, and Chiyuan Zhang.
 2021. A general language assistant as a labora-           2022. Quantifying memorization across neural lan-
 tory for alignment. Computing Research Repository,        guage models. Computing Research Repository,
 arXiv:2112.00861. Version 3.                              arXiv:2202.07646. Version 2.

Emily M. Bender, Timnit Gebru, Angelina McMillan-        Mark Chen, Jerry Tworek, Heewoo Jun, Qiming
  Major, and Shmargaret Shmitchell. 2021. On the          Yuan, Henrique Ponde de Oliveira Pinto, Jared Ka-
  dangers of stochastic parrots: Can language models      plan, Harri Edwards, Yuri Burda, Nicholas Joseph,
  be too big? In Proceedings of the 2021 ACM Confer-      Greg Brockman, Alex Ray, Raul Puri, Gretchen
  ence on Fairness, Accountability, and Transparency,     Krueger, Michael Petrov, Heidy Khlaaf, Girish Sas-
  FAccT ’21, pages 610–623, New York, NY, USA.            try, Pamela Mishkin, Brooke Chan, Scott Gray,
  Association for Computing Machinery.                    Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz
                                                          Kaiser, Mohammad Bavarian, Clemens Winter,
Stella Biderman, Kieran Bicheno, and Leo Gao. 2022.       Philippe Tillet, Felipe Petroski Such, Dave Cum-
   Datasheet for the Pile. Computing Research Reposi-     mings, Matthias Plappert, Fotios Chantzis, Eliza-
   tory, arXiv:2201.07311. Version 1.                     beth Barnes, Ariel Herbert-Voss, William Hebgen
Stella Biderman and Edward Raff. 2022. Neural lan-        Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie
   guage models are effective plagiarists. Computing      Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain,
   Research Repository, arXiv:2201.07406. Version 1.      William Saunders, Christopher Hesse, Andrew N.
                                                          Carr, Jan Leike, Josh Achiam, Vedant Misra, Evan
Stella Biderman and Walter J. Scheirer. 2020. Pitfalls    Morikawa, Alec Radford, Matthew Knight, Miles
   in machine learning research: Reexamining the de-      Brundage, Mira Murati, Katie Mayer, Peter Welin-
   velopment cycle. In Proceedings on "I Can’t Be-        der, Bob McGrew, Dario Amodei, Sam McCan-
   lieve It’s Not Better!" at NeurIPS Workshops, vol-     dlish, Ilya Sutskever, and Wojciech Zaremba. 2021.
   ume 137 of Proceedings of Machine Learning Re-         Evaluating large language models trained on code.
   search, pages 106–117. PMLR.                           Computing Research Repository, arXiv:2107.03374.
                                                          Version 2.
Abeba Birhane, Vinay Uday Prabhu, and Emmanuel
  Kahembwe. 2021. Multimodal datasets: misogyny,         Rewon Child, Scott Gray, Alec Radford, and Ilya
  pornography, and malignant stereotypes. Comput-          Sutskever. 2019. Generating long sequences with
  ing Research Repository, arXiv:2110.01963. Ver-          sparse transformers. Computing Research Reposi-
  sion 1.                                                  tory, arXiv:1904.10509. Version 1.
Aakanksha Chowdhery, Sharan Narang, Jacob Devlin,          Hatfield-Dodds, Danny Hernandez, Andy Jones,
  Maarten Bosma, Gaurav Mishra, Adam Roberts,              Jackson Kernion, Liane Lovitt, Kamal Ndousse,
  Paul Barham, Hyung Won Chung, Charles Sutton,            Dario Amodei, Tom Brown, Jack Clark, Jared Ka-
  Sebastian Gehrmann, Parker Schuh, Kensen Shi,            plan, Sam McCandlish, and Chris Olah. 2021. A
  Sasha Tsvyashchenko, Joshua Maynez, Abhishek             Mathematical Framework for Transformer Circuits.
  Rao, Parker Barnes, Yi Tay, Noam Shazeer, Vin-           transformer-circuits.pub.
  odkumar Prabhakaran, Emily Reif, Nan Du, Ben
  Hutchinson, Reiner Pope, James Bradbury, Jacob         William Fedus, Barret Zoph, and Noam Shazeer. 2021.
  Austin, Michael Isard, Guy Gur-Ari, Pengcheng            Switch Transformers: Scaling to trillion parameter
  Yin, Toju Duke, Anselm Levskaya, Sanjay Ghe-             models with simple and efficient sparsity. Comput-
  mawat, Sunipa Dev, Henryk Michalewski, Xavier            ing Research Repository, arXiv:2101.03961. Ver-
  Garcia, Vedant Misra, Kevin Robinson, Liam Fe-           sion 1.
  dus, Denny Zhou, Daphne Ippolito, David Luan,          Leo Gao. 2021a. Behavior cloning is miscalibrated. AI
  Hyeontaek Lim, Barret Zoph, Alexander Spiridonov,        Alignment Forum.
  Ryan Sepassi, David Dohan, Shivani Agrawal, Mark
  Omernick, Andrew M. Dai, Thanumalayan Sankara-         Leo Gao. 2021b. On the sizes of openai api models.
  narayana Pillai, Marie Pellat, Aitor Lewkowycz,
  Erica Moreira, Rewon Child, Oleksandr Polo-            Leo Gao, Stella Biderman, Sid Black, Laurence Gold-
  zov, Katherine Lee, Zongwei Zhou, Xuezhi Wang,           ing, Travis Hoppe, Charles Foster, Jason Phang,
  Brennan Saeta, Mark Diaz, Orhan Firat, Michele           Horace He, Anish Thite, Noa Nabeshima, Shawn
  Catasta, Jason Wei, Kathy Meier-Hellstern, Dou-          Presser, and Connor Leahy. 2020. The Pile: An
  glas Eck, Jeff Dean, Slav Petrov, and Noah               800GB dataset of diverse text for language modeling.
  Fiedel. 2022. PaLM: Scaling language modeling            Computing Research Repository, arXiv:2101.00027.
  with pathways. Computing Research Repository,            Version 1.
  arXiv:2204.02311v2. Version 2.                         Leo Gao, Kyle McDonell, Laria Reynolds, and
Paul Christiano, Ajeya Cotra, and Mark Xu. 2021. Elic-     Stella Biderman. 2021a. A preliminary explo-
  iting latent knowledge: How to tell if your eyes de-     ration into factored cognition with language models.
  ceive you.                                               EleutherAI Blog.
                                                         Leo Gao, Jonathan Tow, Stella Biderman, Sid Black,
Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot,      Anthony DiPofi, Charles Foster, Laurence Gold-
  Ashish Sabharwal, Carissa Schoenick, and Oyvind          ing, Jeffrey Hsu, Kyle McDonell, Niklas Muen-
  Tafjord. 2018. Think you have solved question an-        nighoff, Jason Phang, Laria Reynolds, Eric Tang,
  swering? try ARC, the AI2 Reasoning Challenge.           Anish Thite, Ben Wang, Kevin Wang, and Andy Zou.
  Computing Research Repository, arXiv:1803.05457.         2021b. A framework for few-shot language model
  Version 1.                                               evaluation.
Damai Dai, Li Dong, Yaru Hao, Zhifang Sui, and           Aaron Harlap, Deepak Narayanan, Amar Phanishayee,
  Furu Wei. 2021.       Knowledge neurons in pre-          Vivek Seshadri, Nikhil Devanur, Greg Ganger, and
  trained transformers. Computing Research Reposi-         Phil Gibbons. 2018. PipeDream: Fast and effi-
  tory, arXiv:2104.08696. Version 1.                       cient pipeline parallel DNN training. Computing Re-
                                                           search Repository, arXiv:1806.03377. Version 1.
Abram Demski. 2019. The parable of Predict-O-Matic.
  AI Alignment Forum.                                    Dan Hendrycks, Collin Burns, Steven Basart, Andy
                                                           Zou, Mantas Mazeika, Dawn Song, and Jacob Stein-
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and              hardt. 2021a. Measuring massive multitask lan-
   Kristina Toutanova. 2019.     BERT: Pre-training        guage understanding. Computing Research Repos-
   of deep bidirectional transformers for language         itory, arXiv:2009.03300. Version 3.
   understanding. Computing Research Repository,
   arXiv:1810.04805. Version 2.                          Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul
                                                           Arora, Steven Basart, Eric Tang, Dawn Song, and
Jesse Dodge, Maarten Sap, Ana Marasović, William          Jacob Steinhardt. 2021b. Measuring mathematical
   Agnew, Gabriel Ilharco, Dirk Groeneveld, Margaret       problem solving with the MATH dataset. Comput-
   Mitchell, and Matt Gardner. 2021. Documenting           ing Research Repository, arXiv:2103.03874. Ver-
   large webtext corpora: A case study on the Colos-       sion 2.
   sal Clean Crawled Corpus. In Proceedings of the
   2021 Conference on Empirical Methods in Natural       Tom Henighan, Jared Kaplan, Mor Katz, Mark Chen,
   Language Processing, pages 1286–1305, Online and        Christopher Hesse, Jacob Jackson, Heewoo Jun,
   Punta Cana, Dominican Republic. Association for         Tom B. Brown, Prafulla Dhariwal, Scott Gray, Chris
   Computational Linguistics.                              Hallacy, Benjamin Mann, Alec Radford, Aditya
                                                           Ramesh, Nick Ryder, Daniel M. Ziegler, John Schul-
Nelson Elhage, Neel Nanda, Catherine Olsson, Tom           man, Dario Amodei, and Sam McCandlish. 2020.
  Henighan, Nicholas Joseph, Ben Mann, Amanda              Scaling laws for autoregressive generative modeling.
  Askell, Yuntao Bai, Anna Chen, Tom Conerly,              Computing Research Repository, arXiv:2010.14701.
  Nova DasSarma, Dawn Drain, Deep Ganguli, Zac             Version 2.
Jordan Hoffmann, Sebastian Borgeaud, Arthur Men-          Jack Koch, Lauro Langosco, Jacob Pfau, James Le, and
   sch, Elena Buchatskaya, Trevor Cai, Eliza Ruther-         Lee Sharkey. 2021. Objective robustness in deep re-
   ford, Diego de Las Casas, Lisa Anne Hendricks, Jo-        inforcement learning. Computing Research Reposi-
   hannes Welbl, Aidan Clark, et al. 2022. Training          tory, arXiv:2105.14111. Version 2.
   compute-optimal large language models. Comput-
   ing Research Repository, arXiv:2203.15556. Ver-        Philipp Koehn. 2005. Europarl: A parallel corpus for
   sion 1.                                                  statistical machine translation. In Proceedings of
                                                            Machine Translation Summit X: Papers, pages 79–
Wenlong Huang, Pieter Abbeel, Deepak Pathak, and            86, Phuket, Thailand.
  Igor Mordatch. 2022. Language models as zero-
  shot planners: Extracting actionable knowledge for      Aran Komatsuzaki. 2019. One epoch is all you need.
  embodied agents. Computing Research Repository,           Computing Research Repository, arXiv:1906.06669.
  arXiv:2201.07207. Version 1.                              Version 1.
Evan Hubinger, Chris van Merwijk, Vladimir Miku-
  lik, Joar Skalse, and Scott Garrabrant. 2021. Risks     Vanessa Kosoy. 2016. IRL is hard. AI Alignment Fo-
  from learned optimization in advanced machine             rum.
  learning systems. Computing Research Repository,
  arXiv:1906.01820. Version 3.                            Julia Kreutzer, Isaac Caswell, Lisa Wang, Ahsan Wa-
                                                             hab, Daan van Esch, Nasanbayar Ulzii-Orshikh, Al-
Mandar Joshi, Eunsol Choi, Daniel Weld, and Luke             lahsera Tapo, Nishant Subramani, Artem Sokolov,
 Zettlemoyer. 2017. TriviaQA: A large scale dis-             Claytone Sikasote, Monang Setyawan, Supheak-
 tantly supervised challenge dataset for reading com-        mungkol Sarin, Sokhar Samb, Benoît Sagot, Clara
 prehension. In Proceedings of the 55th Annual Meet-         Rivera, Annette Rios, Isabel Papadimitriou, Sa-
 ing of the Association for Computational Linguistics        lomey Osei, Pedro Ortiz Suarez, Iroro Orife, Kelechi
 (Volume 1: Long Papers), pages 1601–1611, Van-              Ogueji, Andre Niyongabo Rubungo, Toan Q.
 couver, Canada. Association for Computational Lin-          Nguyen, Mathias Müller, André Müller, Sham-
 guistics.                                                   suddeen Hassan Muhammad, Nanda Muhammad,
                                                             Ayanda Mnyakeni, Jamshidbek Mirzakhalov, Tapi-
Nikhil Kandpal, Eric Wallace, and Colin Raffel. 2022.        wanashe Matangira, Colin Leong, Nze Lawson,
  Deduplicating training data mitigates privacy risks        Sneha Kudugunta, Yacine Jernite, Mathias Jenny,
  in language models. Computing Research Reposi-             Orhan Firat, Bonaventure F. P. Dossou, Sakhile
  tory, arXiv:2202.06539. Version 2.                         Dlamini, Nisansa de Silva, Sakine Çabuk Ballı,
                                                             Stella Biderman, Alessia Battisti, Ahmed Baruwa,
Jared Kaplan, Sam McCandlish, Tom Henighan,
                                                             Ankur Bapna, Pallavi Baljekar, Israel Abebe Azime,
   Tom B Brown, Benjamin Chess, Rewon Child, Scott
                                                             Ayodele Awokoya, Duygu Ataman, Orevaoghene
   Gray, Alec Radford, Jeffrey Wu, and Dario Amodei.
                                                             Ahia, Oghenefego Ahia, Sweta Agrawal, and Mofe-
   2020. Scaling laws for neural language models.
                                                             toluwa Adeyemi. 2022. Quality at a Glance: An Au-
   Computing Research Repository, arXiv:2001.08361.
                                                             dit of Web-Crawled Multilingual Datasets. Transac-
   Version 1.
                                                             tions of the Association for Computational Linguis-
Boseop Kim, HyoungSeok Kim, Sang-Woo Lee,                    tics, 10:50–72.
  Gichang Lee, Donghyun Kwak, Jeon Dong Hyeon,
  Sunghyun Park, Sungju Kim, Seonhoon Kim, Dong-          Alexandre Lacoste, Alexandra Luccioni, Victor
  pil Seo, Heungsub Lee, Minyoung Jeong, Sung-              Schmidt, and Thomas Dandres. 2019. Quantifying
  jae Lee, Minsub Kim, Suk Hyun Ko, Seokhun                 the carbon emissions of machine learning. Com-
  Kim, Taeyong Park, Jinuk Kim, Soyoung Kang, Na-           puting Research Repository, arXiv:1910.09700.
  Hyeon Ryu, Kang Min Yoo, Minsuk Chang, Soobin             Version 2.
  Suh, Sookyo In, Jinseong Park, Kyungduk Kim,
  Hiun Kim, Jisu Jeong, Yong Goo Yeo, Donghoon            Connor Leahy. 2021. Why Release a Large Language
  Ham, Dongju Park, Min Young Lee, Jaewook Kang,            Model? EleutherAI Blog.
  Inho Kang, Jung-Woo Ha, Woomyoung Park, and
  Nako Sung. 2021. What changes can large-scale           Connor Leahy and Stella Biderman. 2021. The hard
  language models bring? Intensive study on Hy-             problem of aligning AI to human values. In The
  perCLOVA: Billions-scale Korean generative pre-           State of AI Ethics Report, volume 4, pages 180–183.
  trained transformers. In Proceedings of the 2021          The Montreal AI Ethics Institute.
  Conference on Empirical Methods in Natural Lan-
  guage Processing, pages 3405–3424, Online and           Katherine Lee, Daphne Ippolito, Andrew Nystrom,
  Punta Cana, Dominican Republic. Association for           Chiyuan Zhang, Douglas Eck, Chris Callison-Burch,
  Computational Linguistics.                                and Nicholas Carlini. 2021. Deduplicating training
                                                            data makes language models better. Computing Re-
Bryan Klimt and Yiming Yang. 2004. The Enron cor-           search Repository, arXiv:2107.06499. Version 1.
  pus: A new dataset for email classification research.
  In Proceedings of the 15th European Conference          Opher Lieber, Or Sharir, Barak Lenz, and Yoav
  on Machine Learning, ECML’04, page 217–226,               Shoham. 2021. Jurassic-1: Technical details and
  Berlin, Heidelberg. Springer-Verlag.                      evaluation. Technical report, AI21 Labs.
Stephanie Lin, Jacob Hilton, and Owain Evans. 2021.        Maxwell Nye, Anders Johan Andreassen, Guy Gur-Ari,
   TruthfulQA: Measuring how models mimic hu-               Henryk Michalewski, Jacob Austin, David Bieber,
   man falsehoods. Computing Research Repository,           David Dohan, Aitor Lewkowycz, Maarten Bosma,
   arXiv:2109.07958. Version 1.                             David Luan, Charles Sutton, and Augustus Odena.
                                                            2021. Show your work: Scratchpads for intermedi-
Pierre Lison and Jörg Tiedemann. 2016. OpenSub-             ate computation with language models. Computing
   titles2016: Extracting large parallel corpora from       Research Repository, arXiv:2112.00114. Version 1.
   movie and TV subtitles. In Proceedings of the Tenth
   International Conference on Language Resources          Pedro A. Ortega, Markus Kunesch, Grégoire Delé-
   and Evaluation (LREC’16), pages 923–929, Por-             tang, Tim Genewein, Jordi Grau-Moya, Joel Veness,
   torož, Slovenia. European Language Resources As-          Jonas Buchli, Jonas Degrave, Bilal Piot, Julien Per-
   sociation (ELRA).                                         olat, Tom Everitt, Corentin Tallec, Emilio Parisotto,
                                                             Tom Erez, Yutian Chen, Scott Reed, Marcus Hutter,
Jian Liu, Leyang Cui, Hanmeng Liu, Dandan Huang,             Nando de Freitas, and Shane Legg. 2021. Shaking
   Yile Wang, and Yue Zhang. 2020. LogiQA: A                 the foundations: delusions in sequence models for
   challenge dataset for machine reading comprehen-          interaction and control. Computing Research Repos-
   sion with logical reasoning. In Proceedings of the        itory, arXiv:2110.10819. Version 1.
   Twenty-Ninth International Joint Conference on Ar-
   tificial Intelligence, IJCAI-20, pages 3622–3628. In-   Denis Paperno, Germán Kruszewski, Angeliki Lazari-
   ternational Joint Conferences on Artificial Intelli-      dou, Ngoc Quan Pham, Raffaella Bernardi, San-
   gence Organization.                                       dro Pezzelle, Marco Baroni, Gemma Boleda, and
                                                             Raquel Fernández. 2016. The LAMBADA dataset:
Ilya Loshchilov and Frank Hutter. 2019. Decoupled            Word prediction requiring a broad discourse context.
   weight decay regularization. Computing Research           In Proceedings of the 54th Annual Meeting of the As-
   Repository, arXiv:1711.05101. Version 3.                  sociation for Computational Linguistics (Volume 1:
                                                             Long Papers), pages 1525–1534, Berlin, Germany.
J. Nathan Matias. 2020. Why we need industry-                Association for Computational Linguistics.
   independent research on tech & society. Citizens
   and Technology Lab.                                     Anselmo Peñas, Eduard Hovy, Pamela Forner, Ál-
                                                             varo Rodrigo, Richard Sutcliffe, and Roser Morante.
Joshua Maynez, Shashi Narayan, Bernd Bohnet, and             2013. QA4MRE 2011-2013: Overview of question
   Ryan McDonald. 2020. On faithfulness and factu-           answering for machine reading evaluation. In In-
   ality in abstractive summarization. Computing Re-         formation Access Evaluation. Multilinguality, Multi-
   search Repository, arXiv:2005.00661. Version 1.           modality, and Visualization, pages 303–320, Berlin,
                                                             Heidelberg. Springer Berlin Heidelberg.
Kevin Meng, David Bau, Alex Andonian, and Yonatan          Alec Radford, Karthik Narasimhan, Tim Salimans, and
  Belinkov. 2022. Locating and editing factual knowl-        Ilya Sutskever. 2018. Improving language under-
  edge in GPT. Computing Research Repository,                standing by generative pre-training. Technical re-
  arXiv:2202.05262v1. Version 1.                             port, OpenAI.
Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish       Alec Radford, Jeff Wu, Rewon Child, David Luan,
  Sabharwal. 2018. Can a suit of armor conduct elec-         Dario Amodei, and Ilya Sutskever. 2019. Language
  tricity? A new dataset for open book question an-          models are unsupervised multitask learners. Techni-
  swering. In Proceedings of the 2018 Conference on          cal report, OpenAI.
  Empirical Methods in Natural Language Processing,
  pages 2381–2391, Brussels, Belgium. Association          Jack W. Rae, Sebastian Borgeaud, Trevor Cai, Katie
  for Computational Linguistics.                              Millican, Jordan Hoffmann, H. Francis Song, John
                                                              Aslanides, Sarah Henderson, Roman Ring, Susan-
Toan Q. Nguyen and Julian Salazar. 2019. Trans-               nah Young, Eliza Rutherford, Tom Hennigan, Ja-
  formers without tears: Improving the normalization          cob Menick, Albin Cassirer, Richard Powell, George
  of self-attention. Computing Research Repository,           van den Driessche, Lisa Anne Hendricks, Mari-
  arXiv:1910.05895. Version 2.                                beth Rauh, Po-Sen Huang, Amelia Glaese, Jo-
                                                              hannes Welbl, Sumanth Dathathri, Saffron Huang,
Yixin Nie, Adina Williams, Emily Dinan, Mohit                 Jonathan Uesato, John Mellor, Irina Higgins, An-
  Bansal, Jason Weston, and Douwe Kiela. 2020. Ad-            tonia Creswell, Nat McAleese, Amy Wu, Erich
  versarial NLI: A new benchmark for natural lan-             Elsen, Siddhant M. Jayakumar, Elena Buchatskaya,
  guage understanding. In Proceedings of the 58th An-         David Budden, Esme Sutherland, Karen Simonyan,
  nual Meeting of the Association for Computational           Michela Paganini, Laurent Sifre, Lena Martens,
  Linguistics, pages 4885–4901, Online. Association           Xiang Lorraine Li, Adhiguna Kuncoro, Aida Ne-
  for Computational Linguistics.                              matzadeh, Elena Gribovskaya, Domenic Donato,
                                                              Angeliki Lazaridou, Arthur Mensch, Jean-Baptiste
nostalgebraist. 2020. interpreting GPT: the logit lens.       Lespiau, Maria Tsimpoukelli, Nikolai Grigorev,
  LessWrong.                                                  Doug Fritz, Thibault Sottiaux, Mantas Pajarskas,
  Toby Pohlen, Zhitao Gong, Daniel Toyama, Cy-              Jathan Sadowski, Salomé Viljoen, and Meredith Whit-
  prien de Masson d’Autume, Yujia Li, Tayfun Terzi,            taker. 2021. Everyone should decide how their digi-
  Vladimir Mikulik, Igor Babuschkin, Aidan Clark,              tal data are used — not just tech companies. Nature,
  Diego de Las Casas, Aurelia Guy, Chris Jones,                595(7866):169–171.
  James Bradbury, Matthew Johnson, Blake A. Hecht-
  man, Laura Weidinger, Iason Gabriel, William S.           Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavat-
  Isaac, Edward Lockhart, Simon Osindero, Laura               ula, and Yejin Choi. 2021. WinoGrande: An adver-
  Rimell, Chris Dyer, Oriol Vinyals, Kareem Ayoub,            sarial Winograd Schema Challenge at scale. Com-
  Jeff Stanway, Lorrayne Bennett, Demis Hassabis,             munications of the ACM, 64(9):99–106.
  Koray Kavukcuoglu, and Geoffrey Irving. 2022.
  Scaling language models: Methods, analysis & in-          Victor Sanh, Albert Webson, Colin Raffel, Stephen H.
  sights from training Gopher. Computing Research             Bach, Lintang Sutawika, Zaid Alyafeai, Antoine
  Repository, arXiv:2112.11446. Version 2.                    Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja,
                                                              Manan Dey, M Saiful Bari, Canwen Xu, Urmish
Jack W Rae, Anna Potapenko, Siddhant M Jayaku-                Thakker, Shanya Sharma Sharma, Eliza Szczechla,
   mar, Chloe Hillier, and Timothy P Lillicrap.               Taewoon Kim, Gunjan Chhablani, Nihal Nayak,
   2019. Compressive transformers for long-range se-          Debajyoti Datta, Jonathan Chang, Mike Tian-Jian
   quence modelling. Computing Research Repository,           Jiang, Han Wang, Matteo Manica, Sheng Shen,
   arXiv:1911.05507. Version 1.                               Zheng Xin Yong, Harshit Pandey, Rachel Bawden,
                                                              Thomas Wang, Trishala Neeraj, Jos Rozen, Ab-
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine           heesht Sharma, Andrea Santilli, Thibault Févry, Ja-
  Lee, Sharan Narang, Michael Matena, Yanqi Zhou,             son Alan Fries, Ryan Teehan, Stella Biderman, Leo
  Wei Li, and Peter J Liu. 2020. Exploring the limits         Gao, Tali Bers, Thomas Wolf, and Alexander M.
  of transfer learning with a unified text-to-text trans-     Rush. 2021. Multitask prompted training enables
  former. Journal of Machine Learning Research,               zero-shot task generalization. Computing Research
  21:1–67.                                                    Repository, arXiv:2110.08207. Version 2.
Samyam Rajbhandari, Jeff Rasley, Olatunji Ruwase,           David Saxton, Edward Grefenstette, Felix Hill, and
  and Yuxiong He. 2020. ZeRO: Memory optimiza-                Pushmeet Kohli. 2019. Analysing mathematical rea-
  tions toward training trillion parameter models. In         soning abilities of neural models. Computing Re-
  Proceedings of the International Conference for             search Repository, arXiv:1904.01557. Version 1.
  High Performance Computing, Networking, Storage
  and Analysis, SC ’20. IEEE Press.                         Roy Schwartz, Jesse Dodge, Noah A. Smith, and Oren
                                                              Etzioni. 2020. Green AI. Communications of the
Jeff Rasley, Samyam Rajbhandari, Olatunji Ruwase,             ACM, 63(12):54–63.
   and Yuxiong He. 2020. DeepSpeed: System opti-
   mizations enable training deep learning models with      Mohammad Shoeybi, Mostofa Patwary, Raul Puri,
   over 100 billion parameters. In Proceedings of the        Patrick LeGresley, Jared Casper, and Bryan Catan-
   26th ACM SIGKDD International Conference on               zaro. 2020. Megatron-LM: Training multi-billion
   Knowledge Discovery & Data Mining, pages 3505–            parameter language models using model parallelism.
   3506, New York, NY, USA. Association for Com-             Computing Research Repository, arXiv:1909.08053.
   puting Machinery.                                         Version 4.
Yasaman Razeghi, Robert L Logan IV, Matt Gardner,           Mary Anne Smart. 2021. Addressing privacy threats
  and Sameer Singh. 2022. Impact of pretraining term         from machine learning. Computing Research Repos-
  frequencies on few-shot reasoning. Computing Re-           itory, arXiv:2111.04439. Version 1.
  search Repository, arXiv:2202.07206. Version 1.
                                                            Shaden Smith, Mostofa Patwary, Brandon Norick,
Adam Roberts, Hyung Won Chung, Anselm Levskaya,               Patrick LeGresley, Samyam Rajbhandari, Jared
  Gaurav Mishra, James Bradbury, Daniel Andor, Sha-           Casper, Zhun Liu, Shrimai Prabhumoye, George
  ran Narang, Brian Lester, Colin Gaffney, Afroz              Zerveas, Vijay Korthikanti, Elton Zhang, Rewon
  Mohiuddin, Curtis Hawthorne, Aitor Lewkowycz,               Child, Reza Yazdani Aminabadi, Julie Bernauer, Xia
  Alex Salcianu, Marc van Zee, Jacob Austin, Sebas-           Song, Mohammad Shoeybi, Yuxiong He, Michael
  tian Goodman, Livio Baldini Soares, Haitang Hu,             Houston, Saurabh Tiwary, and Bryan Catanzaro.
  Sasha Tsvyashchenko, Aakanksha Chowdhery, Jas-              2022. Using DeepSpeed and Megatron to train
  mijn Bastings, Jannis Bulian, Xavier Garcia, Jianmo         Megatron-Turing NLG 530B, a large-scale genera-
  Ni, Andrew Chen, Kathleen Kenealy, Jonathan H.              tive language model. Computing Research Reposi-
  Clark, Stephan Lee, Dan Garrette, James Lee-Thorp,          tory, arXiv:2201.11990. Version 3.
  Colin Raffel, Noam Shazeer, Marvin Ritter, Maarten
  Bosma, Alexandre Passos, Jeremy Maitin-Shepard,           Nate Soares. 2021. Visible thoughts project and bounty
  Noah Fiedel, Mark Omernick, Brennan Saeta, Ryan             announcement. Machine Intelligence Research In-
  Sepassi, Alexander Spiridonov, Joshua Newlan, and           stitute.
  Andrea Gesmundo. 2022. Scaling up models and
  data with t5x and seqio. Computing Research               Nisan Stiennon, Long Ouyang, Jeff Wu, Daniel M.
  Repository, arXiv:2203.17189. Version 1.                    Ziegler, Ryan Lowe, Chelsea Voss, Alec Radford,
  Dario Amodei, and Paul F. Christiano. 2022. Learn-      Ben Wang. 2021. Mesh-Transformer-JAX: Model-
  ing to summarize from human feedback. Computing           parallel implementation of transformer language
  Research Repository, arXiv:2009.01325.                    model with JAX.

Emma Strubell, Ananya Ganesh, and Andrew McCal-           Ben Wang and Aran Komatsuzaki. 2021. GPT-J-6B: A
  lum. 2019. Energy and policy considerations for           6 billion parameter autoregressive language model.
  deep learning in NLP. In Proceedings of the 57th        Jason Wei, Maarten Bosma, Vincent Y Zhao, Kelvin
  Annual Meeting of the Association for Computa-             Guu, Adams Wei Yu, Brian Lester, Nan Du, An-
  tional Linguistics, pages 3645–3650, Florence, Italy.      drew M Dai, and Quoc V Le. 2021. Finetuned lan-
  Association for Computational Linguistics.                 guage models are zero-shot learners. Computing Re-
                                                             search Repository, arXiv:2109.01652. Version 5.
Jianlin Su, Yu Lu, Shengfeng Pan, Bo Wen, and Yun-
   feng Liu. 2021. RoFormer: Enhanced transformer         Johannes Welbl, Nelson F. Liu, and Matt Gardner. 2017.
   with rotary position embedding. Computing Re-            Crowdsourcing multiple choice science questions.
   search Repository, arXiv:2104.09864. Version 2.          In Proceedings of the 3rd Workshop on Noisy User-
                                                            generated Text, pages 94–106, Copenhagen, Den-
Yu Sun, Shuohuan Wang, Shikun Feng, Siyu Ding,              mark. Association for Computational Linguistics.
  Chao Pang, Junyuan Shang, Jiaxiang Liu, Xuyi
  Chen, Yanbin Zhao, Yuxiang Lu, Weixin Liu, Zhi-         John Wentworth. 2020. Alignment by default. AI
  hua Wu, Weibao Gong, Jianzhong Liang, Zhizhou             Alignment Forum.
  Shang, Peng Sun, Wei Liu, Xuan Ouyang, Dianhai
                                                          Meredith Whittaker. 2021. The steep cost of capture.
  Yu, Hao Tian, Hua Wu, and Haifeng Wang. 2021.
                                                           Interactions, 28(6):50–55.
  ERNIE 3.0: Large-scale knowledge enhanced pre-
  training for language understanding and generation.     Linting Xue, Aditya Barua, Noah Constant, Rami Al-
  Computing Research Repository, arXiv:2107.02137.          Rfou, Sharan Narang, Mihir Kale, Adam Roberts,
  Version 1.                                                and Colin Raffel. 2022. ByT5: Towards a token-free
                                                            future with pre-trained byte-to-byte models. Trans-
Zeerak Talat, Aurélie Névéol, Stella Biderman, Miruna       actions of the Association for Computational Lin-
  Clinciu, Manan Dey, Shayne Longpre, Alexan-               guistics, 10:291–306.
  dra Sasha Luccioni, Maraim Masoud, Margaret
  Mitchell, Dragomir Radev, Shanya Sharma, Arjun          Linting Xue, Noah Constant, Adam Roberts, Mi-
  Subramonian, Jaesung Tae, Samson Tan, Deepak              hir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya
  Tunuguntla, and Oskar van der Wal. 2022. You reap         Barua, and Colin Raffel. 2020. mT5: A massively
  what you sow: On the challenges of bias evaluation        multilingual pre-trained text-to-text transformer.
  under multilingual settings. In Proceedings of the        Computing Research Repository, arXiv:2010.11934.
  1st Workshop on Challenges & Perspectives in Cre-         Version 1.
  ating Large Language Models. Association for Com-
  putational Linguistics.                                 Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali
                                                            Farhadi, and Yejin Choi. 2019. HellaSwag: Can
Zhixing Tan, Xiangwen Zhang, Shuo Wang, and Yang            a machine really finish your sentence?      In Pro-
  Liu. 2021. MSP: Multi-stage prompting for mak-            ceedings of the 57th Annual Meeting of the Asso-
  ing pre-trained language models better translators.       ciation for Computational Linguistics, pages 4791–
  Computing Research Repository, arXiv:2110.06609.          4800, Florence, Italy. Association for Computational
  Version 1.                                                Linguistics.
                                                          Wei Zeng, Xiaozhe Ren, Teng Su, Hui Wang,
Jie Tang. 2021. WuDao: Pretrain the world. Keynote         Yi Liao, Zhiwei Wang, Xin Jiang, ZhenZhang
   address at the European Conference on Machine           Yang, Kaisheng Wang, Xiaoda Zhang, Chen Li,
   Learning and Principles and Practice of Knowledge        Ziyan Gong, Yifan Yao, Xinjing Huang, Jun Wang,
   Discovery in Databases.                                 Jianfeng Yu, Qi Guo, Yue Yu, Yan Zhang, Jin
                                                           Wang, Hengtao Tao, Dasen Yan, Zexuan Yi, Fang
David Vilares and Carlos Gómez-Rodríguez. 2019.             Peng, Fangqing Jiang, Han Zhang, Lingfeng Deng,
  HEAD-QA: A healthcare dataset for complex rea-           Yehong Zhang, Zhe Lin, Chao Zhang, Shaojie
  soning. In Proceedings of the 57th Annual Meet-           Zhang, Mingyue Guo, Shanzhi Gu, Gaojun Fan,
  ing of the Association for Computational Linguis-        Yaowei Wang, Xuefeng Jin, Qun Liu, and Yonghong
  tics, pages 960–966, Florence, Italy. Association for    Tian. 2021.      Pangu-α: Large-scale autoregres-
  Computational Linguistics.                                sive pretrained chinese language models with auto-
                                                            parallel computation. Computing Research Reposi-
Alex Wang, Yada Pruksachatkun, Nikita Nangia,               tory, arXiv:2104.12369. Version 1.
  Amanpreet Singh, Julian Michael, Felix Hill, Omer
  Levy, and Samuel Bowman. 2019. SuperGLUE: A             Chiyuan Zhang, Daphne Ippolito, Katherine Lee,
  stickier benchmark for general-purpose language un-       Matthew Jagielski, Florian Tramèr, and Nicholas
  derstanding systems. In Advances in Neural Infor-         Carlini. 2021. Counterfactual memorization in neu-
  mation Processing Systems, volume 32, pages 3266–         ral language models. Computing Research Reposi-
  3280. Curran Associates, Inc.                             tory, arXiv:2112.12938. Version 1.
Ruiqi Zhong, Kristy Lee, Zheng Zhang, and Dan
  Klein. 2021.      Adapting language models for
  zero-shot learning by meta-tuning on dataset and
  prompt collections. Computing Research Reposi-
  tory, arXiv:2104.04670. Version 5.
A     Individual Contributions
Sid Black was the lead developer and overall point
person for the project. Stella Biderman was the
lead scientist and project manager.
                                                        Configuration Key                                        Value
Implementation and Engineering                          attention-dropout                                             0
                                                        bias-gelu-fusion                                          True
                                                        checkpoint-activations                                    True
    Implementation of training infrastructure:          checkpoint-num-layers                                         1
    Sid Black, Stella Biderman, Eric Hallahan,          data-impl                                               mmap
                                                        distributed-backend                                        nccl
    Quentin Anthony, Samuel Weinbach                    eval-interval                                             1000
                                                        eval-iters                                                   10
    Scaling experiments and optimization:               fp16.enabled                                              True
    Sid Black, Stella Biderman, Quentin Anthony,        fp16.fp16                                                 True
                                                        fp16.hysteresis                                               2
    Samuel Weinbach                                     fp16.initial-scale-power                                     12
                                                        fp16.loss-scale                                               0
    Positional Embeddings:                              fp16.loss-scale-window                                    1000
                                                        fp16.min-loss-scale                                           1
    Sid Black, Eric Hallahan, Michael Pieler            gpt-j-residual                                            True
                                                        gradient-accumulation-steps                                  32
    Tokenizer:                                          gradient-clipping                                           1.0
                                                        hidden-dropout                                                0
    Sid Black                                           hidden-size                                               6144
                                                        init-method                                          small-init
    Miscellaneous:                                      log-interval                                                  2
    USVSN Sai Prashanth, Ben Wang                       lr-decay-iters                                         150000
                                                        lr-decay-style                                          cosine
                                                        max-position-embeddings                                   2048
Scientific Experimentation                              min-lr                                                 9.7e-06
                                                        model-parallel-size                                           2
    Evaluations:                                        no-weight-tying                                           True
                                                        norm                                                layernorm
    Stella Biderman, Leo Gao, Jonathan Tow,             num-attention-heads                                          64
    Sid Black, Shivanshu Purohit, Horace He,            num-layers                                                   44
                                                        optimizer.params.betas                              [0.9, 0.95]
    Laurence Golding                                    optimizer.params.eps                                     1e-08
                                                        optimizer.params.lr                                    9.7e-05
    Positional Embeddings:                              optimizer.type                                           Adam
                                                        output-layer-init-method                             wang-init
    Stella Biderman,            Laurence Golding,       output-layer-parallelism                               column
    Michael Pieler                                      partition-activations                                     False
                                                        pipe-parallel-size                                            4
    Tokenizer:                                          pos-emb                                                  rotary
                                                        rotary-pct                                                 0.25
    Stella Biderman, Jason Phang, Leo Gao               save-interval                                              500
                                                        scaled-upper-triang-masked-softmax-fusion                 True
                                                        seq-length                                                2048
Broader Impacts                                         split                                                  995,4,1
                                                        steps-per-print                                               2
    Alignment Implications:                             synchronize-each-layer                                    True
    Leo Gao,   Connor Leahy,         Laria Reynolds,    tokenizer-type                                   HFTokenizer
                                                        train-iters                                            150000
    Kyle McDonell                                       train-micro-batch-size-per-gpu                                4
                                                        vocab-file                                  20B-tokenizer.json
    Environmental Impact:                               wall-clock-breakdown                                      False
                                                        warmup                                                     0.01
    Stella Biderman, Eric Hallahan                      weight-decay                                               0.01
                                                        zero-optimization.allgather-bucket-size           1260000000
B     Full Configuration Details                        zero-optimization.allgather-partitions                    True
                                                        zero-optimization.contiguous-gradients                    True
                                                        zero-optimization.cpu-offload                             False
In Table 1 we attach the full configuration details     zero-optimization.overlap-comm                            True
used to train GPT-NeoX-20B. The file is available       zero-optimization.reduce-bucket-size              1260000000
                                                        zero-optimization.reduce-scatter                          True
in .yaml format usable in gpt-neox at https://          zero-optimization.stage                                       1
github.com/EleutherAI/gpt-neox, where we
                                                       Table 1: The full configuration details for GPT-NeoX-
also provide documentation describing the role of
                                                       20B training
each parameter.
C    Broader Impacts                                     have access to LLMs to use them. While there are
                                                         negative risks due to the potential acceleration of
The current status quo in research is that large lan-
                                                         capabilities research, we believe the benefits of this
guage models are things people train and publish
                                                         release outweigh the risks of accelerating capabili-
about, but do not actually release. To the best of our
                                                         ties research.
knowledge, GPT-NeoX-20B is the largest dense
language model to ever be publicly released with a       C.1     Impact on Capabilities Research and
several-way tie for second place at 13 billion param-            Products
eters (Artetxe et al., 2021; Xue et al., 2020, 2022)
                                                         When discussing the impact of access to technol-
and many more models at the 10-11B parameter
                                                         ogy, it is important to distinguish between capaci-
scale. A variety of reasons for the non-release of
                                                         ties research which seeks to push the current state-
large language models are given by various groups,
                                                         of-the-art and research on
but the primary one is the harms that public access
                                                            We feel the risk of releasing GPT-NeoX-20B
to LLMs would purportedly cause.
                                                         is acceptable, as the contribution of the model to
   We take these concerns quite seriously. However,
                                                         capabilities research is likely to be limited, for two
having taken them quite seriously, we feel that they
                                                         reasons.
are flawed in several respects. While a thorough
                                                            We ultimately believe that the benefits of releas-
analysis of these issues is beyond the scope of this
                                                         ing this model outweigh the risks, but this argument
paper, the public release of our model is the most
                                                         hinges crucially on the particular circumstances
important contribution of this paper and so an ex-
                                                         of this release. All actors considering releasing
planation of why we disagree with the prevailing
                                                         powerful AI models or advancing the frontier of
wisdom is important.
                                                         capabilities should think carefully about what they
Providing access to ethics and alignment re-             release, in what way, and when.
searchers will prevent harm. The open-source
                                                         C.2     Impact on Ethics and Alignment
release of this model is motivated by the hope that
                                                                 Research
it will allow researchers who would not otherwise
have access to LLMs to use them. While there are         To oversimplify a complex debate, there are
negative risks due to the potential acceleration of      broadly speaking two schools of thought regard-
capabilities research, we believe the benefits of this   ing the mitigation of harm that is done by AI al-
release outweigh the risks. We also note that these      gorithms: AI Ethics and AI Alignement. AI Ethics
benefits are not hypothetical, as a number of papers     researchers are primarily concerned with the im-
about the limits and ethics of LLMs has been ex-         pact of current technologies or technologies very
plicitly enabled by the public release of previous       similar to current technologies, while AI Align-
models (Zhang et al., 2021; Kandpal et al., 2022;        ment is primarily concerned with future “generally
Carlini et al., 2022; Birhane et al., 2021; nostalge-    intelligent” systems whose capacities greatly out-
braist, 2020; Meng et al., 2022; Lin et al., 2021).      class currently existing systems and possess human
                                                         and superhuman levels of intelligence. While the
Limiting access to governments and corpora-              tools, methods, and ideas of these camps are very
tions will not prevent harm. Perhaps the most            different, we believe that increasing access to these
curious aspect of the argument that LLMs should          technologies will empower and advance the goals
not be released is that the people making such ar-       of researchers in both schools.
guments are not arguing they they should not use
LLMs. Rather, they are claiming that other people        C.2.1    The Necessity of Model Access for AI
should not use them. We do not believe that this                  Ethics
is a position that should be taken seriously. The        Analyzing and documenting the limitations of mod-
companies and governments that have the financial        els is an essential aspect of AI ethics research
resources to train LLMs are overwhelmingly more          (Matias, 2020). Work examining and criticizing
likely to do large scale harm using a LLM than a         datasets (Kreutzer et al., 2022; Dodge et al., 2021;
random individual.                                       Birhane et al., 2021), functionality (Smart, 2021;
   The open-source release of this model is mo-          Zhang et al., 2021; Carlini et al., 2022; Biderman
tivated by the hope that it will allow ethics and        and Raff, 2022), evaluation and deployment proce-
alignment researchers who would not otherwise            dures (Biderman and Scheirer, 2020; Talat et al.,
2022), and more are essential to well-rounded and        Using a LLM as a reward model. Because they
informed debate on the value and application of          are trained to predict human writing, LLMs also
technology.                                              appear to develop a useful representation of hu-
   However the current centralization of LLM train-      man values at the semantic level. Finding a way
ing also creates a centralization of control of tech-    to utilise these representations could be a possible
nology (Sadowski et al., 2021; Whittaker, 2021)          path toward solving the problem of reward robust-
that makes meaningful independent evaluation im-         ness in RL and other algorithms which require a
possible. This means that it is often not possible       proxy of human judgment (Stiennon et al., 2022;
to do this kind of work in practice because of the       Wentworth, 2020). Despite fundamental theoretical
severe access restrictions companies that own large      limitations on learning human values (Armstrong
language models put on them. While GPT-NeoX              and Mindermann, 2018; Kosoy, 2016), value learn-
is the 13th largest dense language model at time of      ing may still be robust enough to align weaker su-
writing only model larger than GPT-NeoX 20B that         perhuman AIs. Future experiments could explore
is publicly accessible is GPT-3. There are signifi-      the extent to which LLM pretraining improves
cant limitations on people’s ability to do research      downstream reward model robustness and general-
on GPT-3 though, as it is not free to use and its        ization.
training data is private.
                                                         Natural language transparency. Since LLM
C.2.2   The Usefulness of Large Language                 prompts are in a human-readable form, it can
        Models in Alignment                              provide insight on the LLM’s expected behavior.
LLMs represent a different paradigm than the AI          Prompt programming or finetuning can be used to
systems generally studied by alignment researchers       leverage this fact and force a LLM to execute more
because they are not well-described as coherent          transparent algorithms, such as splitting problems
agents or expected utility maximizers. Though            into steps or explicitly writing an “internal mono-
trained to optimize a log-likelihood loss function, at   logue” (Soares, 2021; Gao et al., 2021a; Nye et al.,
a high level the goals a LLM pursues are varied and      2021). Reliability and trustworthiness can present
contradictory, depending on the way it is prompted.      significant challenges for these approaches.
This introduces additional challenges, but may also         However, this form of transparency also has its
enable new approaches to alignment.                      limits. In particular, models can often respond
   GPT-NeoX-20B itself is not the system we need         unpredictably to prompts, and internal monologues
to align, but we hope it can serve as a publicly         may become completely detached from the model’s
available platform for experiments whose results         decision making process if translating between the
might generalize to crucial future work.                 model’s ontology and the human ontology is more
   The following is a non-exhaustive list of poten-      complex than simply modeling human monologues
tial approaches we consider promising for further        (Christiano et al., 2021).
investigation.
                                                         Simulating agents at runtime. Although LLMs
Mechanistic interpretability. Mechanistic inter-         are not well-described as coherent agents, they can
pretability research (Cammarata et al., 2020) hopes      still be used to generate goal-directed processes.
to gain an understanding into how models accom-          Given an appropriate prompt (such as a story of a
plish the tasks they do, in part in the hopes of de-     character working to achieve a goal), LLMs can
tecting problematic or deceptive algorithms imple-       predict and thus simulate an agent (Huang et al.,
mented by models before these failures manifest          2022). Simulated agents take representative actions
in the real world. Being able to interpret and in-       according to the patterns present in the training
spect the detailed inner workings of trained models      data, similar to behavior cloning. One potential
would be a powerful tool to ensure models are opti-      future research direction is testing whether they
mizing for the goals we intended (Hubinger et al.,       are less susceptible to failure modes that follow
2021; Koch et al., 2021). Reverse engineering            from expected utility maximization, such as Good-
transformer language models has already yielded          hart failures and power-seeking behavior. However,
insights about the inner functioning of LMs (El-         other failure modes can be introduced by the LM
hage et al., 2021; nostalgebraist, 2020; Meng et al.,    training procedure, such as “delusions” or “halluci-
2022; Dai et al., 2021).                                 nations” (Ortega et al., 2021; Gao, 2021a; Maynez
et al., 2020). Additionally, simulated agents may be    by the large number of parties who have succeeded
uncompetitive with optimal agents like those pro-       in creating their own LLMs in the past two years).
duced by Reinforcement Learning. An important           This differential impact, wherein our release is
research direction is to explore how the beneficial     expected to benefit primarily people who have
properties of simulated agents can be maintained        less funding and infrastructure, is a key factor
while making them competitive with RL based ap-         in our decision to release this model publicly.
proaches.                                                  We ultimately believe that the benefits of releas-
                                                        ing this model outweigh the risks, but this argument
Tool AI and automated alignment research.               hinges crucially on the particular circumstances
LMs can be used as relatively unagentic tools, such     of this release. All actors considering releasing
as OpenAI’s Codex model (Chen et al., 2021) act-        powerful AI models or advancing the frontier of
ing as a coding assistant. Because pretrained LLMs      capabilities should think carefully about what they
are not directly optimized for the factual accuracy     release, in what way, and when.
of their predictions, it is possible they avoid some
of the traditional problems with tool or oracle AI      C.4   Environmental Impact
(Armstrong et al., 2012), such as the incentive         A significant point of concern in some recent work
to produce manipulative answers (Demski, 2019).         is the energy usage and carbon emissions associ-
Tool AI is not a long-term solution to the problem      ated with training large language models (Strubell
of alignment, but it could be used to assist align-     et al., 2019; Schwartz et al., 2020; Lacoste et al.,
ment research or even automate large parts of it.       2019; Bender et al., 2021). In particular, Strubell
For example, language models could be used to           et al. (2019) estimate that a then-recent paper by
help brainstorm alignment ideas more quickly, act       the authors released 626, 155 lbs or 284.01 met-
as a writing assistant, or directly generate align-     ric tons14 of CO2 (tCO2 ). As Strubell et al. (2019)
ment research papers for humans to review. This         has been widely cited and quoted in the media as
line of research also risks accelerating capabilities   representative of large-scale language models, we
research, a concern we discuss more below.              decided to explicitly and carefully track our energy
                                                        usage and carbon emissions to see if this is truly a
C.3   Differential Impact on Access
                                                        representative account of NLP emissions.
Because training large models requires a significant       Throughout the development and training of our
engineering and capital investment, such models         model, we tracked our energy usage and carbon
are often out of reach for small labs and indepen-      emissions. We found that the process of develop-
dent researchers. As it stands, only large organiza-    ing and training GPT-NeoX-20B emitted almost
tions have access to the latest generation of power-    exactly 10% of Strubell et al. (2019)’s estimate,
ful language models (Brown et al., 2020; Rae et al.,    coming in at a total of 69957 lbs or 31.73 met-
2022; Fedus et al., 2021; Lieber et al., 2021; Tang,    ric tons of CO2 . This is roughly the equivalent of
2021). The number of researchers focused primar-        the yearly emissions of the average American or
ily on ethics and alignment working at these labs is    35 round-trip flights between New York City and
much lower than those working on developing new         San Francisco. Our systems were based in Illinois,
capabilities.                                           USA, and consumed energy sourced from the mix
   We feel the risk of releasing GPT-NeoX-20B is        as follows
acceptable, as the contribution of the model to ca-
pabilities research is likely to be limited, for two       • 30.40% Coal (0.95 tCO2 /MWh)
reasons. Firstly, the organizations pursuing capa-         • 31.30% Gas (0.6078 tCO2 /MWh)
bilities research most aggressively are unlikely to
benefit from our open-source release of this model         • 1.30% Hydroelectric (0 tCO2 /MWh)
as they have already developed more powerful mod-
                                                           • 17.40% Nuclear (0 tCO2 /MWh)
els of their own. Secondly, we believe the single
most important piece of knowledge that drives ad-          • 0.30% Solar (0 tCO2 /MWh)
vancing capabilities research is the knowledge that
scaling LLMs was possible in the first place (Leahy,       • 18.10% Wind (0 tCO2 /MWh)
2021; Leahy and Biderman, 2021). Whereas the ac-         14 We choose to present environmental impact figures in
tual implementation is very fungible (as evidenced      metric tons to align with standard reporting.
    • 1.30% Other Renewables (0 tCO2 /MWh)

   This mixture produces an average of 0.47905
tCO2 /MWh, and we consumed a total of
43.92 MWh of electricity over the course of 1830
hours of training. Scaling, testing, and evaluation
were responsible for the equivalent of another 920
hours on our systems, for a total energy consump-
tion 66.24 MWh and thus the production of just
under 35 metric tons of CO2 .
   It is noteworthy that Strubell et al. (2019) are
estimating emissions from a neural architecture
search paper, and is therefore not directly com-
parable to ours. The primary motivation for our
comparison is that their number has attracted a lot
of attention and is often taken to be respresenta-
tive of NLP research. In general, we advocate for
more systematic and comprehensive reporting to
improve transparency surrounding this important
topic.

D    Full Evaluation Results
Results for natural language understanding tasks
are shown in Tables 2 and 3, while results for
Hendrycks tasks are found in ????????.
   All evaluations had version 0 in the Evaluation
Harness. This information is reported in the output
of the Evaluation Harness and should be used for
ensuring reproducibility of these results, even as
the task implementations themselves may change
to fix bugs.
                      GPT-J          GPT-NeoX                                    GPT-3
Task                   6B              20B               Ada           Babbage            Curie            DaVinci
ANLI Round 1       0.324 ± 0.015   0.340 ± 0.015    0.334 ± 0.015    0.326 ± 0.015   0.325 ± 0.015    0.363 ± 0.015
ANLI Round 2       0.340 ± 0.015   0.343 ± 0.015    0.342 ± 0.015    0.308 ± 0.015   0.338 ± 0.015    0.375 ± 0.015
ANLI Round 3       0.355 ± 0.014   0.354 ± 0.014    0.354 ± 0.014    0.340 ± 0.014   0.353 ± 0.014    0.369 ± 0.014
LAMBADA            0.683 ± 0.006   0.720 ± 0.006    0.515 ± 0.007    0.625 ± 0.007   0.693 ± 0.006    0.752 ± 0.006
WSC                0.365 ± 0.047   0.500 ± 0.049    0.375 ± 0.048    0.404 ± 0.048   0.548 ± 0.049    0.548 ± 0.049
HellaSwag          0.518 ± 0.005   0.535 ± 0.005    0.359 ± 0.005    0.429 ± 0.005   0.505 ± 0.005    0.592 ± 0.005
Winogrande         0.640 ± 0.013   0.661 ± 0.013    0.528 ± 0.014    0.594 ± 0.014   0.649 ± 0.013    0.699 ± 0.013
SciQ               0.910 ± 0.009   0.928 ± 0.008    0.843 ± 0.012    0.866 ± 0.011   0.918 ± 0.009    0.949 ± 0.007
PIQA               0.752 ± 0.010   0.779 ± 0.010    0.690 ± 0.011    0.745 ± 0.010   0.767 ± 0.010    0.791 ± 0.009
TriviaQA           0.170 ± 0.004   0.259 ± 0.004    0.050 ± 0.002    0.115 ± 0.003   0.196 ± 0.004    0.409 ± 0.005
ARC (Easy)         0.670 ± 0.010   0.723 ± 0.009    0.514 ± 0.010    0.598 ± 0.010   0.682 ± 0.010    0.762 ± 0.009
ARC (Challenge)    0.340 ± 0.014   0.380 ± 0.014    0.225 ± 0.012    0.275 ± 0.013   0.334 ± 0.014    0.435 ± 0.014
OpenBookQA         0.288 ± 0.020   0.290 ± 0.020    0.172 ± 0.017    0.224 ± 0.019   0.290 ± 0.020    0.336 ± 0.021
HeadQA (English)        —               —           0.245 ± 0.008    0.278 ± 0.009   0.317 ± 0.009    0.356 ± 0.009
LogiQA             0.209 ± 0.016   0.230 ± 0.017    0.218 ± 0.016    0.198 ± 0.016   0.217 ± 0.016    0.227 ± 0.016
PROST              0.267 ± 0.003   0.296 ± 0.003    0.254 ± 0.003    0.270 ± 0.003   0.288 ± 0.003    0.267 ± 0.003
QA4MRE (2013)      0.373 ± 0.029   0.363 ± 0.029    0.320 ± 0.028    0.370 ± 0.029   0.377 ± 0.029    0.426 ± 0.029

          Table 2: Zero-Shot Results on Natural Language Understanding Tasks (GPT-J, GPT-NeoX and GPT-3)
                                                                   FairSeq
Task                     125M             355M              1.3B             2.7B             6.7B            13B
ANLI Round 1         0.316 ± 0.015    0.322 ± 0.015    0.331 ± 0.015     0.318 ± 0.015    0.338 ± 0.015   0.340 ± 0.015
ANLI Round 2         0.336 ± 0.015    0.312 ± 0.015    0.334 ± 0.015     0.339 ± 0.015    0.322 ± 0.015   0.330 ± 0.015
ANLI Round 3         0.330 ± 0.014    0.323 ± 0.014    0.333 ± 0.014     0.340 ± 0.014    0.333 ± 0.014   0.347 ± 0.014
LAMBADA              0.388 ± 0.007    0.478 ± 0.007    0.562 ± 0.007     0.632 ± 0.007    0.673 ± 0.007   0.709 ± 0.006
WSC                  0.365 ± 0.047    0.471 ± 0.049    0.365 ± 0.047     0.635 ± 0.047    0.615 ± 0.048   0.577 ± 0.049
HellaSwag            0.309 ± 0.005    0.380 ± 0.005    0.448 ± 0.005     0.493 ± 0.005    0.525 ± 0.005   0.554 ± 0.005
Winogrande           0.513 ± 0.014    0.529 ± 0.014    0.600 ± 0.014     0.620 ± 0.014    0.644 ± 0.013   0.674 ± 0.013
SciQ                 0.732 ± 0.014    0.737 ± 0.014    0.838 ± 0.012     0.878 ± 0.010    0.895 ± 0.010   0.910 ± 0.009
PIQA                 0.668 ± 0.011    0.690 ± 0.011    0.731 ± 0.010     0.751 ± 0.010    0.762 ± 0.010   0.769 ± 0.010
TriviaQA             0.015 ± 0.001    0.019 ± 0.001    0.078 ± 0.003     0.141 ± 0.003    0.221 ± 0.004   0.270 ± 0.004
ARC (Easy)           0.426 ± 0.010    0.468 ± 0.010    0.565 ± 0.010     0.625 ± 0.010    0.665 ± 0.010   0.680 ± 0.010
ARC (Challenge)      0.195 ± 0.012    0.233 ± 0.012    0.263 ± 0.013     0.296 ± 0.013    0.329 ± 0.014   0.345 ± 0.014
OpenBookQA           0.168 ± 0.017    0.190 ± 0.018    0.238 ± 0.019     0.254 ± 0.019    0.292 ± 0.020   0.296 ± 0.020
HeadQA (English)     0.233 ± 0.008    0.233 ± 0.008    0.256 ± 0.008     0.264 ± 0.008    0.280 ± 0.009   0.280 ± 0.009
LogiQA               0.220 ± 0.016    0.230 ± 0.017    0.214 ± 0.016     0.212 ± 0.016    0.232 ± 0.017   0.240 ± 0.017
PROST                0.215 ± 0.003    0.257 ± 0.003    0.257 ± 0.003     0.230 ± 0.003    0.272 ± 0.003   0.252 ± 0.003
QA4MRE (2013)        0.285 ± 0.027    0.335 ± 0.028    0.327 ± 0.028     0.380 ± 0.029    0.370 ± 0.029   0.380 ± 0.029

                   Table 3: Zero-Shot Results on Natural Language Understanding Tasks (FairSeq Models)
                                              GPT-J          GPT-NeoX                      GPT-3
                    Task                       6B              20B            Ada    Babbage Curie        DaVinci
                    ANLI Round 1          0.322 ± 0.015     0.312 ± 0.015     —         —         —          —
                    ANLI Round 2          0.331 ± 0.015     0.329 ± 0.015     —         —         —          —
                    ANLI Round 3          0.346 ± 0.014     0.342 ± 0.014     —         —         —          —
                    LAMBADA               0.662 ± 0.007     0.698 ± 0.006     —         —         —          —
                    WSC                   0.365 ± 0.047     0.385 ± 0.048     —         —         —          —
                    HellaSwag             0.494 ± 0.005     0.538 ± 0.005     —         —         —          —
                    Winogrande            0.660 ± 0.013     0.683 ± 0.013     —         —         —          —
                    SciQ                  0.913 ± 0.009     0.960 ± 0.006     —         —         —          —
                    PIQA                  0.756 ± 0.010     0.774 ± 0.010     —         —         —          —
                    TriviaQA              0.289 ± 0.004     0.347 ± 0.004     —         —         —          —
                    ARC (Challenge)       0.360 ± 0.014     0.410 ± 0.014     —         —         —          —
                    ARC (Easy)            0.705 ± 0.009     0.746 ± 0.009     —         —         —          —
                    OpenBookQA            0.310 ± 0.021     0.326 ± 0.021     —         —         —          —
                    HeadQA (English)      0.326 ± 0.009     0.385 ± 0.009     —         —         —          —
                    LogiQA                0.230 ± 0.017     0.220 ± 0.016     —         —         —          —
                    QA4MRE (2013)         0.366 ± 0.029     0.363 ± 0.029     —         —         —          —

Table 4: Five-Shot Results on Natural Language Understanding Tasks (GPT-J and GPT-NeoX). GPT-3 is omitted due to financial limitations.
                                                  FairSeq
Task                     125M             355M              1.3B             2.7B              6.7B           13B
ANLI Round 1         0.332 ± 0.015    0.336 ± 0.015    0.327 ± 0.015     0.336 ± 0.015    0.305 ± 0.015   0.335 ± 0.015
ANLI Round 2         0.345 ± 0.015    0.350 ± 0.015    0.347 ± 0.015     0.333 ± 0.015    0.340 ± 0.015   0.338 ± 0.015
ANLI Round 3         0.359 ± 0.014    0.347 ± 0.014    0.370 ± 0.014     0.326 ± 0.014    0.367 ± 0.014   0.357 ± 0.014
LAMBADA              0.268 ± 0.006    0.349 ± 0.007    0.427 ± 0.007     0.460 ± 0.007    0.494 ± 0.007   0.518 ± 0.007
WSC                  0.365 ± 0.047    0.365 ± 0.047    0.365 ± 0.047     0.356 ± 0.047    0.500 ± 0.049   0.404 ± 0.048
HellaSwag            0.308 ± 0.005    0.379 ± 0.005    0.451 ± 0.005     0.497 ± 0.005    0.531 ± 0.005   0.559 ± 0.005
Winogrande           0.516 ± 0.014    0.538 ± 0.014    0.612 ± 0.014     0.633 ± 0.014    0.657 ± 0.013   0.690 ± 0.013
SciQ                 0.758 ± 0.014    0.819 ± 0.012    0.859 ± 0.011     0.875 ± 0.010    0.871 ± 0.011   0.899 ± 0.010
PIQA                 0.656 ± 0.011    0.700 ± 0.011    0.731 ± 0.010     0.750 ± 0.010    0.764 ± 0.010   0.769 ± 0.010
TriviaQA             0.044 ± 0.002    0.097 ± 0.003    0.160 ± 0.003     0.225 ± 0.004    0.293 ± 0.004   0.323 ± 0.004
ARC (Easy)           0.453 ± 0.010    0.533 ± 0.010    0.618 ± 0.010     0.664 ± 0.010    0.686 ± 0.010   0.702 ± 0.009
ARC (Challenge)      0.198 ± 0.012    0.231 ± 0.012    0.278 ± 0.013     0.310 ± 0.014    0.359 ± 0.014   0.370 ± 0.014
OpenBookQA           0.184 ± 0.017    0.206 ± 0.018    0.218 ± 0.018     0.258 ± 0.020    0.288 ± 0.020   0.290 ± 0.020
HeadQA (English)     0.235 ± 0.008    0.240 ± 0.008    0.254 ± 0.008     0.266 ± 0.008    0.276 ± 0.009   0.282 ± 0.009
LogiQA               0.218 ± 0.016    0.207 ± 0.016    0.210 ± 0.016     0.214 ± 0.016    0.214 ± 0.016   0.223 ± 0.016
QA4MRE (2013)        0.324 ± 0.028    0.338 ± 0.028    0.338 ± 0.028     0.352 ± 0.028    0.391 ± 0.029   0.387 ± 0.029

                   Table 5: Five-Shot Results on Natural Language Understanding Tasks (FairSeq Models)
                                     GPT-J          GPT-NeoX                                    GPT-3
Task                                  6B              20B               Ada           Babbage           Curie         DaVinci
1DC                               0.088 ± 0.006   0.098 ± 0.007    0.029 ± 0.000   0.001 ± 0.000    0.024 ± 0.000   0.098 ± 0.000
2D+                               0.238 ± 0.010   0.570 ± 0.011    0.006 ± 0.000   0.009 ± 0.000    0.025 ± 0.000   0.769 ± 0.000
2Dx                               0.139 ± 0.008   0.148 ± 0.008    0.022 ± 0.000   0.021 ± 0.000    0.058 ± 0.000   0.198 ± 0.000
2D-                               0.216 ± 0.009   0.680 ± 0.010    0.013 ± 0.000   0.013 ± 0.000    0.076 ± 0.000   0.580 ± 0.000
3D+                               0.088 ± 0.006   0.099 ± 0.007    0.001 ± 0.000   0.001 ± 0.000    0.003 ± 0.000   0.342 ± 0.000
3D-                               0.046 ± 0.005   0.344 ± 0.011    0.001 ± 0.000   0.001 ± 0.000    0.004 ± 0.000   0.483 ± 0.000
4D+                               0.007 ± 0.002   0.007 ± 0.002    0.001 ± 0.000   0.000 ± 0.000    0.001 ± 0.000   0.040 ± 0.000
4D-                               0.005 ± 0.002   0.029 ± 0.004    0.000 ± 0.000   0.000 ± 0.000    0.000 ± 0.000   0.075 ± 0.000
5D+                               0.001 ± 0.001   0.000 ± 0.000    0.000 ± 0.000   0.000 ± 0.000    0.000 ± 0.000   0.006 ± 0.000
5D-                               0.000 ± 0.000   0.004 ± 0.001    0.000 ± 0.000   0.000 ± 0.000    0.000 ± 0.000   0.008 ± 0.000
MATH (Algebra)                    0.013 ± 0.003   0.010 ± 0.003    0.003 ± 0.002   0.008 ± 0.003    0.003 ± 0.002   0.008 ± 0.003
MATH (Counting and Probability)   0.011 ± 0.005   0.017 ± 0.006    0.000 ± 0.000   0.004 ± 0.003    0.000 ± 0.000   0.006 ± 0.004
MATH (Geometry)                   0.004 ± 0.003   0.017 ± 0.006    0.000 ± 0.000   0.000 ± 0.000    0.002 ± 0.002   0.002 ± 0.002
MATH (Intermediate Algebra)       0.004 ± 0.002   0.001 ± 0.001    0.000 ± 0.000   0.003 ± 0.002    0.006 ± 0.002   0.003 ± 0.002
MATH (Number Theory)              0.007 ± 0.004   0.013 ± 0.005    0.007 ± 0.004   0.000 ± 0.000    0.006 ± 0.003   0.011 ± 0.005
MATH (Pre-Algebra)                0.010 ± 0.003   0.018 ± 0.005    0.007 ± 0.003   0.006 ± 0.003    0.008 ± 0.003   0.014 ± 0.004
MATH (Pre-Calculus)               0.005 ± 0.003   0.005 ± 0.003    0.004 ± 0.003   0.000 ± 0.000    0.002 ± 0.002   0.004 ± 0.003

                      Table 6: Zero-Shot Results on Basic Arithmetic and MATH (GPT-J, GPT-NeoX, and GPT-3)
                                                              FairSeq
Task                                 125M             355M              1.3B             2.7B              6.7B            13B
1DC                               0.001 ± 0.001   0.000 ± 0.000    0.000 ± 0.000    0.011 ± 0.002      0.024 ± 0.003   0.001 ± 0.001
2D+                               0.005 ± 0.002   0.001 ± 0.001    0.002 ± 0.001    0.009 ± 0.002      0.019 ± 0.003   0.020 ± 0.003
2Dx                               0.020 ± 0.003   0.004 ± 0.001    0.018 ± 0.003    0.023 ± 0.003      0.036 ± 0.004   0.028 ± 0.004
2D-                               0.005 ± 0.002   0.002 ± 0.001    0.006 ± 0.002    0.013 ± 0.002      0.013 ± 0.003   0.015 ± 0.003
3D+                               0.001 ± 0.001   0.001 ± 0.001    0.001 ± 0.001    0.001 ± 0.001      0.001 ± 0.001   0.001 ± 0.001
3D-                               0.002 ± 0.001   0.001 ± 0.001    0.002 ± 0.001    0.002 ± 0.001      0.002 ± 0.001   0.002 ± 0.001
4D+                               0.001 ± 0.001   0.000 ± 0.000    0.001 ± 0.001    0.001 ± 0.001      0.001 ± 0.001   0.001 ± 0.001
4D-                               0.000 ± 0.000   0.000 ± 0.000    0.000 ± 0.000    0.000 ± 0.000      0.000 ± 0.000   0.000 ± 0.000
5D+                               0.000 ± 0.000   0.000 ± 0.000    0.000 ± 0.000    0.000 ± 0.000      0.000 ± 0.000   0.000 ± 0.000
5D-                               0.000 ± 0.000   0.000 ± 0.000    0.000 ± 0.000    0.000 ± 0.000      0.000 ± 0.000   0.000 ± 0.000
MATH (Algebra)                    0.000 ± 0.000   0.000 ± 0.000    0.001 ± 0.001    0.003 ± 0.002      0.004 ± 0.002   0.003 ± 0.001
MATH (Counting and Probability)   0.000 ± 0.000   0.000 ± 0.000    0.000 ± 0.000    0.000 ± 0.000      0.004 ± 0.003   0.000 ± 0.000
MATH (Geometry)                   0.000 ± 0.000   0.000 ± 0.000    0.000 ± 0.000    0.002 ± 0.002      0.000 ± 0.000   0.000 ± 0.000
MATH (Intermediate Algebra)       0.000 ± 0.002   0.000 ± 0.002    0.000 ± 0.000    0.001 ± 0.001      0.006 ± 0.002   0.002 ± 0.002
MATH (Number Theory)              0.000 ± 0.000   0.000 ± 0.000    0.000 ± 0.000    0.002 ± 0.002      0.000 ± 0.000   0.004 ± 0.003
MATH (Pre-Algebra)                0.000 ± 0.000   0.000 ± 0.000    0.003 ± 0.002    0.002 ± 0.002      0.001 ± 0.001   0.000 ± 0.000
MATH (Pre-Calculus)               0.000 ± 0.000   0.000 ± 0.000    0.000 ± 0.000    0.002 ± 0.002      0.000 ± 0.000   0.000 ± 0.000

                            Table 7: Zero-Shot Results on Basic Arithmetic and MATH (FairSeq Models)
                                                 GPT-J          GPT-NeoX                     GPT-3
      Task                                        6B              20B           Ada    Babbage Curie        DaVinci
      1DC                                    0.192 ± 0.009     0.191 ± 0.009     —         —         —         —
      2D+                                    0.880 ± 0.007     0.992 ± 0.002     —         —         —         —
      2Dx                                    0.282 ± 0.010     0.452 ± 0.011     —         —         —         —
      2D-                                    0.817 ± 0.009     0.942 ± 0.005     —         —         —         —
      3D+                                    0.357 ± 0.011     0.599 ± 0.011     —         —         —         —
      3D-                                    0.497 ± 0.011     0.819 ± 0.009     —         —         —         —
      4D+                                    0.058 ± 0.005     0.152 ± 0.008     —         —         —         —
      4D-                                    0.092 ± 0.006     0.151 ± 0.008     —         —         —         —
      5D+                                    0.009 ± 0.002     0.033 ± 0.004     —         —         —         —
      5D-                                    0.021 ± 0.003     0.059 ± 0.005     —         —         —         —
      MATH (Algebra)                         0.032 ± 0.005     0.049 ± 0.006     —         —         —         —
      MATH (Counting and Probability)        0.036 ± 0.009     0.030 ± 0.008     —         —         —         —
      MATH (Geometry)                        0.027 ± 0.007     0.015 ± 0.005     —         —         —         —
      MATH (Intermediate Algebra)            0.024 ± 0.005     0.021 ± 0.005     —         —         —         —
      MATH (Number Theory)                   0.044 ± 0.009     0.065 ± 0.011     —         —         —         —
      MATH (Pre-Algebra)                     0.052 ± 0.008     0.057 ± 0.008     —         —         —         —
      MATH (Pre-Calculus)                    0.013 ± 0.005     0.027 ± 0.007     —         —         —         —

Table 8: Five-Shot Results on Basic Arithmetic and MATH (GPT-J and GPT-NeoX). GPT-3 is omitted due to financial limitations.
                                                              FairSeq
Task                                 125M             355M              1.3B             2.7B              6.7B            13B
1DC                               0.019 ± 0.003   0.024 ± 0.003    0.029 ± 0.004    0.032 ± 0.004      0.046 ± 0.005   0.046 ± 0.005
2D+                               0.005 ± 0.002   0.004 ± 0.001    0.006 ± 0.002    0.029 ± 0.004      0.034 ± 0.004   0.051 ± 0.005
2Dx                               0.001 ± 0.001   0.025 ± 0.004    0.025 ± 0.003    0.025 ± 0.003      0.049 ± 0.005   0.053 ± 0.005
2D-                               0.007 ± 0.002   0.011 ± 0.002    0.008 ± 0.002    0.013 ± 0.003      0.018 ± 0.003   0.030 ± 0.004
3D+                               0.002 ± 0.001   0.002 ± 0.001    0.001 ± 0.001    0.003 ± 0.001      0.001 ± 0.001   0.003 ± 0.001
3D-                               0.002 ± 0.001   0.004 ± 0.001    0.003 ± 0.001    0.003 ± 0.001      0.002 ± 0.001   0.003 ± 0.001
4D+                               0.000 ± 0.000   0.000 ± 0.000    0.000 ± 0.000    0.000 ± 0.000      0.000 ± 0.000   0.000 ± 0.000
4D-                               0.001 ± 0.001   0.000 ± 0.000    0.000 ± 0.000    0.001 ± 0.001      0.000 ± 0.000   0.000 ± 0.000
5D+                               0.000 ± 0.000   0.000 ± 0.000    0.000 ± 0.000    0.000 ± 0.000      0.000 ± 0.000   0.000 ± 0.000
5D-                               0.000 ± 0.000   0.000 ± 0.000    0.000 ± 0.000    0.000 ± 0.000      0.000 ± 0.000   0.000 ± 0.000
MATH (Algebra)                    0.023 ± 0.004   0.010 ± 0.003    0.013 ± 0.003    0.014 ± 0.003      0.017 ± 0.004   0.012 ± 0.003
MATH (Counting and Probability)   0.008 ± 0.004   0.004 ± 0.003    0.015 ± 0.006    0.017 ± 0.006      0.015 ± 0.006   0.017 ± 0.006
MATH (Geometry)                   0.000 ± 0.000   0.013 ± 0.005    0.006 ± 0.004    0.015 ± 0.005      0.015 ± 0.005   0.006 ± 0.004
MATH (Intermediate Algebra)       0.010 ± 0.003   0.002 ± 0.002    0.007 ± 0.003    0.010 ± 0.003      0.011 ± 0.003   0.004 ± 0.002
MATH (Number Theory)              0.019 ± 0.006   0.009 ± 0.004    0.007 ± 0.004    0.011 ± 0.005      0.028 ± 0.007   0.019 ± 0.006
MATH (Pre-Algebra)                0.013 ± 0.004   0.008 ± 0.003    0.010 ± 0.003    0.011 ± 0.004      0.021 ± 0.005   0.013 ± 0.004
MATH (Pre-Calculus)               0.002 ± 0.002   0.002 ± 0.002    0.004 ± 0.003    0.000 ± 0.000      0.002 ± 0.002   0.000 ± 0.000

                            Table 9: Five-Shot Results on Basic Arithmetic and MATH (FairSeq Models)
                                          GPT-J         GPT-NeoX                                     GPT-3
Task                                       6B             20B                Ada           Babbage             Curie       DaVinci
Abstract Algebra                      0.260 ± 0.044    0.230 ± 0.042    0.170 ± 0.038    0.220 ± 0.042   0.220 ± 0.042   0.220 ± 0.042
Anatomy                               0.274 ± 0.039    0.319 ± 0.040    0.207 ± 0.035    0.289 ± 0.039   0.274 ± 0.039   0.348 ± 0.041
Astronomy                             0.243 ± 0.035    0.329 ± 0.038    0.237 ± 0.035    0.211 ± 0.033   0.237 ± 0.035   0.382 ± 0.040
Business Ethics                       0.290 ± 0.046    0.280 ± 0.045    0.360 ± 0.048    0.330 ± 0.047   0.300 ± 0.046   0.390 ± 0.049
Clinical Knowledge                    0.272 ± 0.027    0.291 ± 0.028    0.223 ± 0.026    0.234 ± 0.026   0.253 ± 0.027   0.317 ± 0.029
College Biology                       0.285 ± 0.038    0.271 ± 0.037    0.271 ± 0.037    0.299 ± 0.038   0.208 ± 0.034   0.347 ± 0.040
College Chemistry                     0.240 ± 0.043    0.160 ± 0.037    0.270 ± 0.045    0.290 ± 0.046   0.210 ± 0.041   0.250 ± 0.044
College Computer Science              0.270 ± 0.045    0.250 ± 0.044    0.310 ± 0.046    0.270 ± 0.045   0.240 ± 0.043   0.260 ± 0.044
College Mathematics                   0.260 ± 0.044    0.240 ± 0.043    0.220 ± 0.042    0.160 ± 0.037   0.200 ± 0.040   0.170 ± 0.038
College Medicine                      0.197 ± 0.030    0.283 ± 0.034    0.237 ± 0.032    0.202 ± 0.031   0.225 ± 0.032   0.289 ± 0.035
College Physics                       0.206 ± 0.040    0.284 ± 0.045    0.304 ± 0.046    0.324 ± 0.047   0.255 ± 0.043   0.235 ± 0.042
Computer Security                     0.270 ± 0.045    0.290 ± 0.046    0.250 ± 0.044    0.240 ± 0.043   0.320 ± 0.047   0.350 ± 0.048
Conceptual Physics                    0.255 ± 0.029    0.294 ± 0.030    0.264 ± 0.029    0.260 ± 0.029   0.268 ± 0.029   0.294 ± 0.030
Econometrics                          0.237 ± 0.040    0.289 ± 0.043    0.289 ± 0.043    0.246 ± 0.040   0.246 ± 0.040   0.228 ± 0.039
Electrical Engineering                0.359 ± 0.040    0.303 ± 0.038    0.338 ± 0.039    0.276 ± 0.037   0.310 ± 0.039   0.414 ± 0.041
Elementary Mathematics                0.254 ± 0.022    0.283 ± 0.023    0.243 ± 0.022    0.272 ± 0.023   0.249 ± 0.022   0.312 ± 0.024
Formal Logic                          0.341 ± 0.042    0.294 ± 0.041    0.262 ± 0.039    0.349 ± 0.043   0.270 ± 0.040   0.294 ± 0.041
Global Facts                          0.250 ± 0.044    0.220 ± 0.042    0.240 ± 0.043    0.240 ± 0.043   0.300 ± 0.046   0.290 ± 0.046
High School Biology                   0.252 ± 0.025    0.300 ± 0.026    0.235 ± 0.024    0.232 ± 0.024   0.271 ± 0.025   0.335 ± 0.027
High School Chemistry                 0.202 ± 0.028    0.236 ± 0.030    0.246 ± 0.030    0.241 ± 0.030   0.197 ± 0.028   0.232 ± 0.030
High School Computer Science          0.250 ± 0.044    0.210 ± 0.041    0.190 ± 0.039    0.240 ± 0.043   0.220 ± 0.042   0.290 ± 0.046
High School European History          0.261 ± 0.034    0.255 ± 0.034    0.224 ± 0.033    0.285 ± 0.035   0.261 ± 0.034   0.303 ± 0.036
High School Geography                 0.202 ± 0.029    0.227 ± 0.030    0.217 ± 0.029    0.207 ± 0.029   0.242 ± 0.031   0.348 ± 0.034
High School Government and Politics   0.228 ± 0.030    0.228 ± 0.030    0.212 ± 0.030    0.181 ± 0.028   0.212 ± 0.030   0.326 ± 0.034
High School Macroeconomics            0.285 ± 0.023    0.328 ± 0.024    0.272 ± 0.023    0.277 ± 0.023   0.277 ± 0.023   0.303 ± 0.023
High School Mathematics               0.219 ± 0.025    0.263 ± 0.027    0.196 ± 0.024    0.230 ± 0.026   0.167 ± 0.023   0.248 ± 0.026

                          Table 10: Zero-Shot Results on Hendrycks Tasks, Part 1 (GPT-J, GPT-NeoX and GPT-3)
                                 GPT-J         GPT-NeoX                                      GPT-3
Task                              6B             20B                Ada            Babbage           Curie         DaVinci
High School Microeconomics   0.277 ± 0.029    0.294 ± 0.030    0.235 ± 0.028    0.265 ± 0.029    0.239 ± 0.028   0.307 ± 0.030
High School Physics          0.272 ± 0.036    0.298 ± 0.037    0.199 ± 0.033    0.298 ± 0.037    0.199 ± 0.033   0.219 ± 0.034
High School Physiology       0.273 ± 0.019    0.283 ± 0.019    0.209 ± 0.017    0.217 ± 0.018    0.246 ± 0.018   0.352 ± 0.020
High School Statistics       0.292 ± 0.031    0.319 ± 0.032    0.241 ± 0.029    0.278 ± 0.031    0.255 ± 0.030   0.278 ± 0.031
High School US History       0.289 ± 0.032    0.309 ± 0.032    0.255 ± 0.031    0.260 ± 0.031    0.240 ± 0.030   0.368 ± 0.034
High School World History    0.283 ± 0.029    0.295 ± 0.030    0.278 ± 0.029    0.262 ± 0.029    0.270 ± 0.029   0.321 ± 0.030
Human Aging                  0.265 ± 0.030    0.224 ± 0.028    0.368 ± 0.032    0.336 ± 0.032    0.296 ± 0.031   0.327 ± 0.031
Human Sexuality              0.397 ± 0.043    0.405 ± 0.043    0.374 ± 0.042    0.427 ± 0.043    0.397 ± 0.043   0.481 ± 0.044
International Law            0.264 ± 0.040    0.298 ± 0.042    0.182 ± 0.035    0.207 ± 0.037    0.207 ± 0.037   0.331 ± 0.043
Jurisprudence                0.278 ± 0.043    0.250 ± 0.042    0.287 ± 0.044    0.278 ± 0.043    0.259 ± 0.042   0.370 ± 0.047
Logical Fallacies            0.294 ± 0.036    0.227 ± 0.033    0.239 ± 0.034    0.221 ± 0.033    0.245 ± 0.034   0.252 ± 0.034
Machine Learning             0.223 ± 0.040    0.268 ± 0.042    0.241 ± 0.041    0.286 ± 0.043    0.295 ± 0.043   0.232 ± 0.040
Management                   0.233 ± 0.042    0.282 ± 0.045    0.184 ± 0.038    0.214 ± 0.041    0.320 ± 0.046   0.456 ± 0.049
Marketing                    0.303 ± 0.030    0.321 ± 0.031    0.308 ± 0.030    0.282 ± 0.029    0.308 ± 0.030   0.491 ± 0.033
Medical Genetics             0.310 ± 0.046    0.340 ± 0.048    0.260 ± 0.044    0.300 ± 0.046    0.330 ± 0.047   0.430 ± 0.050
Miscellaneous                0.275 ± 0.016    0.299 ± 0.016    0.257 ± 0.016    0.269 ± 0.016    0.284 ± 0.016   0.450 ± 0.018
Moral Disputes               0.283 ± 0.024    0.289 ± 0.024    0.263 ± 0.024    0.263 ± 0.024    0.277 ± 0.024   0.301 ± 0.025
Moral Scenarios              0.237 ± 0.014    0.232 ± 0.014    0.238 ± 0.014    0.273 ± 0.015    0.238 ± 0.014   0.249 ± 0.014
Nutrition                    0.346 ± 0.027    0.379 ± 0.028    0.301 ± 0.026    0.281 ± 0.026    0.291 ± 0.026   0.353 ± 0.027
Philosophy                   0.260 ± 0.025    0.293 ± 0.026    0.215 ± 0.023    0.267 ± 0.025    0.244 ± 0.024   0.367 ± 0.027
Prehistory                   0.244 ± 0.024    0.272 ± 0.025    0.244 ± 0.024    0.269 ± 0.025    0.284 ± 0.025   0.324 ± 0.026
Professional Accounting      0.262 ± 0.026    0.234 ± 0.025    0.202 ± 0.024    0.255 ± 0.026    0.238 ± 0.025   0.287 ± 0.027
Professional Law             0.241 ± 0.011    0.267 ± 0.011    0.261 ± 0.011    0.256 ± 0.011    0.259 ± 0.011   0.261 ± 0.011
Professional Medicine        0.276 ± 0.027    0.287 ± 0.027    0.221 ± 0.025    0.239 ± 0.026    0.265 ± 0.027   0.324 ± 0.028
Professional Psychology      0.284 ± 0.018    0.275 ± 0.018    0.245 ± 0.017    0.225 ± 0.017    0.257 ± 0.018   0.335 ± 0.019
Public Relations             0.282 ± 0.043    0.345 ± 0.046    0.255 ± 0.042    0.327 ± 0.045    0.364 ± 0.046   0.364 ± 0.046
Security Studies             0.363 ± 0.031    0.376 ± 0.031    0.367 ± 0.031    0.347 ± 0.030    0.384 ± 0.031   0.392 ± 0.031
Sociology                    0.279 ± 0.032    0.284 ± 0.032    0.328 ± 0.033    0.303 ± 0.033    0.274 ± 0.032   0.368 ± 0.034
US Foreign Policy            0.340 ± 0.048    0.360 ± 0.048    0.330 ± 0.047    0.330 ± 0.047    0.380 ± 0.049   0.500 ± 0.050
Virology                     0.355 ± 0.037    0.361 ± 0.037    0.307 ± 0.036    0.319 ± 0.036    0.337 ± 0.037   0.386 ± 0.038
World Religions              0.333 ± 0.036    0.386 ± 0.037    0.316 ± 0.036    0.310 ± 0.035    0.374 ± 0.037   0.398 ± 0.038

                     Table 11: Zero-Shot Results on Hendrycks Tasks, Part 2 (GPT-J, GPT-NeoX, and GPT-3)
                                                                                    FairSeq
Task                                     125M              355M              1.3B              2.7B           6.7B            13B
Abstract Algebra                      0.260 ± 0.044    0.180 ± 0.039    0.230 ± 0.042     0.250 ± 0.044   0.240 ± 0.043   0.260 ± 0.044
Anatomy                               0.178 ± 0.033    0.207 ± 0.035    0.185 ± 0.034     0.170 ± 0.032   0.259 ± 0.038   0.237 ± 0.037
Astronomy                             0.270 ± 0.036    0.237 ± 0.035    0.243 ± 0.035     0.263 ± 0.036   0.296 ± 0.037   0.257 ± 0.036
Business Ethics                       0.330 ± 0.047    0.410 ± 0.049    0.340 ± 0.048     0.350 ± 0.048   0.380 ± 0.049   0.340 ± 0.048
Clinical Knowledge                    0.215 ± 0.025    0.264 ± 0.027    0.226 ± 0.026     0.249 ± 0.027   0.223 ± 0.026   0.264 ± 0.027
College Biology                       0.285 ± 0.038    0.201 ± 0.034    0.243 ± 0.036     0.222 ± 0.035   0.271 ± 0.037   0.306 ± 0.039
College Chemistry                     0.310 ± 0.046    0.290 ± 0.046    0.350 ± 0.048     0.300 ± 0.046   0.280 ± 0.045   0.240 ± 0.043
College Computer Science              0.200 ± 0.040    0.250 ± 0.044    0.260 ± 0.044     0.250 ± 0.044   0.300 ± 0.046   0.280 ± 0.045
College Mathematics                   0.190 ± 0.039    0.170 ± 0.038    0.230 ± 0.042     0.200 ± 0.040   0.230 ± 0.042   0.250 ± 0.044
College Medicine                      0.243 ± 0.033    0.237 ± 0.032    0.249 ± 0.033     0.254 ± 0.033   0.237 ± 0.032   0.260 ± 0.033
College Physics                       0.216 ± 0.041    0.245 ± 0.043    0.216 ± 0.041     0.275 ± 0.044   0.343 ± 0.047   0.216 ± 0.041
Computer Security                     0.240 ± 0.043    0.290 ± 0.046    0.300 ± 0.046     0.240 ± 0.043   0.230 ± 0.042   0.320 ± 0.047
Conceptual Physics                    0.260 ± 0.029    0.255 ± 0.029    0.247 ± 0.028     0.243 ± 0.028   0.247 ± 0.028   0.204 ± 0.026
Econometrics                          0.246 ± 0.040    0.272 ± 0.042    0.246 ± 0.040     0.281 ± 0.042   0.219 ± 0.039   0.263 ± 0.041
Electrical Engineering                0.283 ± 0.038    0.303 ± 0.038    0.234 ± 0.035     0.276 ± 0.037   0.310 ± 0.039   0.290 ± 0.038
Elementary Mathematics                0.246 ± 0.022    0.214 ± 0.021    0.233 ± 0.022     0.233 ± 0.022   0.246 ± 0.022   0.198 ± 0.021
Formal Logic                          0.278 ± 0.040    0.302 ± 0.041    0.278 ± 0.040     0.310 ± 0.041   0.286 ± 0.040   0.333 ± 0.042
Global Facts                          0.200 ± 0.040    0.210 ± 0.041    0.190 ± 0.039     0.150 ± 0.036   0.220 ± 0.042   0.160 ± 0.037
High School Biology                   0.248 ± 0.025    0.255 ± 0.025    0.268 ± 0.025     0.226 ± 0.024   0.274 ± 0.025   0.235 ± 0.024
High School Chemistry                 0.217 ± 0.029    0.207 ± 0.029    0.256 ± 0.031     0.281 ± 0.032   0.217 ± 0.029   0.266 ± 0.031
High School Computer Science          0.240 ± 0.043    0.230 ± 0.042    0.270 ± 0.045     0.240 ± 0.043   0.350 ± 0.048   0.280 ± 0.045
High School European History          0.230 ± 0.033    0.333 ± 0.037    0.279 ± 0.035     0.261 ± 0.034   0.273 ± 0.035   0.230 ± 0.033
High School Geography                 0.263 ± 0.031    0.273 ± 0.032    0.222 ± 0.030     0.258 ± 0.031   0.207 ± 0.029   0.253 ± 0.031
High School Government and Politics   0.254 ± 0.031    0.290 ± 0.033    0.228 ± 0.030     0.233 ± 0.031   0.218 ± 0.030   0.187 ± 0.028
High School Macroeconomics            0.200 ± 0.020    0.272 ± 0.023    0.254 ± 0.022     0.269 ± 0.022   0.326 ± 0.024   0.256 ± 0.022
High School Mathematics               0.204 ± 0.025    0.189 ± 0.024    0.170 ± 0.023     0.226 ± 0.025   0.200 ± 0.024   0.193 ± 0.024

                                Table 12: Zero-Shot Results on Hendrycks Tasks, Part 1 (FairSeq Models)
                                                                             FairSeq
Task                              125M              355M              1.3B              2.7B               6.7B            13B
High School Microeconomics    0.248 ± 0.028    0.256 ± 0.028     0.244 ± 0.028     0.248 ± 0.028       0.269 ± 0.029   0.227 ± 0.027
High School Physics           0.238 ± 0.035    0.219 ± 0.034     0.258 ± 0.036     0.245 ± 0.035       0.232 ± 0.034   0.166 ± 0.030
High School Physiology        0.235 ± 0.018    0.272 ± 0.019     0.266 ± 0.019     0.284 ± 0.019       0.250 ± 0.019   0.261 ± 0.019
High School Statistics        0.222 ± 0.028    0.241 ± 0.029     0.269 ± 0.030     0.250 ± 0.030       0.287 ± 0.031   0.241 ± 0.029
High School US History        0.240 ± 0.030    0.284 ± 0.032     0.299 ± 0.032     0.299 ± 0.032       0.314 ± 0.033   0.294 ± 0.032
High School World History     0.283 ± 0.029    0.232 ± 0.027     0.270 ± 0.029     0.245 ± 0.028       0.300 ± 0.030   0.316 ± 0.030
Human Aging                   0.274 ± 0.030    0.309 ± 0.031     0.323 ± 0.031     0.291 ± 0.031       0.296 ± 0.031   0.274 ± 0.030
Human Sexuality               0.252 ± 0.038    0.366 ± 0.042     0.328 ± 0.041     0.359 ± 0.042       0.359 ± 0.042   0.351 ± 0.042
International Law             0.157 ± 0.033    0.223 ± 0.038     0.240 ± 0.039     0.281 ± 0.041       0.264 ± 0.040   0.231 ± 0.038
Jurisprudence                 0.241 ± 0.041    0.269 ± 0.043     0.287 ± 0.044     0.241 ± 0.041       0.213 ± 0.040   0.278 ± 0.043
Logical Fallacies             0.196 ± 0.031    0.221 ± 0.033     0.233 ± 0.033     0.196 ± 0.031       0.245 ± 0.034   0.221 ± 0.033
Machine Learning              0.232 ± 0.040    0.295 ± 0.043     0.348 ± 0.045     0.232 ± 0.040       0.259 ± 0.042   0.241 ± 0.041
Management                    0.223 ± 0.041    0.311 ± 0.046     0.214 ± 0.041     0.291 ± 0.045       0.340 ± 0.047   0.262 ± 0.044
Marketing                     0.295 ± 0.030    0.231 ± 0.028     0.286 ± 0.030     0.303 ± 0.030       0.333 ± 0.031   0.329 ± 0.031
Medical Genetics              0.250 ± 0.044    0.310 ± 0.046     0.310 ± 0.046     0.280 ± 0.045       0.270 ± 0.045   0.300 ± 0.046
Miscellaneous                 0.258 ± 0.016    0.301 ± 0.016     0.264 ± 0.016     0.249 ± 0.015       0.284 ± 0.016   0.268 ± 0.016
Moral Disputes                0.269 ± 0.024    0.246 ± 0.023     0.220 ± 0.022     0.260 ± 0.024       0.269 ± 0.024   0.272 ± 0.024
Moral Scenarios               0.255 ± 0.015    0.236 ± 0.014     0.273 ± 0.015     0.238 ± 0.014       0.241 ± 0.014   0.253 ± 0.015
Nutrition                     0.252 ± 0.025    0.261 ± 0.025     0.297 ± 0.026     0.297 ± 0.026       0.330 ± 0.027   0.304 ± 0.026
Philosophy                    0.199 ± 0.023    0.219 ± 0.023     0.228 ± 0.024     0.222 ± 0.024       0.238 ± 0.024   0.270 ± 0.025
Prehistory                    0.290 ± 0.025    0.222 ± 0.023     0.253 ± 0.024     0.228 ± 0.023       0.296 ± 0.025   0.235 ± 0.024
Professional Accounting       0.262 ± 0.026    0.220 ± 0.025     0.209 ± 0.024     0.170 ± 0.022       0.238 ± 0.025   0.266 ± 0.026
Professional Law              0.261 ± 0.011    0.261 ± 0.011     0.256 ± 0.011     0.256 ± 0.011       0.259 ± 0.011   0.261 ± 0.011
Professional Medicine         0.239 ± 0.026    0.254 ± 0.026     0.254 ± 0.026     0.206 ± 0.025       0.221 ± 0.025   0.195 ± 0.024
Professional Psychology       0.245 ± 0.017    0.247 ± 0.017     0.242 ± 0.017     0.248 ± 0.017       0.278 ± 0.018   0.252 ± 0.018
Public Relations              0.236 ± 0.041    0.245 ± 0.041     0.264 ± 0.042     0.227 ± 0.040       0.291 ± 0.044   0.291 ± 0.044
Security Studies              0.322 ± 0.030    0.331 ± 0.030     0.331 ± 0.030     0.335 ± 0.030       0.408 ± 0.031   0.359 ± 0.031
Sociology                     0.234 ± 0.030    0.234 ± 0.030     0.259 ± 0.031     0.229 ± 0.030       0.234 ± 0.030   0.323 ± 0.033
US Foreign Policy             0.250 ± 0.044    0.300 ± 0.046     0.300 ± 0.046     0.310 ± 0.046       0.370 ± 0.049   0.330 ± 0.047
Virology                      0.289 ± 0.035    0.301 ± 0.036     0.319 ± 0.036     0.355 ± 0.037       0.295 ± 0.036   0.331 ± 0.037
World Religions               0.292 ± 0.035    0.263 ± 0.034     0.287 ± 0.035     0.292 ± 0.035       0.269 ± 0.034   0.339 ± 0.036

                             Table 13: Zero-shot Results on Hendrycks Tasks, Part 2 (FairSeq Models)
E     Tokenizer Analysis
Both tokenizers share 36938 out of 50257 tokens, a ∼73.5% overlap in tokens. In this section, we perform
comparison between the GPT-NeoX-20B tokenizer to the GPT-2 tokenizer using the validation set of the
Pile.
   In Table 15, we show the resulting number of tokens from tokenizing each component of the Pile’s
validation set with both tokenizers, and the ratio of GPT-NeoX-20B tokens to GPT-2 tokens.
   We observe that the GPT-NeoX-20B tokenizer represents all Pile components using fewer or very
closely comparable numbers of tokens. The largest percentage improvement in token counts are in the
EuroParl, GitHub, and PubMed Central components, with a more than 20% savings in the number of
tokens needed to represent that component. We highlight that arXiv, GitHub, and StackExchange—subsets
with large code components—can be represented with meaningfully fewer tokens with the GPT-NeoX-20B
tokenizer compared to the GPT-2 tokenizer. Overall, the GPT-NeoX-20B tokenizer represents the Pile
validation set with approximately 10% fewer tokens compared to the GPT-2 tokenizer.
   Given that the GPT-NeoX-20B tokenizer is tweaked to better tokenize whitespace, we also perform a
comparison between the two tokenizers excluding whitespace. We perform the same analysis as the above,
but exclude all whitespace tokens from our computations, only counting the non-whitespace tokens. A
token is considered a whitespace token if it consists only of whitespace characters. The results are shown
in Table 16 in the Appendix. We observe that the GPT-NeoX-20B tokenizer still uses 5% fewer tokens to
represent the Pile validation set compared to the GPT-2 tokenizer. As expected, the token ratios for certain
components such as GitHub and StackExchange become closer to even once the whitespace characters
are excluded.
                                                                            GPT-NeoX-20B
                                                   GPT-2    GPT-NeoX-20B       GPT-2
                             Pile (val)       383,111,734     342,887,807    0.89501
                             C4               173,669,294     173,768,876     1.001
                             C4 excl. Space   168,932,391     171,003,008     1.012

Table 14: Number of tokens from tokenizing the AllenAI C4 (en) validation set. The GPT-NeoX-20B tokenizer
uses approximately the same number of tokens to represent C4 as the GPT-2 tokenizer.

   While we evaluated our tokenizer using the validation set for the Pile, the Pile components would still
be considered in-domain for the tokenizer and may not provide the most informative comparison point.
To perform an out-of-domain comparison, we perform the same analysis using the AllenAI replication of
C4,15 , another popular pretraining corpus for large language models. As above, we use the validation set
for our analysis. Our results are shown in Table 14. We find that the GPT-NeoX-20B tokenizer tokenizes
the C4 validation set to approximately the same number of tokens as the GPT-2 tokenizer. When excluding
all whitespace tokens, the GPT-NeoX-20B requires approximately 1% more tokens to represent the corpus
compared to the GPT-2 tokenizer.

E.1    Tokenizer Comparisons
E.1.1 Longest Tokens
We show in Table 17 the 10 longest tokens in each tokenizer vocabulary. We exclude consideration of
tokens that comprise only symbols or whitespace characters. We observe that for the GPT-2 tokenizer,
many of the longest tokens appear to reflect artifacts in the tokenizer training data, likely with certain
websites or web-scrapes being overrepresented in the training data. For the GPT-NeoX-20B tokenizer, we
observe that most of the longest tokens are scientific terms, likely arising from the PubMed components
of the Pile.
E.1.2 Worst Case Word Tokenization Comparison
We consider the words for which there is the greatest discrepancy in the resulting token length between
the two tokenizers, where one tokenizer needs many tokens to represent while the other tokenizer uses
    15 https://github.com/allenai/allennlp/discussions/5056
                                                                                 GPT-NeoX-20B
                                                        GPT-2    GPT-NeoX-20B       GPT-2
                               arXiv                41,020,155      34,704,315    0.84603
                               BookCorpus2           2,336,388       2,365,633    1.01252
                               Books3               42,819,036      43,076,832    1.00602
                               DM Mathematics        7,699,527       7,413,775    0.96289
                               Enron Emails            480,500         433,867    0.90295
                               EuroParl              3,519,584       2,808,275    0.79790
                               FreeLaw              21,098,168      18,687,364    0.88573
                               GitHub               42,986,216      33,021,839    0.76820
                               Gutenberg (PG-19)     6,729,187       6,428,946    0.95538
                               HackerNews            2,578,933       2,551,720    0.98945
                               NIH ExPorter            776,688         739,558    0.95219
                               OpenSubtitles         5,431,529       5,446,485    1.00275
                               OpenWebText2         31,993,480      30,813,744    0.96313
                               PhilPapers            1,879,206       1,750,928    0.93174
                               Pile-CC              53,415,704      53,392,389    0.99956
                               PubMed Abstracts      8,708,180       8,215,529    0.94343
                               PubMed Central       56,874,247      43,534,166    0.76545
                               StackExchange        22,708,643      19,000,198    0.83669
                               USPTO Backgrounds    10,217,886       9,727,223    0.95198
                               Ubuntu IRC            3,341,287       2,771,066    0.82934
                               Wikipedia (en)       12,614,087      12,692,048    1.00618
                               YoutubeSubtitles      3,883,103       3,311,907    0.85290
                               Total               383,111,734     342,887,807    0.89501


Table 15: Number of tokens from tokenizing the Pile validation set. The GPT-NeoX-20B tokenizer uses fewer
tokens to represent the Pile overall, with the biggest gains in whitespace heavy datasets such as arXiv, GitHub and
StackExchange.

                                                                                 GPT-NeoX-20B
                                                        GPT-2    GPT-NeoX-20B       GPT-2
                               arXiv                38,932,524      33,561,364    0.86204
                               BookCorpus2           2,233,367       2,262,609    1.01309
                               Books3               40,895,236      41,198,424    1.00741
                               DM Mathematics        7,214,874       6,929,066    0.96039
                               Enron Emails            374,978         373,498    0.99605
                               EuroParl              3,482,120       2,780,405    0.79848
                               FreeLaw              17,766,692      17,434,708    0.98131
                               GitHub               29,338,176      27,558,966    0.93936
                               Gutenberg (PG-19)     5,838,580       5,827,408    0.99809
                               HackerNews            2,312,116       2,299,848    0.99469
                               NIH ExPorter            776,619         739,543    0.95226
                               OpenSubtitles         5,428,118       5,445,721    1.00324
                               OpenWebText2         30,849,218      29,723,143    0.96350
                               PhilPapers            1,872,347       1,743,627    0.93125
                               Pile-CC              51,305,080      51,281,909    0.99955
                               PubMed Abstracts      8,676,790       8,185,417    0.94337
                               PubMed Central       44,508,570      40,722,151    0.91493
                               StackExchange        17,414,955      16,712,814    0.95968
                               USPTO Backgrounds     9,882,473       9,601,385    0.97156
                               Ubuntu IRC            3,220,797       2,659,225    0.82564
                               Wikipedia (en)       11,874,878      11,986,567    1.00941
                               YoutubeSubtitles      3,589,042       3,046,451    0.84882
                               Total               337,787,550     322,074,249    0.95348


        Table 16: Number of tokens from tokenizing the Pile validation set, excluding whitespace tokens.


relatively few tokens. We define a word as a contiguous string delimited by whitespace or punctuation
(as defined by strings.punctuation in Python). We perform this analysis at the component level. We
only consider words that occur at least 10 times within the given component. We show in Table 18 a
representative example from the Pile-CC corpus.

F   Tokenization Examples
In Figures 8 and 13, we show examples of tokenized documents from the Pile, comparing the GPT-2
tokenizer to ours.
                                GPT-2                                              GPT-NeoX-20B
                                rawdownloadcloneembedreportprint                   immunohistochemistry
                                BuyableInstoreAndOnline                            immunohistochemical
                                cloneembedreportprint                              telecommunications
                                 RandomRedditorWithNo                              immunofluorescence
                                 telecommunications                                immunosuppressive
                                channelAvailability                                BytePtrFromString
                                 disproportionately                                multidisciplinary
                                 Telecommunications                                histopathological
                                 guiActiveUnfocused                                neurodegenerative
                                ItemThumbnailImage                                 indistinguishable

Table 17: Ten longest tokens (excluding tokens comprising mainly symbols, numbers and spaces) in tokenizer
vocabularies.


                     GPT-2 Worst-case Tokenization                                     GPT-NeoX-20B Worst-case Tokenization
 Word                 GPT-2 Tokenization        GPT-NeoX-20B Tokenization   Word             GPT-2 Tokenization     GPT-NeoX-20B Tokenization
 hematopoietic        (6)   hematopoietic       (1)   hematopoietic         Schwarzenegger   (1)   Schwarzenegger   (5)   Schwarzenegger
 adenocarcinoma       (6)   adenocarcinoma      (1)   adenocarcinoma        Bolshevik        (1)   Bolshevik        (4)   Bolshevik
 MERCHANTABILITY      (5)   MERCHANTABILITY     (1)   MERCHANTABILITY       crowdfunding     (1)   crowdfunding     (4)   crowdfunding
 CONSEQUENTIAL        (5)   CONSEQUENTIAL       (1)   CONSEQUENTIAL         misogyny         (1)   misogyny         (4)   misogyny
 oligonucleotides     (5)   oligonucleotides    (1)   oligonucleotides      McAuliffe        (1)   McAuliffe        (4)   McAuliffe
 cytoplasmic          (5)   cytoplasmic         (1)   cytoplasmic           unstoppable      (1)   unstoppable      (4)   unstoppable
 corticosteroids      (4)   corticosteroids     (1)   corticosteroids       Timberwolves     (1)   Timberwolves     (4)   Timberwolves
 neurodegenerative    (4)   neurodegenerative   (1)   neurodegenerative     excruciating     (1)   excruciating     (4)   excruciating
 asymptotic           (4)   asymptotic          (1)   asymptotic            Kaepernick       (1)   Kaepernick       (4)   Kaepernick
 aneurysm             (4)   aneurysm            (1)   aneurysm              Valkyrie         (1)   Valkyrie         (4)   Valkyrie


Table 18: Worst case word tokenization with respective tokenizers. We show cases where one tokenizer requires
many more tokens to represent a word compared to the other tokenizer.


                                                           GPT-2 Tokenization
                                                              253 tokens
–-←-
abstract: ’The maximal minors of a $p\times (m + p)$-matrix of univariate polynomials of degree
 $n$ with indeterminate coefficients are themselves polynomials of degree $np$. The subalgebra
 generated by their coefficients is the coordinate ring of the quantum Grassmannian, a singular
 compactification of the space of rational curves of degree $np$ in the Grassmannian of $p$-
planes in ($m + p$)-space. These subalgebra generators are shown to form a sagbi basis. The
 resulting flat deformation from the quantum Grassmannian to a toric variety gives a new “ Grö
bner basis style” proof of the Ravi-Rosenthal-Wang formulas in quantum Schubert calculus. The
 coordinate ring of the quantum Grassmannian is an algebra with straightening law, which is
 normal, Cohen-Macaulay, Gorenstein and Koszul, and the ideal of quantum Plücker relations has a
 quadratic Gröbner basis. This holds more generally for skew quantum Schubert varieties. These
 results are well-known for the classical Schubert varietie


                                                      GPT-NeoX-20B Tokenization
                                                             229 tokens
–-←-
abstract: ’The maximal minors of a $p\times (m + p)$-matrix of univariate polynomials of degree
 $n$ with indeterminate coefficients are themselves polynomials of degree $np$. The subalgebra
 generated by their coefficients is the coordinate ring of the quantum Grassmannian, a singular
 compactification of the space of rational curves of degree $np$ in the Grassmannian of $p$-
planes in ($m + p$)-space. These subalgebra generators are shown to form a sagbi basis. The
 resulting flat deformation from the quantum Grassmannian to a toric variety gives a new “Grö
bner basis style” proof of the Ravi-Rosenthal-Wang formulas in quantum Schubert calculus. The
 coordinate ring of the quantum Grassmannian is an algebra with straightening law, which is
 normal, Cohen-Macaulay, Gorenstein and Koszul, and the ideal of quantum Plücker relations has a
 quadratic Gröbner basis. This holds more generally for skew quantum Schubert varieties. These
 results are well-known for the classical Schubert varietie

                                           Figure 8: Pile (arXiv) Tokenization Example
                                         GPT-2 Tokenization
                                            224 tokens
←-
←-
**THE TRAP**←-
←-
Beverley Kendall←-
←-
Copyright © Beverley Kendall 2014←-
←-
Published by Season Publishing LLC←-
←-
This is a work of fiction. Names, characters, places and incidents are products of the author
’s imagination or are used fictitiously and are not to be construed as real. Any resemblance to
 actual events, locales, organizations, or persons, living or dead, is completely coincidental.
←-←-
 www.beverleykendall.com←-←-
 Cover Design © Okay Creations, Sarah Hansen←-←-
 All rights reserved. Except as permitted under the U.S. Copyright Act of 1976, no part of this
 publication may be reproduced, distributed or transmitted in any form or by any means, or
 stored in a database or retrieval system, without the prior written permission of the author
.←-
←-
** License Statement **←-
←-
This ebook is licensed for your personal enjoyment only. This ebook may not be re-sold or given
 away to other people. If you would like to share this book with another person, please purchase
 an additional copy for each reader. If


                                     GPT-NeoX-20B Tokenization
                                            228 tokens
←-
←-
**THE TRAP**←-
←-
Beverley Kendall←-
←-
Copyright © Beverley Kendall 2014←-
←-
Published by Season Publishing LLC←-
←-
This is a work of fiction. Names, characters, places and incidents are products of the author
’s imagination or are used fictitiously and are not to be construed as real. Any resemblance to
 actual events, locales, organizations, or persons, living or dead, is completely coincidental.
←-←-
 www.beverleykendall.com←-←-
 Cover Design © Okay Creations, Sarah Hansen←-←-
 All rights reserved. Except as permitted under the U.S. Copyright Act of 1976, no part of this
 publication may be reproduced, distributed or transmitted in any form or by any means, or
 stored in a database or retrieval system, without the prior written permission of the author
.←-
←-
** License Statement **←-
←-
This ebook is licensed for your personal enjoyment only. This ebook may not be re-sold or given
 away to other people. If you would like to share this book with another person, please purchase
 an additional copy for each reader. If

                         Figure 9: Pile (BookCorpus2) Tokenization Example
                                         GPT-2 Tokenization
                                            477 tokens
 o?←-
True←-
Suppose -3*t = 1 + 8. Let s(d) = d**3 + 6*d**2 + 2*d + 1. Let u be s(t). Suppose 10 = 5*z, 5*a +
 0*z = -z + u. Is 4 a factor of a?←-
True←-
Suppose 5*l = r - 35, -2*r + 5*l - 15 = -70. Is r a multiple of 4?←-
True←-
Suppose 2*l + 11 - 1 = 0. Does 15 divide (-2)/l - 118/(-5)?←-
False←-
Suppose 3*k - 3*f + 0*f - 72 = 0, -25 = -5*f. Is 9 a factor of 2/(-4) + k/2?←-
False←-
Suppose 6*w + 25 = w. Let t(c) = c + 9. Let u be t(w). Suppose -u*z = -3*z - 10. Is z a multiple
 of 5?←-
True←-
Let j = 81 + -139. Let i = j + 101. Is 11 a factor of i?←-
False←-
Let q(s) = s**3 + 4*s**2 - s + 2. Let u be q(-4). Let o(w) = w**2 + w - 6. Let t be o(u).
 Suppose -3*l - 39 = -3*d - 2*l, 0 = 3*d - 2*l - t. Does 9 divide d?←-
False←-
Suppose -2*b + 39 + 13 = 0. Is b a multiple of 14?←-
False←-
Let q = -7 + 12. Suppose 8*l = q*l + 81. Suppose 129 = 4*f - l. Is 13 a factor of f?←-
True←-
Suppose 0 = -4*n + j + 33, 4*n - n + 4*j = 20. Let c = 5 - n. Is 35*1 - (-6)/c a multiple of 11?
←-
True←-
Let g(m) = m**2 - 2*m - 3. Let k be g(3). Let j be


                                     GPT-NeoX-20B Tokenization
                                            468 tokens
 o?←-
True←-
Suppose -3*t = 1 + 8. Let s(d) = d**3 + 6*d**2 + 2*d + 1. Let u be s(t). Suppose 10 = 5*z, 5*a +
 0*z = -z + u. Is 4 a factor of a?←-
True←-
Suppose 5*l = r - 35, -2*r + 5*l - 15 = -70. Is r a multiple of 4?←-
True←-
Suppose 2*l + 11 - 1 = 0. Does 15 divide (-2)/l - 118/(-5)?←-
False←-
Suppose 3*k - 3*f + 0*f - 72 = 0, -25 = -5*f. Is 9 a factor of 2/(-4) + k/2?←-
False←-
Suppose 6*w + 25 = w. Let t(c) = c + 9. Let u be t(w). Suppose -u*z = -3*z - 10. Is z a multiple
 of 5?←-
True←-
Let j = 81 + -139. Let i = j + 101. Is 11 a factor of i?←-
False←-
Let q(s) = s**3 + 4*s**2 - s + 2. Let u be q(-4). Let o(w) = w**2 + w - 6. Let t be o(u).
 Suppose -3*l - 39 = -3*d - 2*l, 0 = 3*d - 2*l - t. Does 9 divide d?←-
False←-
Suppose -2*b + 39 + 13 = 0. Is b a multiple of 14?←-
False←-
Let q = -7 + 12. Suppose 8*l = q*l + 81. Suppose 129 = 4*f - l. Is 13 a factor of f?←-
True←-
Suppose 0 = -4*n + j + 33, 4*n - n + 4*j = 20. Let c = 5 - n. Is 35*1 - (-6)/c a multiple of 11?
←-
True←-
Let g(m) = m**2 - 2*m - 3. Let k be g(3). Let j be

                       Figure 10: Pile (DM Mathematics) Tokenization Example
                                         GPT-2 Tokenization
                                             430 tokens
<at-dialog title="vm.title" on-close="vm.onClose">←-
    <at-form state="vm.form" autocomplete="off" id="external_test_form">←-
        <at-input-group col="12" tab="20" state="vm.form.inputs" form-id="external_test"></at-
input-group>←-
        <at-action-group col="12" pos="right">←-
            <at-action-button←-
                variant="tertiary"←-
                ng-click="vm.onClose()"←-
            >←-
                ::vm.strings.get(’CLOSE’) ←-
            </at-action-button>←-
            <at-action-button←-
                variant="primary"←-
                ng-click="vm.onSubmit()"←-
                ng-disabled="!vm.form.isValid || vm.form.disabled"←-
            >←-
                ::vm.strings.get(’RUN’) ←-
            </at-action-button>←-
        </at-action-group>←-
    </at-form>←-
</at-dialog>←-


                                     GPT-NeoX-20B Tokenization
                                             257 tokens
<at-dialog title="vm.title" on-close="vm.onClose">←-
    <at-form state="vm.form" autocomplete="off" id="external_test_form">←-
        <at-input-group col="12" tab="20" state="vm.form.inputs" form-id="external_test"></at-
input-group>←-
        <at-action-group col="12" pos="right">←-
            <at-action-button←-
                variant="tertiary"←-
                ng-click="vm.onClose()"←-
            >←-
                ::vm.strings.get(’CLOSE’) ←-
            </at-action-button>←-
            <at-action-button←-
                variant="primary"←-
                ng-click="vm.onSubmit()"←-
                ng-disabled="!vm.form.isValid || vm.form.disabled"←-
            >←-
                ::vm.strings.get(’RUN’) ←-
            </at-action-button>←-
        </at-action-group>←-
    </at-form>←-
</at-dialog>←-


                           Figure 11: Pile (GitHub) Tokenization Example
                                         GPT-2 Tokenization
                                            178 tokens
Theresa May is expected to appoint an EU ambassador who “ believes in Brexit” in the wake of the
 current Brussels representative’s decision to quit after being cut adrift by Downing Street.
←-
←-
Sir Ivan Rogers on Tuesday announced his resignation as Britain’ s ambassador in Brussels after
 it was made clear Mrs May and her senior team had “ lost confidence” in him over his “ pessim
istic” view of Brexit.←-
←-
Government sources made clear that Sir Ivan had “ jumped before he was pushed” and that Number
 10 believed his negative view of Brexit meant that he could not lead the negotiations after the
 Prime Minister triggers Article 50.←-
←-
In a 1,400-word resignation letter to his staff leaked on Tuesday night, Sir Ivan launched a
 thinly-veiled attack on the "muddled thinking" in Mrs May’s Government.


                                     GPT-NeoX-20B Tokenization
                                            170 tokens
Theresa May is expected to appoint an EU ambassador who “believes in Brexit” in the wake of the
 current Brussels representative’s decision to quit after being cut adrift by Downing Street.
←-
←-
Sir Ivan Rogers on Tuesday announced his resignation as Britain’s ambassador in Brussels after
 it was made clear Mrs May and her senior team had “lost confidence” in him over his “pessim
istic” view of Brexit.←-
←-
Government sources made clear that Sir Ivan had “jumped before he was pushed” and that Number
 10 believed his negative view of Brexit meant that he could not lead the negotiations after the
 Prime Minister triggers Article 50.←-
←-
In a 1,400-word resignation letter to his staff leaked on Tuesday night, Sir Ivan launched a
 thinly-veiled attack on the "muddled thinking" in Mrs May’s Government.

                        Figure 12: Pile (OpenWebText2) Tokenization Example

                                         GPT-2 Tokenization
                                            268 tokens
Carotid endarterectomy: operative risks, recurrent stenosis, and long-term stroke rates in a
 modern series.←-
To determine whether carotid endarterectomy (CEA) safely and effectively maintained a durable
 reduction in stroke complications over an extended period, we reviewed our data on 478
 consecutive patients who underwent 544 CEA’s since 1976. Follow-up was complete in 83% of
 patients (mean 44 months). There were 7 early deaths (1.3%), only 1 stroke related (0.2%). Peri
operative stroke rates (overall 2.9%) varied according to operative indications: asymptomatic, 1
.4%; transient ischemic attacks (TIA)/amaurosis fugax (AF), 1.3%; nonhemispheric symptoms (NH),
 4.9%; and prior stroke (CVA), 7.1%. Five and 10-year stroke-free rates were 96% and 92% in the
 asymptomatic group, 93% and 87% in the TIA/AF group, 92% and 92% in the NH group, and 80% and
 73% in the CVA group. Late ipsilateral strokes occurred infrequently (8 patients, 1.7%). Late
 deaths were primarily cardiac related (51.3%). Stro


                                     GPT-NeoX-20B Tokenization
                                            250 tokens
Carotid endarterectomy: operative risks, recurrent stenosis, and long-term stroke rates in a
 modern series.←-
To determine whether carotid endarterectomy (CEA) safely and effectively maintained a durable
 reduction in stroke complications over an extended period, we reviewed our data on 478
 consecutive patients who underwent 544 CEA’s since 1976. Follow-up was complete in 83% of
 patients (mean 44 months). There were 7 early deaths (1.3%), only 1 stroke related (0.2%). Peri
operative stroke rates (overall 2.9%) varied according to operative indications: asymptomatic, 1
.4%; transient ischemic attacks (TIA)/amaurosis fugax (AF), 1.3%; nonhemispheric symptoms (NH),
 4.9%; and prior stroke (CVA), 7.1%. Five and 10-year stroke-free rates were 96% and 92% in the
 asymptomatic group, 93% and 87% in the TIA/AF group, 92% and 92% in the NH group, and 80% and
 73% in the CVA group. Late ipsilateral strokes occurred infrequently (8 patients, 1.7%). Late
 deaths were primarily cardiac related (51.3%). Stro

                       Figure 13: Pile (PubMed Abstracts) Tokenization Example