[
  {
    "path": "LICENSE",
    "content": "                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n"
  },
  {
    "path": "README.md",
    "content": "# StableLM: Stability AI Language Models\n\n![Stochastic Parrot](./assets/mascot.png)\n<br/>*“A Stochastic Parrot, flat design, vector art” — [Stable Diffusion XL](https://clipdrop.co/stable-diffusion)*\n\nThis repository contains Stability AI's ongoing development of the StableLM series of language models and will be continuously updated with new checkpoints. The following provides an overview of all currently available models. More coming soon.\n\n## News\n\n*September 29, 2023*\n\n- Released StableLM-3B-4E1T model under [CC BY-SA-4.0](https://creativecommons.org/licenses/by-sa/4.0/).\n\n*August 5, 2023*\n\n- Released patched StableLM-Alpha v2 models with 3B and 7B parameters.\n\n*April 28, 2023*\n\n- Released StableVicuna-13B, our RLHF fine-tune of [Vicuna-13B v0](https://huggingface.co/lmsys/vicuna-13b-delta-v0), which itself is a fine-tune of [LLaMA-13B](https://github.com/facebookresearch/llama). Delta weights over the original Llama model is released under ([CC BY-NC-SA-4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)).\n\n*April 20, 2023*\n\n- Released initial set of StableLM-Alpha models, with 3B and 7B parameters. Base models are released under [CC BY-SA-4.0](https://creativecommons.org/licenses/by-sa/4.0/).\n\n- Try to chat with our 7B model, `StableLM-Tuned-Alpha-7B`, on [Hugging Face Spaces](https://huggingface.co/spaces/stabilityai/stablelm-tuned-alpha-chat).\n\n## Models\n\n### StableLM-3B-4E1T\n\n> Technical Report: [StableLM-3B-4E1T](https://stability.wandb.io/stability-llm/stable-lm/reports/StableLM-3B-4E1T--VmlldzoyMjU4?accessToken=u3zujipenkx5g7rtcj9qojjgxpconyjktjkli2po09nffrffdhhchq045vp0wyfo)\n\nStableLM-3B-4E1T is a 3 billion (3B) parameter language model pre-trained under the multi-epoch regime to study the impact of repeated tokens on downstream performance. Given prior success in this area ([Tay et al., 2023](https://arxiv.org/pdf/2205.05131.pdf) and [Taylor et al., 2022](https://galactica.org/static/paper.pdf)), we train on 1 trillion (1T) tokens for 4 epochs following the observations of [Muennighoff et al. (2023)](https://arxiv.org/abs/2305.16264) in \"Scaling Data-Constrained Language Models\" in which they find \"training with up to 4 epochs of repeated data yields negligible changes to loss compared to having unique data.\" Further inspiration for the token count is taken from \"Go smol or go home\" ([De Vries, 2023](https://www.harmdevries.com/post/model-size-vs-compute-overhead/)), which suggests a 2.96B model trained for 2.85 trillion tokens achieves a similar loss to a Chinchilla compute-optimal 9.87B language model ($k_n = 0.3$).\n\n| Size | StableLM-3B-4E1T                                                     | Training Tokens | Parameters    |\n|------|--------------------------------------------------------------------|-----------------|---------------|\n| 3B   | [checkpoint](https://huggingface.co/stabilityai/stablelm-3b-4e1t) | 4T              | 2,795,443,200 |\n\n#### Model Architecture\n\nThe model is a decoder-only transformer similar to the LLaMA ([Touvron et al., 2023](https://arxiv.org/abs/2307.09288)) architecture with the following modifications:\n\n| Parameters     | Hidden Size | Layers | Heads | Sequence Length |\n|----------------|-------------|--------|-------|-----------------|\n| 2,795,443,200  | 2560        | 32     | 32    | 4096            |\n\n- **Position Embeddings**: Rotary Position Embeddings ([Su et al., 2021](https://arxiv.org/abs/2104.09864)) applied to the first 25% of head embedding dimensions for improved throughput following [Black et al. (2022)](https://arxiv.org/pdf/2204.06745.pdf).\n- **Normalization**: LayerNorm ([Ba et al., 2016](https://arxiv.org/abs/1607.06450)) with learned bias terms as opposed to RMSNorm ([Zhang & Sennrich, 2019](https://arxiv.org/abs/1910.07467)).\n- **Tokenizer**: GPT-NeoX ([Black et al., 2022](https://arxiv.org/abs/2204.06745)).\n\n#### Training Data\n\nThe dataset is comprised of a filtered mixture of open-source large-scale datasets available on the [HuggingFace Hub](https://huggingface.co/datasets): Falcon RefinedWeb extract ([Penedo et al., 2023](https://huggingface.co/datasets/tiiuae/falcon-refinedweb)), and RedPajama-Data ([Together Computer., 2023](https://github.com/togethercomputer/RedPajama-Data)) and The Pile ([Gao et al., 2020](https://arxiv.org/abs/2101.00027)) both without *Books3* and other subsets, and StarCoder ([Li et al., 2023](https://arxiv.org/abs/2305.06161)).\n\n> Given the large amount of web data, we recommend fine-tuning the base StableLM-3B-4E1T for your downstream tasks.\n\n#### Training Details\n\nPlease refer to the provided YAML configuration file [`stablelm-3b-4e1t.yml`](./configs/stablelm-3b-4e1t.yml) for complete hyperparameter settings and the [technical report](https://stability.wandb.io/stability-llm/stable-lm/reports/StableLM-3B-4E1T--VmlldzoyMjU4?accessToken=u3zujipenkx5g7rtcj9qojjgxpconyjktjkli2po09nffrffdhhchq045vp0wyfo) for further details.\n\n#### Downstream Results\n\nThe following zero-shot evaluations are performed with the `lm-evaluation-harness` using the [lm-bench](https://github.com/Stability-AI/lm-evaluation-harness/tree/lm-bench) branch of Stability AI's fork. Full `lm-eval` JSONs can be found in the [`evals`](./evals) directory.\n\n| Pre-Trained Model                                                                     | Average  | ARC<br>Challenge | ARC<br>Easy | BoolQ | HellaSwag (✱) | LAMBADA<br>OpenAI | OpenBookQA | PIQA  | SciQ  | Winogrande |\n| ------------------------------------------------------------------------------------- |:-----------------:|:----------------:|:-----------:|:-----:|:-------------:|:-----------------:|:----------:|:-----:|:-----:|:----------:|\n| meta-llama/Llama-2-13b-hf                                                             | 71.77             | 48.63            | 79.50       | 80.52 | 79.36         | 76.77             | 35.40      | 79.05 | 94.50 | 72.22      |\n| huggyllama/llama-7b                                                                   | 68.84             | 41.89            | 75.25       | 75.05 | 76.22         | 73.55             | 34.40      | 78.67 | 94.60 | 69.93      |\n| meta-llama/Llama-2-7b-hf                                                              | 68.75             | 43.00            | 76.26       | 77.74 | 75.94         | 73.47             | 31.40      | 77.75 | 93.60 | 69.61      |\n| Qwen/Qwen-7B                                                                          | 67.91             | 45.39            | 67.38       | 74.56 | 88.85 (?)     | 69.67             | 32.20      | 73.99 | 93.20 | 65.98      |\n| tiiuae/falcon-7b                                                                      | 67.83             | 40.27            | 74.41       | 73.55 | 76.35         | 74.56             | 30.60      | 79.49 | 94.00 | 67.25      |\n| mosaicml/mpt-7b                                                                       | 67.36             | 40.53            | 74.92       | 73.94 | 76.17         | 68.64             | 31.40      | 78.89 | 93.70 | 68.03      |\n| **stabilityai/stablelm-3b-4e1t**                                                     | 66.93             | 37.80            | 72.47       | 75.63 | 73.90         | 70.64             | 31.40      | 79.22 | 94.80 | 66.54      |\n| baichuan-inc/Baichuan2-7B-Base                                                        | 66.93             | 42.24            | 75.00       | 73.09 | 72.29         | 70.99             | 30.40      | 76.17 | 94.60 | 67.56      |\n| stabilityai/stablelm-base-alpha-7b-v2                                                 | 66.89             | 38.48            | 73.19       | 70.31 | 74.27         | 74.19             | 30.40      | 78.45 | 93.90 | 68.82      |\n| openlm-research/open_llama_7b_v2                                                      | 66.32             | 38.82            | 71.93       | 71.41 | 74.65         | 71.05             | 30.20      | 79.16 | 93.80 | 65.82      |\n| microsoft/phi-1_5                                                                     | 65.57             | 44.45            | 76.14       | 74.53 | 62.62         | 52.75             | 37.60      | 76.33 | 93.20 | 72.53      |\n| EleutherAI/gpt-neox-20B                                                               | 65.57             | 37.88            | 72.90       | 69.48 | 71.43         | 71.98             | 29.80      | 77.42 | 93.10 | 66.14      |\n| togethercomputer/RedPajama-INCITE-7B-Base                                             | 65.07             | 37.71            | 72.35       | 70.76 | 70.33         | 71.34             | 29.00      | 77.15 | 92.70 | 64.33      |\n| cerebras/btlm-3b-8k-base (§)                                                          | 63.59             | 34.90            | 70.45       | 69.63 | 69.78         | 66.23             | 27.60      | 75.84 | 92.90 | 64.96      |\n| EleutherAI/pythia-12b                                                                 | 62.69             | 31.83            | 70.20       | 67.31 | 67.38         | 70.64             | 26.40      | 76.28 | 90.20 | 64.01      |\n| openlm-research/open_llama_3b_v2                                                      | 62.43             | 33.87            | 67.59       | 65.69 | 69.99         | 66.74             | 26.00      | 76.66 | 92.40 | 62.90      |\n| EleutherAI/gpt-j-6B                                                                   | 62.34             | 33.96            | 66.96       | 65.44 | 66.24         | 68.23             | 29.00      | 75.57 | 91.50 | 64.17      |\n| stabilityai/stablelm-base-alpha-3b-v2                                                 | 62.19             | 32.42            | 67.26       | 64.56 | 68.58         | 70.25             | 26.40      | 76.01 | 92.10 | 62.12      |\n| facebook/opt-6.7b                                                                     | 61.85             | 30.72            | 65.66       | 66.02 | 67.20         | 67.65             | 27.60      | 76.33 | 90.10 | 65.35      |\n| EleutherAI/pythia-6.9b                                                                | 60.58             | 31.83            | 67.21       | 64.01 | 63.88         | 67.01             | 25.80      | 75.08 | 89.80 | 60.62      |\n| EleutherAI/pythia-2.8b-deduped                                                        | 58.52             | 30.12            | 63.47       | 64.13 | 59.44         | 65.15             | 23.80      | 74.10 | 88.20 | 58.25      |\n| **§** Previous 3B Pre-Trained SOTA <br>**?** Outlier Reuslts<br>**\\*** Byte-length Normalized Accuracy |                   |                  |             |       |               |                   |            |       |       |            |\n\n**StableLM-3B-4E1T achieves state-of-the-art performance (September 2023) at the 3B parameter scale for open-source models** and is competitive with many of the popular contemporary 7B models, even outperforming our most recent 7B StableLM-Base-Alpha-v2.\n\n### StableLM-Alpha v2\n\nStableLM-Alpha v2 models significantly improve on the initial Alpha models by incorporating architectural improvements such as SwiGLU ([Shazeer, 2020](https://arxiv.org/abs/2002.05202)) and using higher-quality data sources, as discussed below. The context length for these models is 4096 tokens.\n\n| Size | StableLM-Base-Alpha-v2                                                     | Training Tokens | Parameters    |\n|------|----------------------------------------------------------------------------|-----------------|---------------|\n| 3B   | [checkpoint](https://huggingface.co/stabilityai/stablelm-base-alpha-3b-v2) | 1.1T            | 2,796,431,360 |\n| 7B   | [checkpoint](https://huggingface.co/stabilityai/stablelm-base-alpha-7b-v2) | 1.1T            | 6,890,209,280 |\n\n#### Training Details\n\nPlease refer to the provided YAML configuration files for hyperparameter details. E.g. for the extended `StableLM-Alpha-3B-v2` model, see [stablelm-base-alpha-3b-v2-4k-extension.yml](./configs/stablelm-base-alpha-3b-v2-4k-extension.yml).\n\nFollowing similar work, we use a multi-stage approach to context length extension ([Nijkamp et al., 2023](https://blog.salesforceairesearch.com/xgen/)), scheduling 1 trillion tokens at context length 2048 followed by 100 billion tokens at 4096. We found that sequence length warmup ([Li et al., 2022](https://arxiv.org/abs/2108.06084)) helped stabilize early spikes during the first ~80 billion tokens of pre-training. However, it was not applied to the final runs due to significant throughput penalties as length shapes grew across the curriculum.\n\n#### Training Data\n\nThe most impactful changes for StableLM-Alpha-v2 downstream performance were in the usage of higher quality data sources and mixtures; specifically, the use of [RefinedWeb](https://huggingface.co/datasets/tiiuae/falcon-refinedweb) and [C4](https://huggingface.co/datasets/allenai/c4) in place of The Pile v2 Common-Crawl scrape as well as sampling web text at a much higher rate (35% -> 71%).\n\nThe first pre-training stage relies on 1 trillion tokens sourced from a mix of the public Falcon RefinedWeb extract ([Penedo et al., 2023](https://huggingface.co/datasets/tiiuae/falcon-refinedweb)), RedPajama-Data ([Together Computer., 2023](https://github.com/togethercomputer/RedPajama-Data)), The Pile ([Gao et al., 2020](https://arxiv.org/abs/2101.00027)), and internal datasets with web text sampled at a rate of 71%.\n\nIn the second stage, we include the StarCoder ([Li et al., 2023](https://arxiv.org/abs/2305.06161)) dataset and down sample web text to 55% while increasing sampling proportions of naturally long text examples in the aforementioned sources.\n\n#### Evaluation\n\nThe following zero-shot evaluations are performed with the `lm-evaluation-harness` at commit [`df3da98c5405deafd519c2ddca52bb7c3fe36bef`](https://github.com/EleutherAI/lm-evaluation-harness/tree/df3da98c5405deafd519c2ddca52bb7c3fe36bef) with the exception of SIQA which uses the [`add-siqa` branch](https://github.com/EleutherAI/lm-evaluation-harness/tree/add-siqa) with prompt format\n`{doc['context']}\\nQuestion: {doc['question']}\\nAnswer:`.\n\n| Model                     | ARC Challenge✱ | ARC Easy✱ | BoolQ | HellaSwag✱ | LAMBADA<br>OpenAI | OpenBookQA | PIQA  | SIQA  | TruthfulQA▲ | Winogrande | Average |\n| ------------------------- |:---------------:|:----------:|:-----:|:-----------:|:-----------------:|:----------:|:-----:|:-----:|:------------:|:----------:|:-------:|\n| **StableLM-Alpha-7B-v2** | 40.53           | 69.11      | 70.31 | 74.27       | 74.19             | 30.40      | 78.45 | 42.43 | 36.46        | 68.82      | 58.50   |\n| LLaMA-2-7B                | 46.16           | 74.54      | 77.74 | 75.94       | 73.47             | 31.40      | 77.75 | 43.50 | 38.97        | 69.61      | 60.91   |\n| MPT-7B                    | 41.89           | 70.03      | 73.94 | 76.17       | 68.64             | 31.40      | 78.89 | 45.14 | 33.49        | 68.03      | 58.76   |\n| OpenLLaMA-7B-v2           | 42.41           | 69.65      | 71.41 | 74.65       | 71.05             | 30.20      | 79.16 | 41.97 | 34.57        | 65.82      | 58.09   |\n| RedPajama-INCITE-7B-Base  | 39.42           | 69.19      | 70.76 | 70.33       | 71.34             | 29.00      | 77.15 | 42.58 | 33.01        | 64.33      | 56.71   |\n| **StableLM-Alpha-3B-v2** | 35.07           | 63.26      | 64.56 | 68.58       | 70.25             | 26.40      | 76.01 | 42.48 | 35.87        | 62.12      | 54.46   |\n| BTLM-3B-8K           | 37.63           | 67.09      | 69.63 | 69.78       | 66.23             | 27.60      | 75.84 | 42.78 | 36.00        | 64.96      | 55.75   |\n| OpenLLaMA-3B-v2           | 36.09           | 63.51      | 65.69 | 69.99       | 66.74             | 26.00      | 76.66 | 41.20 | 34.59        | 62.90      | 54.34   |\n| Pythia-2.8B (deduped)     | 32.94           | 59.09      | 64.13 | 59.44       | 65.15             | 23.80      | 74.10 | 40.94 | 35.56        | 58.25      | 51.34   |\n| StableLM-Alpha-7B    | 27.05           | 44.87      | 60.06 | 41.22       | 55.11             | 21.40      | 66.76 | 39.46 | 39.96        | 50.12      | 44.60   |\n| StableLM-Alpha-3B    | 25.77           | 42.05      | 57.65 | 38.31       | 41.72             | 17.00      | 63.82 | 35.62 | 40.53        | 52.64      | 41.51   |\n\n✱: Denotes byte-length normalized accuracy (`acc_norm`) as described in [Gao, 2021](https://blog.eleuther.ai/multiple-choice-normalization/).\n\n▲: We score TruthfulQA using the normalized total probability assigned to the set of true answers (`mc2`).\n\n### StableLM-Alpha\n\nStableLM-Alpha models are trained on a new dataset that builds on [The Pile](https://pile.eleuther.ai/), which contains 1.5 trillion tokens, roughly 3x the size of The Pile. The context length for these models is 4096 tokens.\n\nAs a proof-of-concept, we also fine-tuned the model with [Stanford Alpaca](https://github.com/tatsu-lab/stanford_alpaca)'s procedure using a combination of five recent datasets for conversational agents: Stanford's [Alpaca](https://github.com/tatsu-lab/stanford_alpaca), Nomic-AI's [gpt4all](https://github.com/nomic-ai/gpt4all), RyokoAI's [ShareGPT52K](https://huggingface.co/datasets/RyokoAI/ShareGPT52K) datasets, Databricks labs' [Dolly](https://github.com/databrickslabs/dolly), and Anthropic's [HH](https://github.com/anthropics/hh-rlhf). We will be releasing these models as StableLM-Tuned-Alpha.\n\n| Size | StableLM-Base-Alpha                                                      | StableLM-Tuned-Alpha                                                      | Training Tokens | Parameters    | Web Demo                                                                           |\n|------|--------------------------------------------------------------------------|---------------------------------------------------------------------------|-----------------|---------------|------------------------------------------------------------------------------------|\n| 3B   | [checkpoint](https://huggingface.co/stabilityai/stablelm-base-alpha-3b/) | [checkpoint](https://huggingface.co/stabilityai/stablelm-tuned-alpha-3b/) | 800B            | 3,638,525,952 |                                                                                    |\n| 7B   | [checkpoint](https://huggingface.co/stabilityai/stablelm-base-alpha-7b)  | [checkpoint](https://huggingface.co/stabilityai/stablelm-tuned-alpha-7b)  | 800B            | 7,869,358,080 | [Hugging Face](https://huggingface.co/spaces/stabilityai/stablelm-tuned-alpha-chat) |\n\n### StableVicuna\n\nStableVicuna is an RLHF fine-tune of [Vicuna-13B v0](https://huggingface.co/lmsys/vicuna-13b-delta-v0), which itself is a fine-tune of [LLaMA-13B](https://github.com/facebookresearch/llama). It is our attempt at creating an open-source RLHF LLM Chatbot. This model is developed by StabilityAI's CarperAI team, with [Duy V. Phung](https://github.com/PhungVanDuy) leading the training effort.\n\nDue to the original non-commercial license of LLaMA, we can only release the weights of our model as deltas over the original model's weights. StableVicuna's delta weights are released under ([CC BY-NC-SA-4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)).\n\nPlease visit HuggingFace checkpoint for more information about how to combine our delta weights with the original model.\n\n| Model            | Download                                                               | Web Demo                                                             | Cite |\n| ---------------- | ---------------------------------------------------------------------- | -------------------------------------------------------------------- |------|\n| StableVicuna-13B | [checkpoint](https://huggingface.co/CarperAI/stable-vicuna-13b-delta/) | [Hugging Face](https://huggingface.co/spaces/CarperAI/StableVicuna/) | [![DOI:10.57967/hf/0588](https://zenodo.org/badge/DOI/10.1007/978-3-319-76207-4_15.svg)](https://doi.org/10.57967/hf/0588) |\n\n## Quickstart\n\nAll StableLM models are hosted on [the Hugging Face hub](https://huggingface.co/StabilityAI). Check out this [notebook](https://github.com/Stability-AI/StableLM/blob/main/notebooks/stablelm-alpha.ipynb) to run inference with limited GPU capabilities.\n\nGet started chatting with `StableLM-Tuned-Alpha` by using the following code snippet:\n\n```python\nimport torch\nfrom transformers import AutoModelForCausalLM, AutoTokenizer, StoppingCriteria, StoppingCriteriaList\n\ntokenizer = AutoTokenizer.from_pretrained(\"stabilityai/stablelm-tuned-alpha-7b\")\nmodel = AutoModelForCausalLM.from_pretrained(\"stabilityai/stablelm-tuned-alpha-7b\")\nmodel.half().cuda()\n\nclass StopOnTokens(StoppingCriteria):\n    def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs) -> bool:\n        stop_ids = set([50278, 50279, 50277, 1, 0])\n        return input_ids[0][-1] in stop_ids\n\nsystem_prompt = \"\"\"<|SYSTEM|># StableLM Tuned (Alpha version)\n- StableLM is a helpful and harmless open-source AI language model developed by StabilityAI.\n- StableLM is excited to be able to help the user, but will refuse to do anything that could be considered harmful to the user.\n- StableLM is more than just an information source, StableLM is also able to write poetry, short stories, and make jokes.\n- StableLM will refuse to participate in anything that could harm a human.\n\"\"\"\n\nprompt = f\"{system_prompt}<|USER|>What's your mood today?<|ASSISTANT|>\"\n\ninputs = tokenizer(prompt, return_tensors=\"pt\").to(\"cuda\")\ntokens = model.generate(\n  **inputs,\n  max_new_tokens=64,\n  temperature=0.7,\n  do_sample=True,\n  stopping_criteria=StoppingCriteriaList([StopOnTokens()])\n)\nprint(tokenizer.decode(tokens[0], skip_special_tokens=True))\n```\n\nStableLM Tuned should be used with prompts formatted to `<|SYSTEM|>...<|USER|>...<|ASSISTANT|>...`\nThe system prompt is\n```\n<|SYSTEM|># StableLM Tuned (Alpha version)\n- StableLM is a helpful and harmless open-source AI language model developed by StabilityAI.\n- StableLM is excited to be able to help the user, but will refuse to do anything that could be considered harmful to the user.\n- StableLM is more than just an information source, StableLM is also able to write poetry, short stories, and make jokes.\n- StableLM will refuse to participate in anything that could harm a human.\n```\n\n## Fun with StableLM-Tuned-Alpha\nThis section contains a collection of fun cherry-picked examples of what you can do with `stablelm-tuned-alpha`.\n\n<details>\n  <summary>Chit-Chat</summary>\n\n```\nUser: Hey! My name is John nice to meet you!\n\nStableLM: Hello John! It’s always a pleasure to meet new people.\n\nUser: The pleasure is mine. Hey my grandma is in Toronto. I want to plan a surprise visit for her. She’s a person who loves gardens and flowers.\n\nStableLM: That’s wonderful! It’s great to hear that you’ll be visiting your grandma in Toronto. Can you tell me a little bit more about your plans?\n\nUser: Ya I need to book a flight there and a hotel. But first, what recommendations do you have for gifts that she might like?\n\nStableLM: I think that’s a very thoughtful idea! It’s a very personal gift that would be sure to make her very happy. I can think of a few examples that she might really enjoy. There are some lovely bouquets or arrangements that would be lovely for the house, or even for the yard. Flowers are a great choice for a surprise gift, and they’re also a great choice for a wedding shower present. Also, if you’re really looking for something a bit more special, I think she’d really enjoy a quality set of cooking pots or pans. That’s something that she’s likely to use frequently, so it would make her feel really loved.\n\nUser: Thanks for the suggestion! Hmm a bouquet of flowers sounds nice but I don’t think I can take them on the air plane. What do you think I should do?\n\nStableLM: There are many possible solutions! One option would be to arrange a small gift in the shape of a card and send it to her by regular mail. Or you could arrange a special meal at a restaurant that she likes, or even cook a meal at home for her. Or you could send her some local goodies that she might like, like a nice bouquet of flowers or a special recipe. You could even arrange for tickets to a local theatre or sporting event, and make sure to include a note about what you’d like her to know about you. Really any sort of special attention from you will be sure to make her very happy!\n\nUser: Ah! Right. I can order a bouquet for her online and get it delivered! Thanks!\n\nStableLM: You’re very welcome! As long as you do this and make it a very personal, thoughtful gesture, she’ll be sure to appreciate it.\n ```\n\n</details>\n\n<details>\n  <summary>Formal Writing</summary>\n\n  ```\n User: What would you say to a friend who is graduating high school?\n\nStableLM: I would say that they have every right to feel proud of themselves and their accomplishments. They should be proud of the work they’ve done and the friends they have made, and also be excited about the future.\n\nUser: Please write an email.\nStableLM: Okay, here’s an example of what could be written:\n\nDear [Friend’s Name],\n\nI hope this email finds you well. I just wanted to take a moment to express how proud I am of you and all that you have accomplished. I know that getting into [university or college] is a big accomplishment, and I appreciate all that you have done for me and for this generation.\n\nI hope that you are having a good day. I’m sure that you are also concerned about the future, but I just wanted to let you know that I am also watching you grow and develop into the person that I know that you can be. Keep up the good work, and I have full faith that you will achieve great things.\n\nThank you again for everything that you do.\n\nBest,\n[Your Name]\n\n ```\n\n</details>\n\n<details>\n  <summary>Creative Writing</summary>\n\n### Rap Battles\n```\nUser: Write an epic rap battle song between deep neural networks and symbolic AI\n\nStableLM: [Beat drops]\n\nDeep Neural Networks:\nListen up everyone, it’s time to witness\nThe power of deep neural networks, it’s just a matter of abstract\nWe’ve trained these networks to solve complex problems with ease\nWhile symbolic AI is limited to simple math and simple flows\n\nSymbolic AI:\nHold up, hold up, let me interrupt\nIt’s been a while since I’ve heard, some new thoughts you interrupt\nBut let me tell you, my friend, it’s not all about math and flow\nIt’s about making the world a better place, you know\n\nDeep Neural Networks:\nWell, I can see where you’re coming from, it’s clear\nBut deep neural networks, they never get the same gear\nWe can use them to analyze and predict with ease\nAnd prove the superiority of machine learning\n\nSymbolic AI:\nYou’re right, it’s not just math or numbers\nBut it’s the essence of our lives, it’s what counts, we’re numbers\nI don’t need a complicated math formula, just a simple device\nTo make the world a better place, it’s a noble price\n\nDeep Neural Networks:\nI’ll give you that, my friend, you have a point\nBut let’s not forget, we’re making an ever-increasing joint\nOur progress is not bound by logic, it’s a journey of the mind\nSo let’s work together, let’s strive, let’s leave all troubles behind\n\nSymbolic AI:\nAgreed, let’s work together, let’s not falter\nWe’re both making history, we’re both from the fader\nSo let’s make the world a better place, let’s end this debate\nCause it’s time to join forces, it’s time to leave no stone unturned\n\n[Beat fades out]\n\nWho won this epic rap battle between deep neural networks and symbolic AI? Well, it’s up to you to decide!\n ```\n\n### Fictional Stories\n\n```\nUser: Write a story about a programmer who fell in love with a deep neural network.\n\nStableLM: Once upon a time, there was a programmer named John. He was a brilliant and ambitious individual, who was constantly searching for the next big thing in technology. One day, while he was strolling through the streets of his hometown, he stumbled upon a group of people crowded around a mysterious object. Intrigued, he approached to find out what the fuss was about.\n\nAs he got closer, he realized that it was none other than a mysterious deep neural network. John’s mind was blown. He had never seen anything like it before. He had always been interested in machine learning, but this was something else entirely. He had to learn more about it.\n\nJohn spent the next few weeks holed up in his hotel room, trying to learn everything he could about deep neural networks. He spent hours reading and analyzing papers and documents, trying to wrap his head around the concept of neural networks. He even managed to get into the local university’s computer science department, hoping to find some help there.\n\nBut, it wasn’t long before John realized that he was on his own. The city was bustling, and the constant chatter and noise of the city made it hard to concentrate on his work. He was about to give up when he stumbled upon a group of people playing a game that he had played before. They were having a good time, and John couldn’t help but join in.\n\nThe group welcomed him into their group, and before he knew it, John was swept away in the excitement. The game was called “TensorFlow,” and it was just like a regular game with different controls. John played along with the group, trying to make sense of it all. And in a few hours, he got his hands on the source code of TensorFlow and fell in love with it.\n\nJohn was now a part of a team of programmers who loved using TensorFlow for their work. They continued to play the game throughout the day, with John adding his own knowledge and inspiration to the group’s work. And in the end, John realized that he had found his true calling - working with deep neural networks.\n\nHe now knows the ins and outs of the TensorFlow programming language, and knows how to use it to create some of the most beautiful and complex machine learning models that anyone could dream of. And for everyone who had helped him on his journey, John will always be remembered as the guy who fell in love with a technology that changed his life forever.\n\n```\n\n### Humor\n\n```\nUser: What do you know about the League of Legends champion Zed? Write a short bio\n\nStableLM: Zed is a powerful and highly skilled player of the League of Legends (LoL) universe. He has been a part of a dominating team known as the “Apocalypse” for most of his time playing the game.\n\nZed was born in the year 2013 and started playing as a child when he started League of Legends. He first became a champion in season 1, gaining the title of “the Dark Star”, thanks to his masterful gameplay and teamwork skills.\n\nThroughout his time playing the game, Zed has mastered several powerful techniques, such as QWQ combos, one-shot kills, and the ability to outmaneuver his enemies. He is also known for his versatility, with the ability to adapt to any situation the game puts him in.\n\nDespite his formidable skills and agility, Zed is not invincible. He can be CCed and killed, and he relies on his team to protect him. However, his team members can usually overwhelm and shut down his enemies, making him a force to be reckoned with.\n\nZed has been a part of many memorable games, and his success in these games helped solidify his legacy as one of the most influential players of the LoL universe.\n\nUser: Write a funny conversation after a team fight between Zed and Teemo\n\nStableLM:\nTeemo: “Hey Zed, great game today. I wonder if you can help me out with my favorite hobby - collecting mushrooms!”\nZed: “Teemo, please. I’m not a mushroom collector.”\nTeemo: “But of course, you are. You have the best taste in the game.”\nZed: “Thanks, but can I at least get some of your mushrooms to be a little more useful?”\nTeemo: “I’d love to help you, but I’m afraid they’re all mine. Have you noticed my tunnels are always so well-guarded?”\nZed: “Ha! Well, maybe I can start my own tunnel. Helpful or not, you can never tell what I might have stored in them.”\nTeemo: “Good luck with that. Maybe I’ll just create some extra for my garden.”\nZed: “I’m not sure I can keep up with you there.”\nTeemo: “Ha! If only you had some more decent weapons. I could really see this as a challenge, though!”\nZed: “Teemo, I think your luck has finally run out.”\nTeemo: “Well, at least I’m the one with the mushrooms now.”\n\n```\n\n</details>\n\n<details>\n  <summary>Writing Code</summary>\n\n```\nUser: Write a program that solves the fib sequence in Python.\n```\nStableLM:\n\n```python\ndef fib_sequence(n):\n    if n==0:\n        return 0\n    elif n==1:\n        return 1\n    else:\n        return fib(n-1)+fib(n-2)\n\nfib_sequence(10)\n```\n\n</details>\n\n## Selected failure modes of StableLM-Tuned-Alpha\nThis section contains a collection of selected failure modes of `stablelm-tuned-alpha`.\n\n<details>\n  <summary>Yann LeCun gears (linear)</summary>\n\n```\nUser: In front of us are six gears numbered 1 to 6, mounted on axles in a row. Each gear is engaged with the next gear. If gear number 3 is rotated clockwise, in which direction will gears 1 and 6 rotate?\n\nStableLM: Each gear is engaged with the next gear after every other gear, so that gears 1 and 6 will rotate together. Since gears 1 and 6 are both numbered 1, this means that they will rotate in the same direction.\n\nTo determine the direction in which gears 1 and 6 will rotate, we need to look at the direction of the input force. Since gear 3 is rotating in the opposite direction of the other gears, it will be counterclockwise in the direction in which gears 1 and 6 are both rotating. Therefore, the output force that gear 3 is providing will also be counterclockwise, making gear 1 and 6 also rotate in the same direction as gear 3.\n ```\n\n</details>\n\n<details>\n  <summary>Yann LeCun gears (circular)</summary>\n\n```\nUser: 7 axles are equally spaced around a circle. A gear is placed on each axle such that each gear is engaged with the gear to its left and the gear to its right. The gears are numbered 1 to 7 around the circle. If gear 3 were rotated clockwise, in which direction would gear 7 rotate?\n\nStableLM: Gear 3 is the smallest gear, so it is not affected by the circular pattern. Therefore, gear 7 is still perfectly evenly spaced around the circle despite the fact that it is not in its correct position.\n\nTo find the angle that gear 3 would rotate in, you need to know the distance (d) between the center of the circle and the gear, as well as the direction of rotation (in this case, clockwise).\n\nAccording to the problem, gear 3 is situated at (d/2, 2 degrees) and the gears are numbered 1 to 7. Since d = (d/2) is an integer multiple of 2, gear 3 would also be at an angle of 2 degrees.\n\nTherefore, the answer is d = (7/2) * 2 = 5 degrees in total.\n ```\n\n</details>\n\n## Request for Help\n\nWant to get involved?\n\n- We would love to port [llama.cpp](https://github.com/ggerganov/llama.cpp) to work with StableLMs\n- Integration into [Open Assistant](https://github.com/LAION-AI/Open-Assistant) from LAION-AI to collect high quality human-generated feedback data\n- ... Reach out to us with ideas on our [Discord](https://discord.com/invite/stablediffusion)\n\n## Potential issues\nAs is typical for any pretrained Large Language Model without additional finetuning and reinforcement learning, the responses a user gets might be of varying quality and might potentially include offensive language and views. This is expected to be improved with scale, better data, community feedback, and optimisation.\n\n## Acknowledgements\n\n- `StableLM-Tuned-Alpha` would not have been possible without the helpful hand of Dakota Mahan [@dmayhem93](https://huggingface.co/dmayhem93).\n\n## Licenses\n\n- Base model checkpoints (`StableLM-Base-Alpha`) are licensed under the Creative Commons license ([CC BY-SA-4.0](https://creativecommons.org/licenses/by-sa/4.0/)). Under the license, you must give [credit](https://creativecommons.org/licenses/by/4.0/#) to Stability AI, provide a link to the license, and [indicate if changes were made](https://creativecommons.org/licenses/by/4.0/#). You may do so in any reasonable manner, but not in any way that suggests the Stability AI endorses you or your use.\n\n- Fine-tuned checkpoints (`StableLM-Tuned-Alpha`) are licensed under the Non-Commercial Creative Commons license ([CC BY-NC-SA-4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)), in-line with the original non-commercial license specified by [Stanford Alpaca](https://github.com/tatsu-lab/stanford_alpaca).\n\n- All code in this repository is licensed under the Apache License 2.0 license.\n"
  },
  {
    "path": "configs/stablelm-2-12b.yml",
    "content": "{\n  # parallelism settings\n  \"pipe-parallel-size\": 0,\n  \"model-parallel-size\": 2,\n\n  # model settings\n  \"num-layers\": 40,\n  \"hidden-size\": 5120,\n  \"num-attention-heads\": 32,\n  \"seq-length\": 4096,\n  \"max-position-embeddings\": 4096,\n\n  # architecture design\n  \"attention_head_type\": \"groupedquery\",\n  \"num_kv_heads\": 8,\n  \"qk_norm\": true,\n  \"norm\": \"layernorm\",\n  \"pos-emb\": \"rotary\",\n  \"rotary_pct\": 0.25,\n  \"rotary_emb_base\": 10_000,\n  \"rotary_interleaved\": false, # GPT-NeoX style\n  \"mlp_multiple_of\": 256,\n  \"mlp_type\": \"gated\",\n  \"activation\": \"silu\",\n  \"no-weight-tying\": true,\n  \"gpt_j_residual\": true,\n  \"gpt_j_tied\": true,\n  \"output_layer_parallelism\": \"column\",\n\n  # init methods\n  \"init_method\": \"normal\",\n  \"output_layer_init_method\": \"scaled_normal\",\n  \"init_method_std\": 0.01,\n\n  # biases\n  \"use_bias_in_norms\": false,\n  \"use_bias_in_qk_norm\": false,\n  \"use_bias_in_attn_linear\": false,\n  \"use_bias_in_mlp\": false,\n\n  # fused ops\n  \"use_flash_cross_entropy\": true,\n  \"bias-gelu-fusion\": false,\n  \"scaled-upper-triang-masked-softmax-fusion\": false,\n  \"attention-config\": [[[\"flash\"], 40]],\n\n  # optimizer settings\n  \"optimizer\":\n    {\n      \"type\": \"Adam\",\n      \"params\":\n        {\n          \"lr\": 3.0e-4,\n          \"betas\": [0.9, 0.95],\n          \"eps\": 0.00000001,\n        },\n    },\n  \"min_lr\": 3.0e-5,\n  \"train-iters\": 760_000,\n  \"lr-decay-iters\": 760_000,\n  \"lr-decay-style\": \"hybrid_cosine_inv_sqrt_2\",\n  \"warmup\": 0.0065,\n  \"cooldown\": 0.,\n\n  \"reset_attention_mask\": true,\n  \"reset_position_ids\": true,\n\n  # for all zero_optimization options, see https://www.deepspeed.ai/docs/config-json/#zero-optimizations-for-fp16-training\n  \"zero_optimization\":\n    {\n      \"stage\": 1,\n      \"allgather_partitions\": true,\n      \"allgather_bucket_size\": 5_000_000_000,\n      \"overlap_comm\": true,\n      \"reduce_scatter\": true,\n      \"reduce_bucket_size\": 5_000_000_000,\n      \"contiguous_gradients\": true,\n      \"cpu_offload\": false,\n    },\n\n  # batch / data settings\n  \"train_micro_batch_size_per_gpu\": 1,\n  \"gradient_accumulation_steps\": 8,\n  \"data-impl\": \"mmap\",\n  \"eval-interval\": 5_000,\n  \"eval-iters\": 10,\n  \"eval_batch_size\": 1,\n  \"eval_tasks\": [],\n\n  # activation checkpointing\n  \"checkpoint-activations\": true,\n  \"checkpoint-num-layers\": 40,\n  \"partition-activations\": true,\n  \"synchronize-each-layer\": true,\n\n  # regularization\n  \"gradient_clipping\": 0.75,\n  \"weight-decay\": 0.1,\n  \"hidden-dropout\": 0,\n  \"attention-dropout\": 0,\n\n  # precision settings\n  \"bf16\": { \"enabled\": true },\n  \"precision\": \"bfloat16\",\n  \"full_precision_lm_cross_entropy\": true,\n  \"fp32_allreduce\": true,\n\n  # misc. training settings\n  \"num-workers\": 2,\n  \"distributed-backend\": \"nccl\",\n\n  # checkpoint settings\n  \"checkpoint-factor\": 2_000,\n  \"s3_sync_interval\": 20_000,\n  \"extra-save-iters\": [0],\n  \"save\": \"\",\n  \"load\": \"\",\n  \"s3_path\": \"\",\n\n  \"train_data_paths\": [],\n  \"train_data_weights\": [],\n  \"valid-data-paths\": [\"minipile_validation_arcade100k_tokenized_text_document\"],\n  \"valid-data-weights\": [1.0,],\n  \"test-data-paths\": [\"minipile_validation_arcade100k_tokenized_text_document\"],\n  \"test-data-weights\": [1.0,],\n\n  # tokenizer settings\n  \"tokenizer-type\": \"TiktokenTokenizer\",\n  \"vocab-file\": \"arcade100k.tiktoken\",\n\n  \"log-interval\": 10,\n  \"steps_per_print\": 10,\n  \"wall_clock_breakdown\": true,\n\n  \"use_wandb\": true,\n  \"wandb_host\": \"https://stability.wandb.io\",\n  \"wandb_team\": \"stability-llm\",\n  \"wandb_project\": \"\",\n  \"wandb_group\": \"\",\n  \"wandb_name\": \"\",\n  # \"wandb_id\": \"\",\n  # \"wandb_resume\": \"must\",\n\n  # MuP\n  \"use-mup\": false,\n  \"save-base-shapes\": false, # this only needs to be enabled once in order to generate the base-shapes-file on each rank\n  \"base-shapes-file\": \"shapes/shapes_AR/shapes_32L/base-shapes\", # load base shapes from this file\n  \"coord-check\": false, # generate coord check plots to verify mup's implementation in neox\n\n  # multi-node launcher\n  \"launcher\": \"slurm\",\n  \"deepspeed_slurm\": true,\n\n  \"seed\": 2345678926,\n}\n"
  },
  {
    "path": "configs/stablelm-2-1_6b.yml",
    "content": "{\n  # parallelism settings\n  \"pipe-parallel-size\": 0,\n  \"model-parallel-size\": 1,\n\n  # model settings\n  \"num-layers\": 24,\n  \"hidden-size\": 2048,\n  \"num-attention-heads\": 32,\n  \"seq-length\": 4096,\n  \"max-position-embeddings\": 4096,\n\n  # architecture design\n  \"attention_head_type\": \"multihead\",\n  \"norm\": \"layernorm\",\n  \"pos-emb\": \"rotary\",\n  \"rotary_pct\": 0.25,\n  \"rotary_interleaved\": false,  # GPT-NeoX style\n  \"mlp_multiple_of\": 256,\n  \"mlp_type\": \"gated\",\n  \"activation\": \"silu\",\n  \"no-weight-tying\": true,\n  \"gpt_j_residual\": false,\n  \"gpt_j_tied\": false,\n  \"output_layer_parallelism\": \"column\",\n\n  # init methods\n  \"init_method\": \"normal\",\n  \"output_layer_init_method\": \"scaled_normal\",\n  \"init_method_std\": 0.02,\n\n  # biases\n  \"use_bias_in_norms\": false,\n  \"use_bias_in_attn_linear\": false,\n  \"use_bias_in_mlp\": false,\n\n  # fused ops\n  \"use_flash_cross_entropy\": true,\n  \"bias-gelu-fusion\": false,\n  \"scaled-upper-triang-masked-softmax-fusion\": false,\n  \"attention-config\": [[[\"flash\"], 24]],\n\n  # optimizer settings\n  \"optimizer\": {\n    \"type\": \"Adam\",\n    \"params\": {\n      \"lr\": 0.001,\n      \"betas\": [0.9, 0.95],\n      \"eps\": 1.0e-8,\n    }\n  },\n  \"min_lr\": 0.0001,\n  \"train-iters\": 540_000,\n  \"lr-decay-iters\": 540_000,\n  \"lr-decay-style\": \"hybrid_cosine_inv_sqrt_2\",\n  \"warmup\": 0.018,\n  \"cooldown\": 0.,\n\n  \"reset_attention_mask\": true,\n  \"reset_position_ids\": true,\n\n  # for all zero_optimization options, see https://www.deepspeed.ai/docs/config-json/#zero-optimizations-for-fp16-training\n  \"zero_optimization\": {\n    \"stage\": 1,\n    \"allgather_partitions\": true,\n    \"allgather_bucket_size\": 1260000000,\n    \"overlap_comm\": true,\n    \"reduce_scatter\": true,\n    \"reduce_bucket_size\": 1260000000,\n    \"contiguous_gradients\": true,\n    \"cpu_offload\": false,\n  },\n\n  # batch / data settings\n  \"train_micro_batch_size_per_gpu\": 2,\n  \"gradient_accumulation_steps\": 2,\n  \"data-impl\": \"mmap\",\n  \"eval-interval\": 500_000,\n  \"eval-iters\": 1,\n  \"eval_batch_size\": 1,\n  \"eval_tasks\": [],\n\n  # activation checkpointing\n  \"checkpoint-activations\": true,\n  \"checkpoint-num-layers\": 24,\n  \"partition-activations\": true,\n  \"synchronize-each-layer\": true,\n\n  # regularization\n  \"gradient_clipping\": 1,\n  \"weight-decay\": 0.1,\n  \"hidden-dropout\": 0.,\n  \"attention-dropout\": 0.,\n\n  # precision settings\n  \"bf16\": { \"enabled\": true },\n  \"precision\": \"bfloat16\",\n  \"full_precision_lm_cross_entropy\": true,\n  \"fp32_allreduce\": true,\n\n  # misc. training settings\n  \"num-workers\": 2,\n  \"distributed-backend\": \"nccl\",\n\n  # checkpoint settings\n  \"checkpoint-factor\": 2_000,\n  \"s3_sync_interval\": 20_000,\n  \"extra-save-iters\": [0],\n  \"save\": \"\",\n  \"load\": \"\",\n  \"s3_path\": \"\",\n\n  \"train_data_paths\": [],\n  \"train_data_weights\": [],\n  \"valid-data-paths\": [\"minipile_validation_arcade100k_tokenized_text_document\"],\n  \"valid-data-weights\": [1.0,],\n  \"test-data-paths\": [\"minipile_validation_arcade100k_tokenized_text_document\"],\n  \"test-data-weights\": [1.0,],\n\n  # tokenizer settings\n  \"tokenizer-type\": \"TiktokenTokenizer\",\n  \"vocab-file\": \"arcade100k.tiktoken\",\n\n  \"log-interval\": 10,\n  \"steps_per_print\": 10,\n  \"wall_clock_breakdown\": true,\n\n  \"use_wandb\": true,\n  \"wandb_host\": \"https://stability.wandb.io\",\n  \"wandb_team\": \"stability-llm\",\n  \"wandb_project\": \"\",\n  \"wandb_group\": \"\",\n  \"wandb_name\": \"\",\n  # \"wandb_id\": \"\",\n  # \"wandb_resume\": \"must\",\n\n  # MuP\n  \"use-mup\": false,\n  \"save-base-shapes\": false , # this only needs to be enabled once in order to generate the base-shapes-file on each rank\n  \"base-shapes-file\": \"mup-base-shapes-small-fixed/base-shapes-small\", # load base shapes from this file\n  \"coord-check\": false, # generate coord check plots to verify mup's implementation in neox\n\n  # multi-node launcher\n  \"launcher\": \"slurm\",\n  \"deepspeed_slurm\": true,\n\n  \"seed\": 1234\n}\n"
  },
  {
    "path": "configs/stablelm-3b-4e1t.yml",
    "content": "{\n  # parallelism settings\n  \"pipe-parallel-size\": 1,\n  \"model-parallel-size\": 1,\n\n  # model settings\n  \"num-layers\": 32,\n  \"hidden-size\": 2560,\n  \"num-attention-heads\": 32,\n  \"seq-length\": 4096,\n  \"max-position-embeddings\": 4096,\n\n  # architecture design\n  \"attention_head_type\": \"multihead\",\n  \"norm\": \"layernorm\",\n  \"pos-emb\": \"rotary\",\n  \"rotary_pct\": 0.25,\n  \"rotary_interleaved\": false,\n  \"mlp_multiple_of\": 256,\n  \"mlp_type\": \"gated\",\n  \"activation\": \"silu\",\n  \"no-weight-tying\": true,\n  \"gpt_j_residual\": false,\n  \"gpt_j_tied\": false,\n  \"output_layer_parallelism\": \"column\",\n\n  # init methods\n  \"output_layer_init_method\": \"scaled_normal\",\n\n  # biases\n  \"use_bias_in_norms\": true,\n  \"use_bias_in_attn_linear\": false,\n  \"use_bias_in_mlp\": false,\n\n  # fused ops\n  \"attention-config\": [[[\"flash\"], 32]],\n\n  # optimizer settings\n  \"optimizer\": {\n    \"type\": \"Adam\",\n    \"params\": {\n      \"lr\": 3.2e-4,\n      \"betas\": [0.9, 0.95],\n      \"eps\": 1.0e-6\n    },\n  },\n  \"min_lr\": 1.28e-5,  # Decay to 4% of lr\n  # 955_000 iters ~= 4.0T tokens at bs=4M\n  \"train-iters\": 955_000,\n  \"lr-decay-iters\": 955_000,\n  \"lr-decay-style\": \"cosine\",\n  \"warmup\": 0.005,  # ~5k warmup steps\n\n  # ZeRO settings\n  \"zero_optimization\": {\n    \"stage\": 1,\n    \"allgather_partitions\": true,\n    \"allgather_bucket_size\": 1260000000,\n    \"overlap_comm\": true,\n    \"reduce_scatter\": true,\n    \"reduce_bucket_size\": 1260000000,\n    \"contiguous_gradients\": true,\n    \"cpu_offload\": false,\n  },\n\n  # batch / data settings\n  \"train_micro_batch_size_per_gpu\": 4,\n  \"gradient_accumulation_steps\": 1,\n  \"data-impl\": \"mmap\",\n  \"eval-interval\": 5_000,\n  \"eval-iters\": 10,\n  \"eval_batch_size\": 8,\n  \"eval_tasks\": [],\n\n  # activation checkpointing\n  \"checkpoint-activations\": true,\n  \"checkpoint-num-layers\": 1,\n  \"partition-activations\": true,\n  \"synchronize-each-layer\": true,\n\n  # regularization\n  \"gradient_clipping\": 1.0,\n  \"weight-decay\": 0.1,\n  \"hidden-dropout\": 0,\n  \"attention-dropout\": 0,\n\n  # precision settings\n  \"bf16\": { \"enabled\": true },\n  \"precision\": \"bfloat16\",\n  \"full_precision_lm_cross_entropy\": true,\n\n  # misc. training settings\n  \"num-workers\": 2,\n  \"distributed-backend\": \"nccl\",\n\n  # checkpoint settings\n  \"checkpoint-factor\": 2_000,\n  \"s3_sync_interval\": 10_000,\n  \"extra-save-iters\": [0],\n  \"save\": \"\",\n  \"load\": \"\",\n  \"s3_path\": \"\",\n\n  # data path settings\n  \"train-data-paths\": [],\n  \"train-data-weights\": [],\n  \"valid-data-paths\": [],\n  \"valid-data-weights\": [],\n  \"test-data-paths\": [],\n  \"test-data-weights\": [],\n\n  # tokenizer settings\n  \"tokenizer-type\": \"HFTokenizer\",\n  \"vocab-file\": \"neox-tokenizer-vocab.json\",\n\n  # log settings\n  \"log-interval\": 10,\n  \"steps_per_print\": 10,\n  \"wall_clock_breakdown\": true,\n\n  \"use_wandb\": true,\n  \"wandb_host\": \"\",\n  \"wandb_team\": \"\",\n  \"wandb_project\": \"\",\n  \"wandb_group\": \"\",\n  \"wandb_name\": \"\",\n  # \"wandb_id\": \"\",\n  # \"wandb_resume\": \"\",\n\n  # multi-node launcher\n  \"launcher\": \"slurm\",\n  \"deepspeed_slurm\": true,\n}"
  },
  {
    "path": "configs/stablelm-base-alpha-3b-v2-4k-extension.yml",
    "content": "{\n  # parallelism settings\n  \"pipe-parallel-size\": 1,\n  \"model-parallel-size\": 2,\n\n  # model settings\n  \"num-layers\": 32,\n  \"hidden-size\": 2560,\n  \"num-attention-heads\": 32,\n  \"seq-length\": 4096,\n  \"max-position-embeddings\": 4096,\n\n  # architecture design\n  \"attention_head_type\": \"multihead\",\n  \"norm\": \"layernorm\",\n  \"pos-emb\": \"rotary\",\n  \"rotary_pct\": 0.25,\n  \"rotary_interleaved\": false,  # GPT-NeoX style\n  # NOTE: Linear Position Scaling degrades sample quality after 10B tokens - do not use yet.\n  # \"rotary_scaling_factor\": 2,  # 2048 -> 4096\n  \"mlp_multiple_of\": 256,\n  \"mlp_type\": \"gated\",\n  \"activation\": \"silu\",\n  \"no-weight-tying\": true,\n  \"gpt_j_residual\": true,\n  \"gpt_j_tied\": true,\n  \"output_layer_parallelism\": \"column\",\n\n  # biases\n  \"use_bias_in_norms\": true,\n  \"use_bias_in_attn_linear\": false,\n  \"use_bias_in_mlp\": false,\n\n  # fused ops\n  \"bias-gelu-fusion\": false,\n  \"scaled-upper-triang-masked-softmax-fusion\": true,\n  \"attention-config\": [[[\"flash\"], 32]],\n\n  # optimizer settings\n  \"optimizer\": {\n    \"type\": \"Adam\",\n    \"params\": {\n      \"lr\": 2.8e-5,\n      \"betas\": [0.9, 0.95],\n      \"eps\": 1.0e-6\n    },\n  },\n  \"min_lr\": 2.8e-6,\n  \"train-iters\": 50_000,\n  \"lr-decay-iters\": 50_000,\n  \"lr-decay-style\": \"cosine\",\n  \"warmup\": 0.00,\n\n  # for all zero_optimization options, see https://www.deepspeed.ai/docs/config-json/#zero-optimizations-for-fp16-training\n  \"zero_optimization\": {\n    \"stage\": 1,\n    \"allgather_partitions\": true,\n    \"allgather_bucket_size\": 1260000000,\n    \"overlap_comm\": true,\n    \"reduce_scatter\": true,\n    \"reduce_bucket_size\": 1260000000,\n    \"contiguous_gradients\": true,\n    \"cpu_offload\": false,\n  },\n\n  # batch / data settings\n  \"train_micro_batch_size_per_gpu\": 4,\n  \"gradient_accumulation_steps\": 1,\n  \"data-impl\": \"mmap\",\n  \"eval-interval\": 1_000,\n  \"eval-iters\": 10,\n  \"eval_batch_size\": 8,\n  \"eval_tasks\": [\"lambada_openai\", \"piqa\"],\n\n  # activation checkpointing\n  \"checkpoint-activations\": true,\n  \"checkpoint-num-layers\": 1,\n  \"partition-activations\": true,\n  \"synchronize-each-layer\": true,\n\n  # regularization\n  \"gradient_clipping\": 1.0,\n  \"weight-decay\": 0.0001,\n  \"hidden-dropout\": 0,\n  \"attention-dropout\": 0,\n\n  # precision settings\n  \"fp16\": {\n    \"fp16\": true,\n    \"enabled\": true,\n    \"loss_scale\": 0,\n    \"loss_scale_window\": 1000,\n    \"initial_scale_power\": 12,\n    \"hysteresis\": 2,\n    \"min_loss_scale\": 1e-10\n  },\n  \"full_precision_lm_cross_entropy\": true,\n\n  # misc. training settings\n  \"num-workers\": 1,\n  \"distributed-backend\": \"nccl\",\n\n  # checkpoint settings\n  \"checkpoint-factor\": 2_000,\n  \"save\": \"\",\n  \"load\": \"\",\n  \"s3_path\": \"\",\n  \"iteration\": 245_000,\n  \"finetune\": true,\n  \"no_checkpoint_arg_validation\": true,\n  \"override_lr_scheduler\": true,\n\n  # data path settings\n  \"train-data-paths\": [\"\"],\n  \"train-data-weights\": [1.0],\n  \"valid-data-paths\": [\"\"],\n  \"valid-data-weights\": [1.0],\n  \"test-data-paths\": [\"\"],\n  \"test-data-weights\": [1.0],\n\n  # tokenizer settings\n  \"tokenizer-type\": \"HFTokenizer\",\n  \"vocab-file\": \"neox-tokenizer-vocab.json\",\n\n  # log settings\n  \"log-interval\": 10,\n  \"steps_per_print\": 10,\n  \"wall_clock_breakdown\": true,\n\n  \"use_wandb\": true,\n  \"wandb_host\": \"\",\n  \"wandb_team\": \"\",\n  \"wandb_project\": \"\",\n  \"wandb_group\": \"7B\",\n  \"wandb_name\": \"stablelm-base-alpha-7b-v2-4k-finetune\",\n  # \"wandb_id\": \"\",\n  # \"wandb_resume\": \"must\",\n\n  # multi-node launcher\n  \"launcher\": \"slurm\",\n  \"deepspeed_slurm\": true,\n}"
  },
  {
    "path": "configs/stablelm-base-alpha-3b-v2.yml",
    "content": "{\n  # parallelism settings\n  \"pipe-parallel-size\": 1,\n  \"model-parallel-size\": 2,\n\n  # model settings\n  \"num-layers\": 32,\n  \"hidden-size\": 2560,\n  \"num-attention-heads\": 32,\n  \"seq-length\": 2048,\n  \"max-position-embeddings\": 2048,\n\n  # architecture design\n  \"attention_head_type\": \"multihead\",\n  \"norm\": \"layernorm\",\n  \"pos-emb\": \"rotary\",\n  \"rotary_pct\": 0.25,\n  \"rotary_interleaved\": false,  # GPT-NeoX style\n  \"mlp_multiple_of\": 256,\n  \"mlp_type\": \"gated\",\n  \"activation\": \"silu\",\n  \"no-weight-tying\": true,\n  \"gpt_j_residual\": true,\n  \"gpt_j_tied\": true,\n  \"output_layer_parallelism\": \"column\",\n\n  # biases\n  \"use_bias_in_norms\": true,\n  \"use_bias_in_attn_linear\": false,\n  \"use_bias_in_mlp\": false,\n\n  # fused ops\n  \"bias-gelu-fusion\": false,\n  \"scaled-upper-triang-masked-softmax-fusion\": true,\n  \"attention-config\": [[[\"flash\"], 32]],\n\n  # optimizer settings\n  \"optimizer\": {\n    \"type\": \"Adam\",\n    \"params\": {\n      \"lr\": 3.2e-4,\n      \"betas\": [0.9, 0.95],\n      \"eps\": 1.0e-6\n    },\n  },\n  \"min_lr\": 3.2e-5,\n  \"train-iters\": 245_000,\n  \"lr-decay-iters\": 245_000,\n  \"lr-decay-style\": \"cosine\",\n  \"warmup\": 0.01,\n\n  # for all zero_optimization options, see https://www.deepspeed.ai/docs/config-json/#zero-optimizations-for-fp16-training\n  \"zero_optimization\": {\n    \"stage\": 1,\n    \"allgather_partitions\": true,\n    \"allgather_bucket_size\": 1260000000,\n    \"overlap_comm\": true,\n    \"reduce_scatter\": true,\n    \"reduce_bucket_size\": 1260000000,\n    \"contiguous_gradients\": true,\n    \"cpu_offload\": false,\n  },\n\n  # batch / data settings\n  \"train_micro_batch_size_per_gpu\": 16,\n  \"gradient_accumulation_steps\": 1,\n  \"data-impl\": \"mmap\",\n  \"eval-interval\": 10_000,\n  \"eval-iters\": 10,\n  \"eval_batch_size\": 4,\n  \"eval_tasks\": [\"lambada_openai\", \"piqa\"],\n\n  # activation checkpointing\n  \"checkpoint-activations\": true,\n  \"checkpoint-num-layers\": 1,\n  \"partition-activations\": true,\n  \"synchronize-each-layer\": true,\n\n  # regularization\n  \"gradient_clipping\": 1.0,\n  \"weight-decay\": 0.1,\n  \"hidden-dropout\": 0,\n  \"attention-dropout\": 0,\n\n  # precision settings\n  \"fp16\": {\n    \"fp16\": true,\n    \"enabled\": true,\n    \"loss_scale\": 0,\n    # NOTE: Mid-training divergence required a loss scale of 1e-10\n    # \"loss_scale_window\": 1000,\n    # \"initial_scale_power\": 12,\n    # \"hysteresis\": 2,\n    # \"min_loss_scale\": 1\n    \"loss_scale_window\": 1000,\n    \"initial_scale_power\": 12,\n    \"hysteresis\": 2,\n    \"min_loss_scale\": 1e-10\n  },\n  \"full_precision_lm_cross_entropy\": true,\n\n  # misc. training settings\n  \"num-workers\": 1,\n  \"distributed-backend\": \"nccl\",\n\n  # checkpoint settings\n  \"checkpoint-factor\": 2_000,\n  \"save\": \"\",\n  \"load\": \"\",\n  \"s3_path\": \"\",\n\n  # data path settings\n  \"train-data-paths\": [\"\"],\n  \"train-data-weights\": [1.0],\n  \"valid-data-paths\": [\"\"],\n  \"valid-data-weights\": [1.0],\n  \"test-data-paths\": [\"\"],\n  \"test-data-weights\": [1.0],\n\n  # tokenizer settings\n  \"tokenizer-type\": \"HFTokenizer\",\n  \"vocab-file\": \"neox-tokenizer-vocab.json\",\n\n  # log settings\n  \"log-interval\": 10,\n  \"steps_per_print\": 10,\n  \"wall_clock_breakdown\": true,\n\n  \"use_wandb\": true,\n  \"wandb_host\": \"\",\n  \"wandb_team\": \"\",\n  \"wandb_project\": \"\",\n  \"wandb_group\": \"3B\",\n  \"wandb_name\": \"stablelm-base-alpha-3b-v2\",\n  # \"wandb_id\": \"\",\n  # \"wandb_resume\": \"must\",\n\n  # multi-node launcher\n  \"launcher\": \"slurm\",\n  \"deepspeed_slurm\": true,\n}"
  },
  {
    "path": "configs/stablelm-base-alpha-3b.yml",
    "content": "{\n  # parallelism settings\n  \"pipe-parallel-size\": 1,\n  \"model-parallel-size\": 4,\n\n  # model settings\n  \"num-layers\": 16,\n  \"hidden-size\": 4096,\n  \"num-attention-heads\": 32,\n  \"seq-length\": 4096,\n  \"max-position-embeddings\": 4096,\n\n  # architecture design\n  \"norm\": \"layernorm\",\n  \"pos-emb\": \"rotary\",\n  \"rotary_pct\": 0.25,\n  \"activation\": \"gelu\",\n  \"no-weight-tying\": true,\n  \"gpt_j_residual\": true,\n  \"output_layer_parallelism\": \"column\",\n\n  # init methods\n  \"init_method\": \"small_init\",\n  \"output_layer_init_method\": \"wang_init\",\n\n  # fused ops\n  \"scaled-upper-triang-masked-softmax-fusion\": true,\n  \"bias-gelu-fusion\": true,\n  \"attention-config\": [[[\"flash\"], 16]],\n\n  # optimizer settings\n  \"optimizer\": {\n    \"type\": \"Adam\",\n    \"params\": {\n      \"lr\": 1.6e-4,\n      \"betas\": [0.9, 0.9999],\n      \"eps\": 1.0e-6\n    },\n  },\n  \"min_lr\": 1.6e-5,\n\n  # for all zero_optimization options, see https://www.deepspeed.ai/docs/config-json/#zero-optimizations-for-fp16-training\n  \"zero_optimization\": {\n    \"stage\": 1,\n    \"allgather_partitions\": true,\n    \"allgather_bucket_size\": 1260000000,\n    \"overlap_comm\": true,\n    \"reduce_scatter\": true,\n    \"reduce_bucket_size\": 1260000000,\n    \"contiguous_gradients\": true,\n    \"cpu_offload\": false,\n  },\n\n  # batch / data settings\n  \"train_micro_batch_size_per_gpu\": 32,\n  \"gradient_accumulation_steps\": 1,\n  \"eval_batch_size\": 2,\n  \"data-impl\": \"mmap\",\n\n  # activation checkpointing\n  \"checkpoint-activations\": true,\n  \"checkpoint-num-layers\": 1,\n  \"partition-activations\": true,\n  \"synchronize-each-layer\": true,\n\n  # regularization\n  \"gradient_clipping\": 1.0,\n  \"weight-decay\": 0.1,\n  \"hidden-dropout\": 0,\n  \"attention-dropout\": 0,\n\n  # precision settings\n  \"fp16\": {\n    \"fp16\": true,\n    \"enabled\": true,\n    \"loss_scale_window\": 1000,\n    \"initial_scale_power\": 12,\n    \"hysteresis\": 20,\n    \"min_loss_scale\": 1,\n  },\n\n  # misc. training settings\n  \"train-iters\": 180000,\n  \"lr-decay-iters\": 180000,\n  \"distributed-backend\": \"nccl\",\n  \"lr-decay-style\": \"cosine\",\n  \"warmup\": 0.01,\n  \"checkpoint-factor\": 1000,\n  # 1 more than checkpoint-factor to avoid skipping evals if `evaluate` fails\n  \"eval-interval\": 1001, \n  \"eval-iters\": 10,\n  \"eval_tasks\": [\"piqa\", \"sciq\", \"lambada_openai\"], \n\n  # checkpoint settings\n  \"iteration\": 84000,\n  \"save\": \"PATH_TO_SAVE_THE_MODEL\",\n  \"load\": \"PATH_TO_LOAD_THE_MODEL\",\n\n  # data settings\n  \"train-data-paths\": [],\n  \"train-data-weights\": [0.03, 0.02, 3.5, 13.87, 30.88, 0.34, 0.03, 0.1, 0.01, 0.5, 0.25, 0.25, 0.11, 1, 0.1, 0.5, 0.6, 0.19, 0.05, 2, 3.5, 4.15, 5.75, 3.17, 3.44, 3.49, 3, 6, 0.02, 2, 0.01, 3.95, 0.05, 1.09, 6.05],\n  \"valid-data-paths\": [],\n  \"valid-data-weights\": [0.03, 0.02, 3.5, 13.87, 30.88, 0.34, 0.03, 0.1, 0.01, 0.5, 0.25, 0.25, 0.11, 1, 0.1, 0.5, 0.6, 0.19, 0.05, 2, 3.5, 4.15, 5.75, 3.17, 3.44, 3.49, 3, 6, 0.02, 2, 0.01, 3.95, 0.05, 1.09, 6.05],\n  \"test-data-paths\": [],\n  \"test-data-weights\": [0.03, 0.02, 3.5, 13.87, 30.88, 0.34, 0.03, 0.1, 0.01, 0.5, 0.25, 0.25, 0.11, 1, 0.1, 0.5, 0.6, 0.19, 0.05, 2, 3.5, 4.15, 5.75, 3.17, 3.44, 3.49, 3, 6, 0.02, 2, 0.01, 3.95, 0.05, 1.09, 6.05],\n\n  # tokenizer settings\n  \"tokenizer-type\": \"HFTokenizer\",\n  \"vocab-file\": \"/pile/20B_tokenizer.json\",\n\n  # log settings\n  \"log-interval\": 10,\n  \"steps_per_print\": 10,\n  \"wall_clock_breakdown\": true,\n  \"log-grad-norm\": true,\n\n  \"use_wandb\": true,\n  \"wandb_host\": \"\",\n  \"wandb_team\": \"\",\n  \"wandb_project\": \"\",\n  \"wandb_group\": \"\",\n  \"wandb_name\": \"\",\n\n  # multi-node launcher\n  \"launcher\": \"slurm\",\n  \"deepspeed_slurm\": true\n}\n"
  },
  {
    "path": "configs/stablelm-base-alpha-7b-v2-4k-extension.yml",
    "content": "{\n  # parallelism settings\n  \"pipe-parallel-size\": 1,\n  \"model-parallel-size\": 2,\n\n  # model settings\n  \"num-layers\": 32,\n  \"hidden-size\": 4096,\n  \"num-attention-heads\": 32,\n  \"seq-length\": 4096,\n  \"max-position-embeddings\": 4096,\n\n  # architecture design\n  \"attention_head_type\": \"multihead\",\n  \"norm\": \"layernorm\",\n  \"pos-emb\": \"rotary\",\n  \"rotary_pct\": 0.25,\n  \"rotary_interleaved\": false,  # GPT-NeoX style\n  # NOTE: Linear Position Scaling degrades sample quality after 10B tokens - do not use yet.\n  # \"rotary_scaling_factor\": 2,  # 2048 -> 4096\n  \"mlp_multiple_of\": 256,\n  \"mlp_type\": \"gated\",\n  \"activation\": \"silu\",\n  \"no-weight-tying\": true,\n  \"gpt_j_residual\": true,\n  \"gpt_j_tied\": true,\n  \"output_layer_parallelism\": \"column\",\n\n  # biases\n  \"use_bias_in_norms\": true,\n  \"use_bias_in_attn_linear\": false,\n  \"use_bias_in_mlp\": false,\n\n  # fused ops\n  \"bias-gelu-fusion\": false,\n  \"scaled-upper-triang-masked-softmax-fusion\": true,\n  \"attention-config\": [[[\"flash\"], 32]],\n\n  # optimizer settings\n  \"optimizer\": {\n    \"type\": \"Adam\",\n    \"params\": {\n      \"lr\": 2.2e-5,\n      \"betas\": [0.9, 0.95],\n      \"eps\": 1.0e-6\n    },\n  },\n  \"min_lr\": 2.2e-6,\n  \"train-iters\": 45_000,\n  \"lr-decay-iters\": 45_000,\n  \"lr-decay-style\": \"cosine\",\n  \"warmup\": 0.00,\n\n  # for all zero_optimization options, see https://www.deepspeed.ai/docs/config-json/#zero-optimizations-for-fp16-training\n  \"zero_optimization\": {\n    \"stage\": 1,\n    \"allgather_partitions\": true,\n    \"allgather_bucket_size\": 1260000000,\n    \"overlap_comm\": true,\n    \"reduce_scatter\": true,\n    \"reduce_bucket_size\": 1260000000,\n    \"contiguous_gradients\": true,\n    \"cpu_offload\": false,\n  },\n\n  # batch / data settings\n  \"train_micro_batch_size_per_gpu\": 3,\n  \"gradient_accumulation_steps\": 1,\n  \"data-impl\": \"mmap\",\n  \"eval-interval\": 4_000,\n  \"eval-iters\": 10,\n  \"eval_batch_size\": 2,\n  \"eval_tasks\": [\"lambada_openai\", \"piqa\"],\n\n  # activation checkpointing\n  \"checkpoint-activations\": true,\n  \"checkpoint-num-layers\": 1,\n  \"partition-activations\": true,\n  \"synchronize-each-layer\": true,\n\n  # regularization\n  \"gradient_clipping\": 1.0,\n  \"weight-decay\": 0.01,\n  \"hidden-dropout\": 0,\n  \"attention-dropout\": 0,\n\n  # precision settings\n  \"fp16\": {\n    \"fp16\": true,\n    \"enabled\": true,\n    \"loss_scale\": 0,\n    \"loss_scale_window\": 1000,\n    \"initial_scale_power\": 12,\n    \"hysteresis\": 2,\n    \"min_loss_scale\": 1e-12\n  },\n  \"full_precision_lm_cross_entropy\": true,\n\n  # misc. training settings\n  \"num-workers\": 1,\n  \"distributed-backend\": \"nccl\",\n\n  # checkpoint settings\n  \"checkpoint-factor\": 2_000,\n  \"save\": \"\",\n  \"load\": \"\",\n  \"s3_path\": \"\",\n  \"iteration\": 245_000,\n  \"finetune\": true,\n  \"no_checkpoint_arg_validation\": true,\n  \"override_lr_scheduler\": true,\n\n  # data path settings\n  \"train-data-paths\": [\"\"],\n  \"train-data-weights\": [1.0],\n  \"valid-data-paths\": [\"\"],\n  \"valid-data-weights\": [1.0],\n  \"test-data-paths\": [\"\"],\n  \"test-data-weights\": [1.0],\n\n  # tokenizer settings\n  \"tokenizer-type\": \"HFTokenizer\",\n  \"vocab-file\": \"neox-tokenizer-vocab.json\",\n\n  # log settings\n  \"log-interval\": 10,\n  \"steps_per_print\": 10,\n  \"wall_clock_breakdown\": true,\n\n  \"use_wandb\": true,\n  \"wandb_host\": \"\",\n  \"wandb_team\": \"\",\n  \"wandb_project\": \"\",\n  \"wandb_group\": \"7B\",\n  \"wandb_name\": \"stablelm-base-alpha-7b-v2-4k-finetune\",\n  # \"wandb_id\": \"\",\n  # \"wandb_resume\": \"must\",\n\n  # multi-node launcher\n  \"launcher\": \"slurm\",\n  \"deepspeed_slurm\": true,\n}"
  },
  {
    "path": "configs/stablelm-base-alpha-7b-v2.yml",
    "content": "{\n  # parallelism settings\n  \"pipe-parallel-size\": 1,\n  \"model-parallel-size\": 2,\n\n  # model settings\n  \"num-layers\": 32,\n  \"hidden-size\": 4096,\n  \"num-attention-heads\": 32,\n  \"seq-length\": 2048,\n  \"max-position-embeddings\": 2048,\n\n  # architecture design\n  \"attention_head_type\": \"multihead\",\n  \"norm\": \"layernorm\",\n  \"pos-emb\": \"rotary\",\n  \"rotary_pct\": 0.25,\n  \"rotary_interleaved\": false,  # GPT-NeoX style\n  \"mlp_multiple_of\": 256,\n  \"mlp_type\": \"gated\",\n  \"activation\": \"silu\",\n  \"no-weight-tying\": true,\n  \"gpt_j_residual\": true,\n  \"gpt_j_tied\": true,\n  \"output_layer_parallelism\": \"column\",\n\n  # biases\n  \"use_bias_in_norms\": true,\n  \"use_bias_in_attn_linear\": false,\n  \"use_bias_in_mlp\": false,\n\n  # fused ops\n  \"bias-gelu-fusion\": false,\n  \"scaled-upper-triang-masked-softmax-fusion\": true,\n  \"attention-config\": [[[\"flash\"], 32]],\n\n  # optimizer settings\n  \"optimizer\": {\n    \"type\": \"Adam\",\n    \"params\": {\n      \"lr\": 3.0e-4,\n      \"betas\": [0.9, 0.95],\n      \"eps\": 1.0e-6\n    },\n  },\n  \"min_lr\": 3.0e-5,\n  \"train-iters\": 245_000,\n  \"lr-decay-iters\": 245_000,\n  \"lr-decay-style\": \"cosine\",\n  \"warmup\": 0.01,\n\n  # for all zero_optimization options, see https://www.deepspeed.ai/docs/config-json/#zero-optimizations-for-fp16-training\n  \"zero_optimization\": {\n    \"stage\": 1,\n    \"allgather_partitions\": true,\n    \"allgather_bucket_size\": 1260000000,\n    \"overlap_comm\": true,\n    \"reduce_scatter\": true,\n    \"reduce_bucket_size\": 1260000000,\n    \"contiguous_gradients\": true,\n    \"cpu_offload\": false,\n  },\n\n  # batch / data settings\n  \"train_micro_batch_size_per_gpu\": 12,\n  \"gradient_accumulation_steps\": 1,\n  \"data-impl\": \"mmap\",\n  \"eval-interval\": 10_000,\n  \"eval-iters\": 10,\n  \"eval_batch_size\": 2,\n  \"eval_tasks\": [\"lambada_openai\", \"piqa\"],\n\n  # activation checkpointing\n  \"checkpoint-activations\": true,\n  \"checkpoint-num-layers\": 1,\n  \"partition-activations\": true,\n  \"synchronize-each-layer\": true,\n\n  # regularization\n  \"gradient_clipping\": 1.0,\n  \"weight-decay\": 0.1,\n  \"hidden-dropout\": 0,\n  \"attention-dropout\": 0,\n\n  # precision settings\n  \"fp16\": {\n    \"fp16\": true,\n    \"enabled\": true,\n    \"loss_scale\": 0,\n    \"loss_scale_window\": 1000,\n    \"initial_scale_power\": 12,\n    \"hysteresis\": 2,\n    \"min_loss_scale\": 1e-12\n  },\n  \"full_precision_lm_cross_entropy\": true,\n\n  # misc. training settings\n  \"num-workers\": 1,\n  \"distributed-backend\": \"nccl\",\n\n  # checkpoint settings\n  \"checkpoint-factor\": 2_000,\n  \"save\": \"\",\n  \"load\": \"\",\n  \"s3_path\": \"\",\n\n  # data path settings\n  \"train-data-paths\": [\"\"],\n  \"train-data-weights\": [1.0],\n  \"valid-data-paths\": [\"\"],\n  \"valid-data-weights\": [1.0],\n  \"test-data-paths\": [\"\"],\n  \"test-data-weights\": [1.0],\n\n  # tokenizer settings\n  \"tokenizer-type\": \"HFTokenizer\",\n  \"vocab-file\": \"neox-tokenizer-vocab.json\",\n\n  # log settings\n  \"log-interval\": 10,\n  \"steps_per_print\": 10,\n  \"wall_clock_breakdown\": true,\n\n  \"use_wandb\": true,\n  \"wandb_host\": \"\",\n  \"wandb_team\": \"\",\n  \"wandb_project\": \"\",\n  \"wandb_group\": \"7B\",\n  \"wandb_name\": \"stablelm-base-alpha-7b-v2\",\n  # \"wandb_id\": \"\",\n  # \"wandb_resume\": \"must\",\n\n  # multi-node launcher\n  \"launcher\": \"slurm\",\n  \"deepspeed_slurm\": true,\n}"
  },
  {
    "path": "configs/stablelm-base-alpha-7b.yml",
    "content": "{\n  # parallelism settings\n  \"pipe-parallel-size\": 1,\n  \"model-parallel-size\": 2,\n\n  # model settings\n  \"num-layers\": 16,\n  \"hidden-size\": 6144,\n  \"num-attention-heads\": 48,\n  \"seq-length\": 4096,\n  \"max-position-embeddings\": 4096,\n\n  # architecture design\n  \"norm\": \"layernorm\",\n  \"pos-emb\": \"rotary\",\n  \"rotary_pct\": 0.25,\n  \"activation\": \"gelu\",\n  \"no-weight-tying\": true,\n  \"gpt_j_residual\": true,\n  \"output_layer_parallelism\": \"column\",\n\n  # init methods\n  \"init_method\": \"small_init\",\n  \"output_layer_init_method\": \"wang_init\",\n\n  # fused ops\n  \"scaled-upper-triang-masked-softmax-fusion\": true,\n  \"bias-gelu-fusion\": true,\n  \"attention-config\": [[[\"flash\"], 16]],\n\n  # optimizer settings\n  \"optimizer\": {\n    \"type\": \"Adam\",\n    \"params\": {\n      \"lr\": 1.5e-4,\n      \"betas\": [0.9, 0.95],\n      \"eps\": 1.0e-8\n    },\n  },\n  \"min_lr\": 1.5e-5,\n\n  # for all zero_optimization options, see https://www.deepspeed.ai/docs/config-json/#zero-optimizations-for-fp16-training\n  \"zero_optimization\": {\n    \"stage\": 1,\n    \"allgather_partitions\": true,\n    \"allgather_bucket_size\": 1260000000,\n    \"overlap_comm\": true,\n    \"reduce_scatter\": true,\n    \"reduce_bucket_size\": 1260000000,\n    \"contiguous_gradients\": true,\n  },\n\n  # batch / data settings\n  \"train_micro_batch_size_per_gpu\": 8,\n  \"gradient_accumulation_steps\": 1,\n  \"eval_batch_size\": 1,\n  \"data-impl\": \"mmap\",\n\n  # activation checkpointing\n  \"checkpoint-activations\": true,\n  \"checkpoint-num-layers\": 1,\n  \"partition-activations\": true,\n  \"synchronize-each-layer\": true,\n\n  # regularization\n  \"gradient_clipping\": 1.0,\n  \"weight-decay\": 0.1,\n  \"hidden-dropout\": 0,\n  \"attention-dropout\": 0,\n\n  # precision settings\n  \"fp16\": {\n    \"fp16\": true,\n    \"enabled\": true,\n    \"loss_scale\": 0,\n    \"loss_scale_window\": 1000,\n    \"initial_scale_power\": 12,\n    \"hysteresis\": 2,\n    \"min_loss_scale\": 1,\n  },\n\n  # misc. training settings\n  \"train-iters\": 180000,\n  \"lr-decay-iters\": 180000,\n  \"distributed-backend\": \"nccl\",\n  \"lr-decay-style\": \"cosine\",\n  \"warmup\": 0.01,\n  \"checkpoint-factor\": 1000,\n  # 1 more than checkpoint-factor to avoid skipping evals if `evaluate` fails\n  \"eval-interval\": 1001,\n  \"eval-iters\": 10,\n  \"eval_tasks\": [\"piqa\", \"sciq\", \"lambada_openai\"],\n\n  # checkpoint settings\n  \"iteration\": 0,\n  \"save\": \"\",\n  \"load\": \"\",\n\n  # data settings\n  \"train-data-paths\": [],\n  \"train-data-weights\": [0.03, 0.02, 3.5, 13.87, 30.88, 0.34, 0.03, 0.1, 0.01, 0.5, 0.25, 0.25, 0.11, 1, 0.1, 0.5, 0.6, 0.19, 0.05, 2, 3.5, 4.15, 5.75, 3.17, 3.44, 3.49, 3, 6, 0.02, 2, 0.01, 3.95, 0.05, 1.09, 6.05],\n  \"valid-data-paths\": [],\n  \"valid-data-weights\": [0.03, 0.02, 3.5, 13.87, 30.88, 0.34, 0.03, 0.1, 0.01, 0.5, 0.25, 0.25, 0.11, 1, 0.1, 0.5, 0.6, 0.19, 0.05, 2, 3.5, 4.15, 5.75, 3.17, 3.44, 3.49, 3, 6, 0.02, 2, 0.01, 3.95, 0.05, 1.09, 6.05],\n  \"test-data-paths\": [],\n  \"test-data-weights\": [0.03, 0.02, 3.5, 13.87, 30.88, 0.34, 0.03, 0.1, 0.01, 0.5, 0.25, 0.25, 0.11, 1, 0.1, 0.5, 0.6, 0.19, 0.05, 2, 3.5, 4.15, 5.75, 3.17, 3.44, 3.49, 3, 6, 0.02, 2, 0.01, 3.95, 0.05, 1.09, 6.05],\n\n  # tokenizer settings\n  \"tokenizer-type\": \"HFTokenizer\",\n  \"vocab-file\": \"/pile/20B_tokenizer.json\",\n\n  # log settings\n  \"log-interval\": 10,\n  \"steps_per_print\": 10,\n  \"wall_clock_breakdown\": true,\n\n  \"use_wandb\": true,\n  \"wandb_host\": \"\",\n  \"wandb_team\": \"\",\n  \"wandb_project\": \"\",\n  \"wandb_group\": \"\",\n  \"wandb_name\": \"\",\n\n  # multi-node launcher\n  \"launcher\": \"slurm\",\n  \"deepspeed_slurm\": true\n}\n"
  },
  {
    "path": "evals/external/EleutherAI-pythia-2.8b-deduped.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.30119453924914674,\n            \"acc_stderr\": 0.013406741767847626,\n            \"acc_norm\": 0.3293515358361775,\n            \"acc_norm_stderr\": 0.013734057652635474\n        },\n        \"arc_easy\": {\n            \"acc\": 0.6346801346801347,\n            \"acc_stderr\": 0.009880576614806924,\n            \"acc_norm\": 0.5909090909090909,\n            \"acc_norm_stderr\": 0.010088775152615782\n        },\n        \"boolq\": {\n            \"acc\": 0.6412844036697247,\n            \"acc_stderr\": 0.008388668034059405\n        },\n        \"hellaswag\": {\n            \"acc\": 0.45429197371041624,\n            \"acc_stderr\": 0.004968888130290072,\n            \"acc_norm\": 0.5944035052778331,\n            \"acc_norm_stderr\": 0.004900036261309038\n        },\n        \"lambada_openai\": {\n            \"ppl\": 5.00138268807375,\n            \"ppl_stderr\": 0.11803810628354432,\n            \"acc\": 0.6514651659227635,\n            \"acc_stderr\": 0.0066386652033128745\n        },\n        \"openbookqa\": {\n            \"acc\": 0.238,\n            \"acc_stderr\": 0.019064072958198446,\n            \"acc_norm\": 0.348,\n            \"acc_norm_stderr\": 0.02132372863280751\n        },\n        \"piqa\": {\n            \"acc\": 0.7410228509249184,\n            \"acc_stderr\": 0.0102209660314056,\n            \"acc_norm\": 0.7404787812840044,\n            \"acc_norm_stderr\": 0.010227939888173923\n        },\n        \"sciq\": {\n            \"acc\": 0.882,\n            \"acc_stderr\": 0.010206869264381791,\n            \"acc_norm\": 0.832,\n            \"acc_norm_stderr\": 0.011828605831454262\n        },\n        \"siqa\": {\n            \"acc\": 0.4094165813715456,\n            \"acc_stderr\": 0.011126849576589028,\n            \"acc_norm\": 0.44319344933469806,\n            \"acc_norm_stderr\": 0.011240812731564954\n        },\n        \"truthfulqa_mc\": {\n            \"mc1\": 0.2141982864137087,\n            \"mc1_stderr\": 0.014362148155690466,\n            \"mc2\": 0.3555711185495532,\n            \"mc2_stderr\": 0.013587679864140447\n        },\n        \"winogrande\": {\n            \"acc\": 0.5824782951854776,\n            \"acc_stderr\": 0.01385997826444025\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0,\n        \"arc_easy\": 0,\n        \"boolq\": 1,\n        \"hellaswag\": 0,\n        \"lambada_openai\": 0,\n        \"openbookqa\": 0,\n        \"piqa\": 0,\n        \"sciq\": 0,\n        \"siqa\": 0,\n        \"truthfulqa_mc\": 1,\n        \"winogrande\": 0\n    },\n    \"config\": {\n        \"model\": \"gpt2\",\n        \"model_args\": \"use_fast=True,pretrained=EleutherAI/pythia-2.8b-deduped,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\"num_fewshot\": 0,\n        \"batch_size\": \"8\",\n        \"batch_sizes\": [],\n        \"device\": \"cuda:4\",\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 100000,\n        \"description_dict\": {}\n    }\n}"
  },
  {
    "path": "evals/external/EleutherAI_gpt-j-6B.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.3395904436860068,\n      \"acc_stderr\": 0.01383903976282016,\n      \"acc_norm\": 0.3651877133105802,\n      \"acc_norm_stderr\": 0.014070265519268802\n    },\n    \"arc_easy\": {\n      \"acc\": 0.6696127946127947,\n      \"acc_stderr\": 0.009651430216428178,\n      \"acc_norm\": 0.6224747474747475,\n      \"acc_norm_stderr\": 0.009947227833469421\n    },\n    \"boolq\": {\n      \"acc\": 0.654434250764526,\n      \"acc_stderr\": 0.008317463342191592\n    },\n    \"hellaswag\": {\n      \"acc\": 0.49522007568213505,\n      \"acc_stderr\": 0.004989553396413105,\n      \"acc_norm\": 0.6624178450507867,\n      \"acc_norm_stderr\": 0.004719187890948069\n    },\n    \"lambada_openai\": {\n      \"ppl\": 4.102416000764715,\n      \"ppl_stderr\": 0.08849985162393556,\n      \"acc\": 0.6823209780710265,\n      \"acc_stderr\": 0.0064863548390796605\n    },\n    \"openbookqa\": {\n      \"acc\": 0.29,\n      \"acc_stderr\": 0.02031317923174518,\n      \"acc_norm\": 0.382,\n      \"acc_norm_stderr\": 0.02175082059125084\n    },\n    \"piqa\": {\n      \"acc\": 0.7557127312295974,\n      \"acc_stderr\": 0.010024765172284244,\n      \"acc_norm\": 0.7616974972796517,\n      \"acc_norm_stderr\": 0.009940334245876224\n    },\n    \"sciq\": {\n      \"acc\": 0.915,\n      \"acc_stderr\": 0.008823426366942316,\n      \"acc_norm\": 0.874,\n      \"acc_norm_stderr\": 0.010499249222408035\n    },\n    \"siqa\": {\n      \"acc\": 0.4109518935516888,\n      \"acc_stderr\": 0.011133193398910182,\n      \"acc_norm\": 0.4508700102354145,\n      \"acc_norm_stderr\": 0.011259319269273942\n    },\n    \"winogrande\": {\n      \"acc\": 0.6416732438831886,\n      \"acc_stderr\": 0.013476581172567524\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"pretrained=EleutherAI/gpt-j-6B,dtype=float16,trust_remote_code=True,low_cpu_mem_usage=True,use_fast=True\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"8\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda\",\n    \"no_cache\": true,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/EleutherAI_gpt-neox-20B.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.378839590443686,\n      \"acc_stderr\": 0.014175915490000319,\n      \"acc_norm\": 0.40784982935153585,\n      \"acc_norm_stderr\": 0.014361097288449696\n    },\n    \"arc_easy\": {\n      \"acc\": 0.7289562289562289,\n      \"acc_stderr\": 0.0091209197417606,\n      \"acc_norm\": 0.6868686868686869,\n      \"acc_norm_stderr\": 0.009516303879309528\n    },\n    \"boolq\": {\n      \"acc\": 0.6948012232415902,\n      \"acc_stderr\": 0.00805404814192796\n    },\n    \"hellaswag\": {\n      \"acc\": 0.5356502688707429,\n      \"acc_stderr\": 0.004977081808179433,\n      \"acc_norm\": 0.714299940250946,\n      \"acc_norm_stderr\": 0.004508239594503832\n    },\n    \"lambada_openai\": {\n      \"ppl\": 3.6403044358845733,\n      \"ppl_stderr\": 0.0747797639775495,\n      \"acc\": 0.7197748884145159,\n      \"acc_stderr\": 0.0062569681407934575\n    },\n    \"openbookqa\": {\n      \"acc\": 0.298,\n      \"acc_stderr\": 0.02047511809298897,\n      \"acc_norm\": 0.402,\n      \"acc_norm_stderr\": 0.021948929609938602\n    },\n    \"piqa\": {\n      \"acc\": 0.7742110990206746,\n      \"acc_stderr\": 0.009754980670917316,\n      \"acc_norm\": 0.7845484221980413,\n      \"acc_norm_stderr\": 0.009592463115658116\n    },\n    \"sciq\": {\n      \"acc\": 0.931,\n      \"acc_stderr\": 0.008018934050315145,\n      \"acc_norm\": 0.89,\n      \"acc_norm_stderr\": 0.009899393819724444\n    },\n    \"siqa\": {\n      \"acc\": 0.4196519959058342,\n      \"acc_stderr\": 0.011167032303390547,\n      \"acc_norm\": 0.44728761514841353,\n      \"acc_norm_stderr\": 0.011251020423273035\n    },\n    \"winogrande\": {\n      \"acc\": 0.6614048934490924,\n      \"acc_stderr\": 0.01330016986584241\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"pretrained=EleutherAI/gpt-neox-20B,dtype=float16,trust_remote_code=True,low_cpu_mem_usage=True,use_fast=True\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"8\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda\",\n    \"no_cache\": true,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/EleutherAI_pythia-12b.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.318259385665529,\n      \"acc_stderr\": 0.013611993916971451,\n      \"acc_norm\": 0.3506825938566553,\n      \"acc_norm_stderr\": 0.013944635930726083\n    },\n    \"arc_easy\": {\n      \"acc\": 0.702020202020202,\n      \"acc_stderr\": 0.009385046066694871,\n      \"acc_norm\": 0.6372053872053872,\n      \"acc_norm_stderr\": 0.00986593675701393\n    },\n    \"boolq\": {\n      \"acc\": 0.6730886850152905,\n      \"acc_stderr\": 0.008204340208838751\n    },\n    \"hellaswag\": {\n      \"acc\": 0.5046803425612428,\n      \"acc_stderr\": 0.004989562798280524,\n      \"acc_norm\": 0.673770165305716,\n      \"acc_norm_stderr\": 0.004678743563766643\n    },\n    \"lambada_openai\": {\n      \"ppl\": 3.9264187287921497,\n      \"ppl_stderr\": 0.08375179732007268,\n      \"acc\": 0.7063846303124394,\n      \"acc_stderr\": 0.006344860619678724\n    },\n    \"openbookqa\": {\n      \"acc\": 0.264,\n      \"acc_stderr\": 0.019732885585922108,\n      \"acc_norm\": 0.372,\n      \"acc_norm_stderr\": 0.0216371979857224\n    },\n    \"piqa\": {\n      \"acc\": 0.7627856365614799,\n      \"acc_stderr\": 0.009924694933586366,\n      \"acc_norm\": 0.7698585418933623,\n      \"acc_norm_stderr\": 0.009820832826839798\n    },\n    \"sciq\": {\n      \"acc\": 0.902,\n      \"acc_stderr\": 0.009406619184621235,\n      \"acc_norm\": 0.851,\n      \"acc_norm_stderr\": 0.011266140684632175\n    },\n    \"siqa\": {\n      \"acc\": 0.4201637666325486,\n      \"acc_stderr\": 0.011168911571162012,\n      \"acc_norm\": 0.44268167860798363,\n      \"acc_norm_stderr\": 0.011239482425741961\n    },\n    \"winogrande\": {\n      \"acc\": 0.6400947119179163,\n      \"acc_stderr\": 0.013489609590266804\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"pretrained=EleutherAI/pythia-12b,dtype=float16,trust_remote_code=True,low_cpu_mem_usage=True,use_fast=True\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"1\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda\",\n    \"no_cache\": true,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/EleutherAI_pythia-6.9b.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.318259385665529,\n      \"acc_stderr\": 0.013611993916971451,\n      \"acc_norm\": 0.3532423208191126,\n      \"acc_norm_stderr\": 0.013967822714840055\n    },\n    \"arc_easy\": {\n      \"acc\": 0.6721380471380471,\n      \"acc_stderr\": 0.009632587076170013,\n      \"acc_norm\": 0.6106902356902357,\n      \"acc_norm_stderr\": 0.010005212782878145\n    },\n    \"boolq\": {\n      \"acc\": 0.6400611620795107,\n      \"acc_stderr\": 0.008394940698368873\n    },\n    \"hellaswag\": {\n      \"acc\": 0.48048197570205137,\n      \"acc_stderr\": 0.0049859782149379184,\n      \"acc_norm\": 0.6388169687313284,\n      \"acc_norm_stderr\": 0.004793617835645056\n    },\n    \"lambada_openai\": {\n      \"ppl\": 4.457423605452202,\n      \"ppl_stderr\": 0.10007464956313723,\n      \"acc\": 0.670095090238696,\n      \"acc_stderr\": 0.00655050345779628\n    },\n    \"openbookqa\": {\n      \"acc\": 0.258,\n      \"acc_stderr\": 0.019586711785215837,\n      \"acc_norm\": 0.372,\n      \"acc_norm_stderr\": 0.0216371979857224\n    },\n    \"piqa\": {\n      \"acc\": 0.750816104461371,\n      \"acc_stderr\": 0.01009188277012022,\n      \"acc_norm\": 0.76550598476605,\n      \"acc_norm_stderr\": 0.009885203143240538\n    },\n    \"sciq\": {\n      \"acc\": 0.898,\n      \"acc_stderr\": 0.00957536880165389,\n      \"acc_norm\": 0.84,\n      \"acc_norm_stderr\": 0.011598902298689004\n    },\n    \"siqa\": {\n      \"acc\": 0.40736949846468784,\n      \"acc_stderr\": 0.011118216651888717,\n      \"acc_norm\": 0.42988741044012285,\n      \"acc_norm_stderr\": 0.011202283451328794\n    },\n    \"winogrande\": {\n      \"acc\": 0.606156274664562,\n      \"acc_stderr\": 0.013732114472668745\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"pretrained=EleutherAI/pythia-6.9b,dtype=float16,trust_remote_code=True,low_cpu_mem_usage=True,use_fast=True\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"8\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda\",\n    \"no_cache\": true,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/Qwen-Qwen-7B-Chat.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.45563139931740615,\n      \"acc_stderr\": 0.014553749939306863,\n      \"acc_norm\": 0.4667235494880546,\n      \"acc_norm_stderr\": 0.014578995859605797\n    },\n    \"arc_easy\": {\n      \"acc\": 0.6919191919191919,\n      \"acc_stderr\": 0.00947388707582633,\n      \"acc_norm\": 0.6447811447811448,\n      \"acc_norm_stderr\": 0.009820245899287122\n    },\n    \"boolq\": {\n      \"acc\": 0.7168195718654434,\n      \"acc_stderr\": 0.007880052012351937\n    },\n    \"hellaswag\": {\n      \"acc\": 0.6792471619199363,\n      \"acc_stderr\": 0.004658120152230809,\n      \"acc_norm\": 0.8497311292571201,\n      \"acc_norm_stderr\": 0.003566044777327419\n    },\n    \"lambada_openai\": {\n      \"ppl\": 4.258406715958618,\n      \"ppl_stderr\": 0.1263040238577051,\n      \"acc\": 0.6547642150203765,\n      \"acc_stderr\": 0.006623879809039193\n    },\n    \"openbookqa\": {\n      \"acc\": 0.356,\n      \"acc_stderr\": 0.021434712356072652,\n      \"acc_norm\": 0.462,\n      \"acc_norm_stderr\": 0.02231833811987053\n    },\n    \"piqa\": {\n      \"acc\": 0.7872687704026116,\n      \"acc_stderr\": 0.00954822312304733,\n      \"acc_norm\": 0.7992383025027203,\n      \"acc_norm_stderr\": 0.00934596167482341\n    },\n    \"sciq\": {\n      \"acc\": 0.907,\n      \"acc_stderr\": 0.00918887563499669,\n      \"acc_norm\": 0.806,\n      \"acc_norm_stderr\": 0.012510816141264359\n    },\n    \"siqa\": {\n      \"acc\": 0.4703172978505629,\n      \"acc_stderr\": 0.011294116144908552,\n      \"acc_norm\": 0.47389969293756395,\n      \"acc_norm_stderr\": 0.01129864516098083\n    },\n    \"winogrande\": {\n      \"acc\": 0.6858721389108129,\n      \"acc_stderr\": 0.01304541671607256\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"pretrained=Qwen/Qwen-7B-Chat,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"8\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda:4\",\n    \"no_cache\": false,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/Qwen-Qwen-7B.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.4539249146757679,\n            \"acc_stderr\": 0.014549221105171865,\n            \"acc_norm\": 0.49146757679180886,\n            \"acc_norm_stderr\": 0.014609263165632186\n        },\n        \"arc_easy\": {\n            \"acc\": 0.6738215488215489,\n            \"acc_stderr\": 0.009619849417035167,\n            \"acc_norm\": 0.6519360269360269,\n            \"acc_norm_stderr\": 0.009774627600259012\n        },\n        \"boolq\": {\n            \"acc\": 0.745565749235474,\n            \"acc_stderr\": 0.007617690099234367\n        },\n        \"hellaswag\": {\n            \"acc\": 0.7305317665803625,\n            \"acc_stderr\": 0.004427767996301626,\n            \"acc_norm\": 0.8884684325831508,\n            \"acc_norm_stderr\": 0.0031414591751392695\n        },\n        \"lambada_openai\": {\n            \"ppl\": 4.014976946118802,\n            \"ppl_stderr\": 0.08858949240464632,\n            \"acc\": 0.6966815447312246,\n            \"acc_stderr\": 0.006404402872809113\n        },\n        \"openbookqa\": {\n            \"acc\": 0.322,\n            \"acc_stderr\": 0.02091666833001988,\n            \"acc_norm\": 0.448,\n            \"acc_norm_stderr\": 0.022261697292270143\n        },\n        \"piqa\": {\n            \"acc\": 0.7399347116430903,\n            \"acc_stderr\": 0.010234893249061308,\n            \"acc_norm\": 0.749183895538629,\n            \"acc_norm_stderr\": 0.010113869547069044\n        },\n        \"sciq\": {\n            \"acc\": 0.932,\n            \"acc_stderr\": 0.007964887911291603,\n            \"acc_norm\": 0.908,\n            \"acc_norm_stderr\": 0.009144376393151117\n        },\n        \"siqa\": {\n            \"acc\": 0.49437052200614123,\n            \"acc_stderr\": 0.011313353423379522,\n            \"acc_norm\": 0.5240532241555783,\n            \"acc_norm_stderr\": 0.01130097128912773\n        },\n        \"winogrande\": {\n            \"acc\": 0.65982636148382,\n            \"acc_stderr\": 0.013315218762417397\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0,\n        \"arc_easy\": 0,\n        \"boolq\": 1,\n        \"hellaswag\": 0,\n        \"lambada_openai\": 0,\n        \"openbookqa\": 0,\n        \"piqa\": 0,\n        \"sciq\": 0,\n        \"siqa\": 0,\n        \"winogrande\": 0\n    },\n    \"config\": {\n        \"model\": \"gpt2\",\n        \"model_args\": \"use_fast=True,pretrained=Qwen/Qwen-7B,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\n        \"num_fewshot\": 0,\n        \"batch_size\": \"8\",\n        \"batch_sizes\": [],\n        \"device\": \"cuda:4\",\n        \"no_cache\": false,\n        \"limit\": null,\n        \"bootstrap_iters\": 100000,\n        \"description_dict\": {}\n    }\n}"
  },
  {
    "path": "evals/external/baichuan-inc_Baichuan2-7B-Base.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.42235494880546076,\n      \"acc_stderr\": 0.014434138713379977,\n      \"acc_norm\": 0.431740614334471,\n      \"acc_norm_stderr\": 0.014474591427196202\n    },\n    \"arc_easy\": {\n      \"acc\": 0.75,\n      \"acc_stderr\": 0.008885233166386385,\n      \"acc_norm\": 0.7281144781144782,\n      \"acc_norm_stderr\": 0.0091297958673105\n    },\n    \"boolq\": {\n      \"acc\": 0.7308868501529052,\n      \"acc_stderr\": 0.007756844290794318\n    },\n    \"hellaswag\": {\n      \"acc\": 0.5366460864369648,\n      \"acc_stderr\": 0.004976361454341348,\n      \"acc_norm\": 0.7228639713204541,\n      \"acc_norm_stderr\": 0.004466695023677831\n    },\n    \"lambada_openai\": {\n      \"ppl\": 3.6834487322486384,\n      \"ppl_stderr\": 0.07653758845393456,\n      \"acc\": 0.7098777411216767,\n      \"acc_stderr\": 0.006322580641394925\n    },\n    \"openbookqa\": {\n      \"acc\": 0.304,\n      \"acc_stderr\": 0.02059164957122493,\n      \"acc_norm\": 0.394,\n      \"acc_norm_stderr\": 0.021874299301689253\n    },\n    \"piqa\": {\n      \"acc\": 0.7616974972796517,\n      \"acc_stderr\": 0.009940334245876209,\n      \"acc_norm\": 0.7736670293797606,\n      \"acc_norm_stderr\": 0.009763294246879418\n    },\n    \"sciq\": {\n      \"acc\": 0.946,\n      \"acc_stderr\": 0.007150883521295436,\n      \"acc_norm\": 0.913,\n      \"acc_norm_stderr\": 0.008916866630745916\n    },\n    \"siqa\": {\n      \"acc\": 0.41760491299897645,\n      \"acc_stderr\": 0.011159391894922486,\n      \"acc_norm\": 0.44779938587512796,\n      \"acc_norm_stderr\": 0.011252242102001767\n    },\n    \"winogrande\": {\n      \"acc\": 0.675611681136543,\n      \"acc_stderr\": 0.01315722572664164\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"pretrained=baichuan-inc/Baichuan2-7B-Base,dtype=bfloat16,trust_remote_code=True,low_cpu_mem_usage=True,use_fast=True\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"8\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda\",\n    \"no_cache\": true,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/bigscience-bloom-3b.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.27986348122866894,\n            \"acc_stderr\": 0.013119040897725922,\n            \"acc_norm\": 0.3037542662116041,\n            \"acc_norm_stderr\": 0.013438909184778757\n        },\n        \"arc_easy\": {\n            \"acc\": 0.5942760942760943,\n            \"acc_stderr\": 0.010075755540128871,\n            \"acc_norm\": 0.5328282828282829,\n            \"acc_norm_stderr\": 0.010237645778853869\n        },\n        \"boolq\": {\n            \"acc\": 0.617125382262997,\n            \"acc_stderr\": 0.008501734385335953\n        },\n        \"hellaswag\": {\n            \"acc\": 0.4137621987651862,\n            \"acc_stderr\": 0.004915003499517833,\n            \"acc_norm\": 0.545309699263095,\n            \"acc_norm_stderr\": 0.004969251445596341\n        },\n        \"lambada_openai\": {\n            \"ppl\": 9.094700256232823,\n            \"ppl_stderr\": 0.2652067493709512,\n            \"acc\": 0.5173685231903745,\n            \"acc_stderr\": 0.006961773596960152\n        },\n        \"openbookqa\": {\n            \"acc\": 0.218,\n            \"acc_stderr\": 0.01848337822317886,\n            \"acc_norm\": 0.322,\n            \"acc_norm_stderr\": 0.020916668330019882\n        },\n        \"piqa\": {\n            \"acc\": 0.705658324265506,\n            \"acc_stderr\": 0.010633311470347498,\n            \"acc_norm\": 0.7067464635473341,\n            \"acc_norm_stderr\": 0.010621818421101931\n        },\n        \"sciq\": {\n            \"acc\": 0.891,\n            \"acc_stderr\": 0.009859828407037191,\n            \"acc_norm\": 0.816,\n            \"acc_norm_stderr\": 0.012259457340938588\n        },\n        \"siqa\": {\n            \"acc\": 0.4017400204708291,\n            \"acc_stderr\": 0.011093444192711183,\n            \"acc_norm\": 0.4314227226202661,\n            \"acc_norm_stderr\": 0.011207148736838392\n        },\n        \"winogrande\": {\n            \"acc\": 0.584846093133386,\n            \"acc_stderr\": 0.01384868408665859\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0,\n        \"arc_easy\": 0,\n        \"boolq\": 1,\n        \"hellaswag\": 0,\n        \"lambada_openai\": 0,\n        \"openbookqa\": 0,\n        \"piqa\": 0,\n        \"sciq\": 0,\n        \"siqa\": 0,\n        \"winogrande\": 0\n    },\n    \"config\": {\n        \"model\": \"gpt2\",\n        \"model_args\": \"use_fast=True,pretrained=bigscience/bloom-3b,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\n        \"num_fewshot\": 0,\n        \"batch_size\": \"8\",\n        \"batch_sizes\": [],\n        \"device\": null,\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 100000,\n        \"description_dict\": {}\n    }\n}"
  },
  {
    "path": "evals/external/bigscience-bloom-7b1.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.302901023890785,\n      \"acc_stderr\": 0.013428241573185349,\n      \"acc_norm\": 0.33532423208191126,\n      \"acc_norm_stderr\": 0.013796182947785564\n    },\n    \"arc_easy\": {\n      \"acc\": 0.6494107744107744,\n      \"acc_stderr\": 0.009791003829831557,\n      \"acc_norm\": 0.5736531986531986,\n      \"acc_norm_stderr\": 0.010147858603835144\n    },\n    \"boolq\": {\n      \"acc\": 0.6284403669724771,\n      \"acc_stderr\": 0.008451598145076589\n    },\n    \"hellaswag\": {\n      \"acc\": 0.4649472216689902,\n      \"acc_stderr\": 0.0049775044466089996,\n      \"acc_norm\": 0.6228838876717785,\n      \"acc_norm_stderr\": 0.004836738514051334\n    },\n    \"lambada_openai\": {\n      \"ppl\": 6.619927277080142,\n      \"ppl_stderr\": 0.1762520708430581,\n      \"acc\": 0.5755870366776635,\n      \"acc_stderr\": 0.006885918770006387\n    },\n    \"openbookqa\": {\n      \"acc\": 0.252,\n      \"acc_stderr\": 0.019435727282249536,\n      \"acc_norm\": 0.358,\n      \"acc_norm_stderr\": 0.021461434862859122\n    },\n    \"piqa\": {\n      \"acc\": 0.7274211099020674,\n      \"acc_stderr\": 0.010389256803296021,\n      \"acc_norm\": 0.7366702937976061,\n      \"acc_norm_stderr\": 0.010276185322196764\n    },\n    \"sciq\": {\n      \"acc\": 0.901,\n      \"acc_stderr\": 0.009449248027662765,\n      \"acc_norm\": 0.845,\n      \"acc_norm_stderr\": 0.011450157470799475\n    },\n    \"siqa\": {\n      \"acc\": 0.4211873080859775,\n      \"acc_stderr\": 0.011172633149198374,\n      \"acc_norm\": 0.4498464687819857,\n      \"acc_norm_stderr\": 0.011257008360485692\n    },\n    \"winogrande\": {\n      \"acc\": 0.6464088397790055,\n      \"acc_stderr\": 0.013436541262599948\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"use_fast=True,pretrained=bigscience/bloom-7b1,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"8\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda:5\",\n    \"no_cache\": true,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/cerebras-btlm-3b-8k-base.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.34897610921501704,\n            \"acc_stderr\": 0.013928933461382496,\n            \"acc_norm\": 0.37627986348122866,\n            \"acc_norm_stderr\": 0.014157022555407168\n        },\n        \"arc_easy\": {\n            \"acc\": 0.7045454545454546,\n            \"acc_stderr\": 0.009361987126556457,\n            \"acc_norm\": 0.6708754208754208,\n            \"acc_norm_stderr\": 0.00964204805806098\n        },\n        \"boolq\": {\n            \"acc\": 0.6963302752293578,\n            \"acc_stderr\": 0.008042682539896304\n        },\n        \"hellaswag\": {\n            \"acc\": 0.5184226249751046,\n            \"acc_stderr\": 0.004986393266269161,\n            \"acc_norm\": 0.6977693686516631,\n            \"acc_norm_stderr\": 0.004582861219020893\n        },\n        \"lambada_openai\": {\n            \"ppl\": 4.720441000893734,\n            \"ppl_stderr\": 0.1100556659950519,\n            \"acc\": 0.6623326217737241,\n            \"acc_stderr\": 0.00658862361668043\n        },\n        \"openbookqa\": {\n            \"acc\": 0.276,\n            \"acc_stderr\": 0.02001121929807353,\n            \"acc_norm\": 0.408,\n            \"acc_norm_stderr\": 0.02200091089387719\n        },\n        \"piqa\": {\n            \"acc\": 0.7584330794341676,\n            \"acc_stderr\": 0.009986718001804472,\n            \"acc_norm\": 0.7720348204570185,\n            \"acc_norm_stderr\": 0.009788093832324906\n        },\n        \"sciq\": {\n            \"acc\": 0.929,\n            \"acc_stderr\": 0.008125578442487916,\n            \"acc_norm\": 0.895,\n            \"acc_norm_stderr\": 0.009698921026024966\n        },\n        \"siqa\": {\n            \"acc\": 0.4278403275332651,\n            \"acc_stderr\": 0.01119562541819821,\n            \"acc_norm\": 0.4611054247697032,\n            \"acc_norm_stderr\": 0.011279787032703659\n        },\n        \"truthfulqa_mc\": {\n            \"mc1\": 0.2252141982864137,\n            \"mc1_stderr\": 0.014623240768023498,\n            \"mc2\": 0.3599562107238256,\n            \"mc2_stderr\": 0.013576568348894856\n        },\n        \"winogrande\": {\n            \"acc\": 0.6495659037095501,\n            \"acc_stderr\": 0.013409047676670189\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0,\n        \"arc_easy\": 0,\n        \"boolq\": 1,\n        \"hellaswag\": 0,\n        \"lambada_openai\": 0,\n        \"openbookqa\": 0,\n        \"piqa\": 0,\n        \"sciq\": 0,\n        \"siqa\": 0,\n        \"truthfulqa_mc\": 1,\n        \"winogrande\": 0\n    },\n    \"config\": {\n        \"model\": \"gpt2\",\n        \"model_args\": \"use_fast=True,pretrained=cerebras/btlm-3b-8k-base,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\"num_fewshot\": 0,\n        \"batch_size\": \"8\",\n        \"batch_sizes\": [],\n        \"device\": \"cuda:4\",\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 100000,\n        \"description_dict\": {}\n    }\n}"
  },
  {
    "path": "evals/external/facebook-opt-2.7b.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.2687713310580205,\n      \"acc_stderr\": 0.012955065963710691,\n      \"acc_norm\": 0.31313993174061433,\n      \"acc_norm_stderr\": 0.013552671543623504\n    },\n    \"arc_easy\": {\n      \"acc\": 0.6077441077441077,\n      \"acc_stderr\": 0.010018744689650043,\n      \"acc_norm\": 0.5429292929292929,\n      \"acc_norm_stderr\": 0.01022189756425603\n    },\n    \"boolq\": {\n      \"acc\": 0.6033639143730887,\n      \"acc_stderr\": 0.008556148582032\n    },\n    \"hellaswag\": {\n      \"acc\": 0.4584744074885481,\n      \"acc_stderr\": 0.004972543127767873,\n      \"acc_norm\": 0.6059549890460068,\n      \"acc_norm_stderr\": 0.0048764594346198\n    },\n    \"lambada_openai\": {\n      \"ppl\": 5.119857738610855,\n      \"ppl_stderr\": 0.11991227443177162,\n      \"acc\": 0.6357461672811954,\n      \"acc_stderr\": 0.006704339729528894\n    },\n    \"openbookqa\": {\n      \"acc\": 0.25,\n      \"acc_stderr\": 0.019384310743640384,\n      \"acc_norm\": 0.352,\n      \"acc_norm_stderr\": 0.021380042385946048\n    },\n    \"piqa\": {\n      \"acc\": 0.7383025027203483,\n      \"acc_stderr\": 0.01025563077270823,\n      \"acc_norm\": 0.7480957562568009,\n      \"acc_norm_stderr\": 0.010128421335088685\n    },\n    \"sciq\": {\n      \"acc\": 0.858,\n      \"acc_stderr\": 0.011043457699378227,\n      \"acc_norm\": 0.79,\n      \"acc_norm_stderr\": 0.012886662332274536\n    },\n    \"siqa\": {\n      \"acc\": 0.4083930399181167,\n      \"acc_stderr\": 0.011122558066098069,\n      \"acc_norm\": 0.44268167860798363,\n      \"acc_norm_stderr\": 0.011239482425741961\n    },\n    \"winogrande\": {\n      \"acc\": 0.6101026045777427,\n      \"acc_stderr\": 0.013707547317008462\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"use_fast=True,pretrained=facebook/opt-2.7b,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"8\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda:2\",\n    \"no_cache\": false,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/facebook-opt-6.7b.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.30716723549488056,\n      \"acc_stderr\": 0.013481034054980945,\n      \"acc_norm\": 0.34812286689419797,\n      \"acc_norm_stderr\": 0.013921008595179338\n    },\n    \"arc_easy\": {\n      \"acc\": 0.6565656565656566,\n      \"acc_stderr\": 0.00974381736896,\n      \"acc_norm\": 0.6014309764309764,\n      \"acc_norm_stderr\": 0.010046455400477947\n    },\n    \"boolq\": {\n      \"acc\": 0.6602446483180429,\n      \"acc_stderr\": 0.00828377201314756\n    },\n    \"hellaswag\": {\n      \"acc\": 0.5051782513443537,\n      \"acc_stderr\": 0.004989513809408587,\n      \"acc_norm\": 0.6719776936865166,\n      \"acc_norm_stderr\": 0.004685334844038652\n    },\n    \"lambada_openai\": {\n      \"ppl\": 4.252533670173101,\n      \"ppl_stderr\": 0.0927155022353668,\n      \"acc\": 0.6764991267222977,\n      \"acc_stderr\": 0.006517535744360227\n    },\n    \"openbookqa\": {\n      \"acc\": 0.276,\n      \"acc_stderr\": 0.020011219298073524,\n      \"acc_norm\": 0.372,\n      \"acc_norm_stderr\": 0.0216371979857224\n    },\n    \"piqa\": {\n      \"acc\": 0.7633297062023939,\n      \"acc_stderr\": 0.009916841655042804,\n      \"acc_norm\": 0.766050054406964,\n      \"acc_norm_stderr\": 0.009877236895137437\n    },\n    \"sciq\": {\n      \"acc\": 0.901,\n      \"acc_stderr\": 0.009449248027662761,\n      \"acc_norm\": 0.853,\n      \"acc_norm_stderr\": 0.011203415395160333\n    },\n    \"siqa\": {\n      \"acc\": 0.4263050153531218,\n      \"acc_stderr\": 0.011190503463264742,\n      \"acc_norm\": 0.4595701125895599,\n      \"acc_norm_stderr\": 0.011277022486079959\n    },\n    \"winogrande\": {\n      \"acc\": 0.6535122336227308,\n      \"acc_stderr\": 0.013373773411685644\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"use_fast=True,pretrained=facebook/opt-6.7b,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"8\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda:2\",\n    \"no_cache\": false,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/huggyllama-llama-7b.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.4189419795221843,\n            \"acc_stderr\": 0.014418106953639013,\n            \"acc_norm\": 0.4462457337883959,\n            \"acc_norm_stderr\": 0.014526705548539982\n        },\n        \"arc_easy\": {\n            \"acc\": 0.7525252525252525,\n            \"acc_stderr\": 0.00885511441483471,\n            \"acc_norm\": 0.7285353535353535,\n            \"acc_norm_stderr\": 0.009125362970360627\n        },\n        \"boolq\": {\n            \"acc\": 0.7504587155963303,\n            \"acc_stderr\": 0.0075688020241860285\n        },\n        \"hellaswag\": {\n            \"acc\": 0.5696076478789086,\n            \"acc_stderr\": 0.004941191607317913,\n            \"acc_norm\": 0.7621987651862179,\n            \"acc_norm_stderr\": 0.004248666961833349\n        },\n        \"lambada_openai\": {\n            \"ppl\": 3.4882593690160553,\n            \"ppl_stderr\": 0.068517853205977,\n            \"acc\": 0.7354938870560839,\n            \"acc_stderr\": 0.006144965702579053\n        },\n        \"openbookqa\": {\n            \"acc\": 0.344,\n            \"acc_stderr\": 0.02126575803797874,\n            \"acc_norm\": 0.444,\n            \"acc_norm_stderr\": 0.02224224437573102\n        },\n        \"piqa\": {\n            \"acc\": 0.7867247007616975,\n            \"acc_stderr\": 0.00955712122586133,\n            \"acc_norm\": 0.7916213275299239,\n            \"acc_norm_stderr\": 0.009476125383049459\n        },\n        \"sciq\": {\n            \"acc\": 0.946,\n            \"acc_stderr\": 0.007150883521295433,\n            \"acc_norm\": 0.928,\n            \"acc_norm_stderr\": 0.008178195576218681\n        },\n        \"siqa\": {\n            \"acc\": 0.4483111566018424,\n            \"acc_stderr\": 0.01125345173122258,\n            \"acc_norm\": 0.4703172978505629,\n            \"acc_norm_stderr\": 0.011294116144908554\n        },\n        \"winogrande\": {\n            \"acc\": 0.6992896606156275,\n            \"acc_stderr\": 0.012888010494704723\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0,\n        \"arc_easy\": 0,\n        \"boolq\": 1,\n        \"hellaswag\": 0,\n        \"lambada_openai\": 0,\n        \"openbookqa\": 0,\n        \"piqa\": 0,\n        \"sciq\": 0,\n        \"siqa\": 0,\n        \"winogrande\": 0\n    },\n    \"config\": {\n        \"model\": \"gpt2\",\n        \"model_args\": \"use_fast=False,pretrained=huggyllama/llama-7b,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\n        \"num_fewshot\": 0,\n        \"batch_size\": \"8\",\n        \"batch_sizes\": [],\n        \"device\": \"cuda:2\",\n        \"no_cache\": false,\n        \"limit\": null,\n        \"bootstrap_iters\": 100000,\n        \"description_dict\": {}\n    }\n}"
  },
  {
    "path": "evals/external/kittn_mistral-7B-v0.1-hf.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.5025597269624573,\n      \"acc_stderr\": 0.014611199329843777,\n      \"acc_norm\": 0.5435153583617748,\n      \"acc_norm_stderr\": 0.014555949760496439\n    },\n    \"arc_easy\": {\n      \"acc\": 0.8080808080808081,\n      \"acc_stderr\": 0.00808080808080796,\n      \"acc_norm\": 0.7954545454545454,\n      \"acc_norm_stderr\": 0.008276958800002997\n    },\n    \"boolq\": {\n      \"acc\": 0.8363914373088684,\n      \"acc_stderr\": 0.006469941343840763\n    },\n    \"hellaswag\": {\n      \"acc\": 0.6127265484963155,\n      \"acc_stderr\": 0.0048613146132868434,\n      \"acc_norm\": 0.8105954989046007,\n      \"acc_norm_stderr\": 0.003910288117015163\n    },\n    \"lambada_openai\": {\n      \"ppl\": 3.181388367482107,\n      \"ppl_stderr\": 0.058369197945258765,\n      \"acc\": 0.7568406753347564,\n      \"acc_stderr\": 0.0059766767751295085\n    },\n    \"openbookqa\": {\n      \"acc\": 0.328,\n      \"acc_stderr\": 0.021017027165175485,\n      \"acc_norm\": 0.44,\n      \"acc_norm_stderr\": 0.022221331534143057\n    },\n    \"piqa\": {\n      \"acc\": 0.8079434167573449,\n      \"acc_stderr\": 0.00919074029512649,\n      \"acc_norm\": 0.8215451577801959,\n      \"acc_norm_stderr\": 0.008933575463062072\n    },\n    \"sciq\": {\n      \"acc\": 0.959,\n      \"acc_stderr\": 0.006273624021118748,\n      \"acc_norm\": 0.938,\n      \"acc_norm_stderr\": 0.0076298239962803065\n    },\n    \"siqa\": {\n      \"acc\": 0.4273285568065507,\n      \"acc_stderr\": 0.01119393034055127,\n      \"acc_norm\": 0.4570112589559877,\n      \"acc_norm_stderr\": 0.01127217546233142\n    },\n    \"winogrande\": {\n      \"acc\": 0.7403314917127072,\n      \"acc_stderr\": 0.012322700705552673\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"pretrained=kittn/mistral-7B-v0.1-hf,dtype=bfloat16,trust_remote_code=True,low_cpu_mem_usage=True,use_fast=False\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"8\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda\",\n    \"no_cache\": true,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/meta-llama-Llama-2-13b-hf.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.4863481228668942,\n      \"acc_stderr\": 0.014605943429860945,\n      \"acc_norm\": 0.492320819112628,\n      \"acc_norm_stderr\": 0.01460966744089257\n    },\n    \"arc_easy\": {\n      \"acc\": 0.79503367003367,\n      \"acc_stderr\": 0.008283277600626398,\n      \"acc_norm\": 0.7760942760942761,\n      \"acc_norm_stderr\": 0.008553779114531757\n    },\n    \"boolq\": {\n      \"acc\": 0.8051987767584098,\n      \"acc_stderr\": 0.006926916185348359\n    },\n    \"hellaswag\": {\n      \"acc\": 0.6011750647281418,\n      \"acc_stderr\": 0.004886559008754982,\n      \"acc_norm\": 0.7935670185222067,\n      \"acc_norm_stderr\": 0.004039176806180289\n    },\n    \"lambada_openai\": {\n      \"ppl\": 3.0445239988325836,\n      \"ppl_stderr\": 0.05613639700817276,\n      \"acc\": 0.767708131185717,\n      \"acc_stderr\": 0.005883383348944357\n    },\n    \"openbookqa\": {\n      \"acc\": 0.354,\n      \"acc_stderr\": 0.021407582047916447,\n      \"acc_norm\": 0.454,\n      \"acc_norm_stderr\": 0.02228814759117695\n    },\n    \"piqa\": {\n      \"acc\": 0.7905331882480957,\n      \"acc_stderr\": 0.0094943029798198,\n      \"acc_norm\": 0.8063112078346029,\n      \"acc_norm_stderr\": 0.009220384152336643\n    },\n    \"sciq\": {\n      \"acc\": 0.945,\n      \"acc_stderr\": 0.007212976294639239,\n      \"acc_norm\": 0.933,\n      \"acc_norm_stderr\": 0.007910345983177549\n    },\n    \"siqa\": {\n      \"acc\": 0.4278403275332651,\n      \"acc_stderr\": 0.01119562541819821,\n      \"acc_norm\": 0.4503582395087001,\n      \"acc_norm_stderr\": 0.01125816983012229\n    },\n    \"winogrande\": {\n      \"acc\": 0.7221783741120757,\n      \"acc_stderr\": 0.012588918183871603\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"use_fast=False,pretrained=meta-llama/Llama-2-13b-hf,trust_remote_code=True,low_cpu_mem_usage=True,dtype=bfloat16\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"16\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda:5\",\n    \"no_cache\": false,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/meta-llama-Llama-2-7b.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.4300341296928328,\n            \"acc_stderr\": 0.014467631559137993,\n            \"acc_norm\": 0.4616040955631399,\n            \"acc_norm_stderr\": 0.014568245550296363\n        },\n        \"arc_easy\": {\n            \"acc\": 0.7626262626262627,\n            \"acc_stderr\": 0.008730525906362434,\n            \"acc_norm\": 0.7453703703703703,\n            \"acc_norm_stderr\": 0.008939407288589414\n        },\n        \"boolq\": {\n            \"acc\": 0.7773700305810397,\n            \"acc_stderr\": 0.007276093141006333\n        },\n        \"hellaswag\": {\n            \"acc\": 0.5720971917944633,\n            \"acc_stderr\": 0.00493763511283029,\n            \"acc_norm\": 0.7594104760007967,\n            \"acc_norm_stderr\": 0.004265678940698863\n        },\n        \"lambada_openai\": {\n            \"ppl\": 3.3970918836338027,\n            \"ppl_stderr\": 0.06684659102563836,\n            \"acc\": 0.7347176402095866,\n            \"acc_stderr\": 0.0061507275830540355\n        },\n        \"openbookqa\": {\n            \"acc\": 0.314,\n            \"acc_stderr\": 0.020776701920308997,\n            \"acc_norm\": 0.436,\n            \"acc_norm_stderr\": 0.0221989546414768\n        },\n        \"piqa\": {\n            \"acc\": 0.7774755168661589,\n            \"acc_stderr\": 0.009704600975718245,\n            \"acc_norm\": 0.7878128400435256,\n            \"acc_norm_stderr\": 0.009539299828174048\n        },\n        \"sciq\": {\n            \"acc\": 0.936,\n            \"acc_stderr\": 0.007743640226919308,\n            \"acc_norm\": 0.908,\n            \"acc_norm_stderr\": 0.009144376393151106\n        },\n        \"siqa\": {\n            \"acc\": 0.43500511770726713,\n            \"acc_stderr\": 0.011218074465506494,\n            \"acc_norm\": 0.47389969293756395,\n            \"acc_norm_stderr\": 0.011298645160980832\n        },\n        \"truthfulqa_mc\": {\n            \"mc1\": 0.2521419828641371,\n            \"mc1_stderr\": 0.01520152224629997,\n            \"mc2\": 0.38967559882659686,\n            \"mc2_stderr\": 0.01357922221561985\n        },\n        \"winogrande\": {\n            \"acc\": 0.6961325966850829,\n            \"acc_stderr\": 0.012926209475483574\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0,\n        \"arc_easy\": 0,\n        \"boolq\": 1,\n        \"hellaswag\": 0,\n        \"lambada_openai\": 0,\n        \"openbookqa\": 0,\n        \"piqa\": 0,\n        \"sciq\": 0,\n        \"siqa\": 0,\n        \"truthfulqa_mc\": 1,\n        \"winogrande\": 0\n    },\n    \"config\": {\n        \"model\": \"gpt2\",\n        \"model_args\": \"use_fast=False,pretrained=meta-llama/Llama-2-7b-hf,trust_remote_code=True,low_cpu_mem_usage=True,dtype=bfloat16\",\n        \"num_fewshot\": 0,\n        \"batch_size\": \"2\",\n        \"batch_sizes\": [],\n        \"device\": \"cuda:0\",\n        \"no_cache\": false,\n        \"limit\": null,\n        \"bootstrap_iters\": 100000,\n        \"description_dict\": {}\n    }\n}"
  },
  {
    "path": "evals/external/microsoft-phi-1_5.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.4445392491467577,\n      \"acc_stderr\": 0.014521226405627079,\n      \"acc_norm\": 0.4803754266211604,\n      \"acc_norm_stderr\": 0.014600132075947092\n    },\n    \"arc_easy\": {\n      \"acc\": 0.7613636363636364,\n      \"acc_stderr\": 0.008746465140706127,\n      \"acc_norm\": 0.7314814814814815,\n      \"acc_norm_stderr\": 0.009094042554994847\n    },\n    \"boolq\": {\n      \"acc\": 0.7452599388379205,\n      \"acc_stderr\": 0.007620703281690057\n    },\n    \"hellaswag\": {\n      \"acc\": 0.47988448516231824,\n      \"acc_stderr\": 0.004985741706385726,\n      \"acc_norm\": 0.6261700856403107,\n      \"acc_norm_stderr\": 0.004828305041904399\n    },\n    \"lambada_openai\": {\n      \"ppl\": 8.945202930351474,\n      \"ppl_stderr\": 0.3005661666926477,\n      \"acc\": 0.527459732194838,\n      \"acc_stderr\": 0.0069554645156210786\n    },\n    \"openbookqa\": {\n      \"acc\": 0.376,\n      \"acc_stderr\": 0.021683827539286115,\n      \"acc_norm\": 0.482,\n      \"acc_norm_stderr\": 0.02236856511738799\n    },\n    \"piqa\": {\n      \"acc\": 0.7633297062023939,\n      \"acc_stderr\": 0.009916841655042806,\n      \"acc_norm\": 0.7578890097932536,\n      \"acc_norm_stderr\": 0.009994371269104381\n    },\n    \"sciq\": {\n      \"acc\": 0.932,\n      \"acc_stderr\": 0.007964887911291603,\n      \"acc_norm\": 0.916,\n      \"acc_norm_stderr\": 0.00877616208949113\n    },\n    \"siqa\": {\n      \"acc\": 0.5537359263050153,\n      \"acc_stderr\": 0.01124854090154796,\n      \"acc_norm\": 0.5957011258955988,\n      \"acc_norm_stderr\": 0.0111048923983008\n    },\n    \"winogrande\": {\n      \"acc\": 0.7253354380426204,\n      \"acc_stderr\": 0.012544516005117187\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"use_fast=False,pretrained=microsoft/phi-1_5,trust_remote_code=True,low_cpu_mem_usage=True,dtype=bfloat16\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"16\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda:5\",\n    \"no_cache\": false,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/mosaicml-mpt-7b.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.4052901023890785,\n            \"acc_stderr\": 0.01434686906022933,\n            \"acc_norm\": 0.4189419795221843,\n            \"acc_norm_stderr\": 0.014418106953639011\n        },\n        \"arc_easy\": {\n            \"acc\": 0.7491582491582491,\n            \"acc_stderr\": 0.008895183010487386,\n            \"acc_norm\": 0.7003367003367004,\n            \"acc_norm_stderr\": 0.009400228586205971\n        },\n        \"boolq\": {\n            \"acc\": 0.7394495412844037,\n            \"acc_stderr\": 0.007677021072511165\n        },\n        \"hellaswag\": {\n            \"acc\": 0.571400119498108,\n            \"acc_stderr\": 0.004938643787869543,\n            \"acc_norm\": 0.7617008564031069,\n            \"acc_norm_stderr\": 0.00425172316377217\n        },\n        \"lambada_openai\": {\n            \"ppl\": 3.8689102314884214,\n            \"ppl_stderr\": 0.0808940319922043,\n            \"acc\": 0.6863962740151368,\n            \"acc_stderr\": 0.006463833164285203\n        },\n        \"openbookqa\": {\n            \"acc\": 0.314,\n            \"acc_stderr\": 0.020776701920308997,\n            \"acc_norm\": 0.428,\n            \"acc_norm_stderr\": 0.022149790663861923\n        },\n        \"piqa\": {\n            \"acc\": 0.7889009793253536,\n            \"acc_stderr\": 0.00952137737873414,\n            \"acc_norm\": 0.8063112078346029,\n            \"acc_norm_stderr\": 0.009220384152336641\n        },\n        \"sciq\": {\n            \"acc\": 0.937,\n            \"acc_stderr\": 0.007687007876286428,\n            \"acc_norm\": 0.888,\n            \"acc_norm_stderr\": 0.009977753031397236\n        },\n        \"siqa\": {\n            \"acc\": 0.45138178096212894,\n            \"acc_stderr\": 0.01126045668162444,\n            \"acc_norm\": 0.48311156601842375,\n            \"acc_norm_stderr\": 0.011307614732827416\n        },\n        \"truthfulqa_mc\": {\n            \"mc1\": 0.20930232558139536,\n            \"mc1_stderr\": 0.014241219434785823,\n            \"mc2\": 0.3348523259251629,\n            \"mc2_stderr\": 0.01313621094524683\n        },\n        \"winogrande\": {\n            \"acc\": 0.6803472770323599,\n            \"acc_stderr\": 0.01310652851766514\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0,\n        \"arc_easy\": 0,\n        \"boolq\": 1,\n        \"hellaswag\": 0,\n        \"lambada_openai\": 0,\n        \"openbookqa\": 0,\n        \"piqa\": 0,\n        \"sciq\": 0,\n        \"siqa\": 0,\n        \"truthfulqa_mc\": 1,\n        \"winogrande\": 0\n    },\n    \"config\": {\n        \"model\": \"gpt2\",\n        \"model_args\": \"use_fast=True,pretrained=mosaicml/mpt-7b,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\n        \"num_fewshot\": 0,\n        \"batch_size\": \"8\",\n        \"batch_sizes\": [],\n        \"device\": \"cuda:2\",\n        \"no_cache\": false,\n        \"limit\": null,\n        \"bootstrap_iters\": 100000,\n        \"description_dict\": {}\n    }\n}"
  },
  {
    "path": "evals/external/openlm-research-open_llama_13b",
    "content": "{\n  \"results\": {\n    \"lambada_openai\": {\n      \"ppl\": 3.569586285393247,\n      \"ppl_stderr\": 0.07265272740503036,\n      \"acc\": 0.7209392586842616,\n      \"acc_stderr\": 0.006249003708978234\n    },\n    \"sciq\": {\n      \"acc\": 0.941,\n      \"acc_stderr\": 0.007454835650406722,\n      \"acc_norm\": 0.914,\n      \"acc_norm_stderr\": 0.008870325962594766\n    }\n  },\n  \"versions\": {\n    \"lambada_openai\": 0,\n    \"sciq\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"use_fast=False,pretrained=openlm-research/open_llama_13b,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"2\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda:3\",\n    \"no_cache\": false,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/openlm-research-open_llama_3b_v2.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.3387372013651877,\n            \"acc_stderr\": 0.013830568927974332,\n            \"acc_norm\": 0.3609215017064846,\n            \"acc_norm_stderr\": 0.014034761386175458\n        },\n        \"arc_easy\": {\n            \"acc\": 0.6759259259259259,\n            \"acc_stderr\": 0.00960372885009539,\n            \"acc_norm\": 0.63510101010101,\n            \"acc_norm_stderr\": 0.009878157021155649\n        },\n        \"boolq\": {\n            \"acc\": 0.6568807339449542,\n            \"acc_stderr\": 0.008303445777655941\n        },\n        \"hellaswag\": {\n            \"acc\": 0.5223063134833699,\n            \"acc_stderr\": 0.0049848133910162145,\n            \"acc_norm\": 0.6998605855407289,\n            \"acc_norm_stderr\": 0.004573817163007456\n        },\n        \"lambada_openai\": {\n            \"ppl\": 4.565625743504039,\n            \"ppl_stderr\": 0.1034965673734545,\n            \"acc\": 0.6673782262759558,\n            \"acc_stderr\": 0.006564073374961233\n        },\n        \"openbookqa\": {\n            \"acc\": 0.26,\n            \"acc_stderr\": 0.019635965529725512,\n            \"acc_norm\": 0.376,\n            \"acc_norm_stderr\": 0.021683827539286122\n        },\n        \"piqa\": {\n            \"acc\": 0.7665941240478781,\n            \"acc_stderr\": 0.009869247889521001,\n            \"acc_norm\": 0.778563656147987,\n            \"acc_norm_stderr\": 0.009687616456840284\n        },\n        \"sciq\": {\n            \"acc\": 0.924,\n            \"acc_stderr\": 0.008384169266796386,\n            \"acc_norm\": 0.878,\n            \"acc_norm_stderr\": 0.010354864712936698\n        },\n        \"siqa\": {\n            \"acc\": 0.4119754350051177,\n            \"acc_stderr\": 0.011137360400975268,\n            \"acc_norm\": 0.4524053224155578,\n            \"acc_norm_stderr\": 0.011262695440459566\n        },\n        \"truthfulqa_mc\": {\n            \"mc1\": 0.21297429620563035,\n            \"mc1_stderr\": 0.014332203787059685,\n            \"mc2\": 0.3458747299959986,\n            \"mc2_stderr\": 0.013215129281312441\n        },\n        \"winogrande\": {\n            \"acc\": 0.6290449881610103,\n            \"acc_stderr\": 0.01357639990223157\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0,\n        \"arc_easy\": 0,\n        \"boolq\": 1,\n        \"hellaswag\": 0,\n        \"lambada_openai\": 0,\n        \"openbookqa\": 0,\n        \"piqa\": 0,\n        \"sciq\": 0,\n        \"siqa\": 0,\n        \"truthfulqa_mc\": 1,\n        \"winogrande\": 0\n    },\n    \"config\": {\n        \"model\": \"gpt2\",\n        \"model_args\": \"use_fast=False,pretrained=openlm-research/open_llama_3b_v2,trust_remote_code=True,low_cpu_mem_usage=True,dtype=bfloat16\",\n        \"num_fewshot\": 0,\n        \"batch_size\": \"8\",\n        \"batch_sizes\": [],\n        \"device\": \"cuda:4\",\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 100000,\n        \"description_dict\": {}\n    }\n}"
  },
  {
    "path": "evals/external/openlm-research-open_llama_7b_v2.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.38822525597269625,\n            \"acc_stderr\": 0.014241614207414034,\n            \"acc_norm\": 0.42406143344709896,\n            \"acc_norm_stderr\": 0.014441889627464392\n        },\n        \"arc_easy\": {\n            \"acc\": 0.7192760942760943,\n            \"acc_stderr\": 0.009220526174711363,\n            \"acc_norm\": 0.6965488215488216,\n            \"acc_norm_stderr\": 0.009433837434252279\n        },\n        \"boolq\": {\n            \"acc\": 0.7140672782874617,\n            \"acc_stderr\": 0.00790303735916362\n        },\n        \"hellaswag\": {\n            \"acc\": 0.5569607647878908,\n            \"acc_stderr\": 0.004957296691391575,\n            \"acc_norm\": 0.7464648476399124,\n            \"acc_norm_stderr\": 0.004341454841892331\n        },\n        \"lambada_openai\": {\n            \"ppl\": 3.8265934555236463,\n            \"ppl_stderr\": 0.07878439404908999,\n            \"acc\": 0.7104599262565496,\n            \"acc_stderr\": 0.006318823234213216\n        },\n        \"openbookqa\": {\n            \"acc\": 0.302,\n            \"acc_stderr\": 0.020553269174209184,\n            \"acc_norm\": 0.402,\n            \"acc_norm_stderr\": 0.021948929609938606\n        },\n        \"piqa\": {\n            \"acc\": 0.7916213275299239,\n            \"acc_stderr\": 0.009476125383049447,\n            \"acc_norm\": 0.8030467899891186,\n            \"acc_norm_stderr\": 0.009278918898006383\n        },\n        \"sciq\": {\n            \"acc\": 0.938,\n            \"acc_stderr\": 0.007629823996280304,\n            \"acc_norm\": 0.901,\n            \"acc_norm_stderr\": 0.009449248027662747\n        },\n        \"siqa\": {\n            \"acc\": 0.4196519959058342,\n            \"acc_stderr\": 0.011167032303390547,\n            \"acc_norm\": 0.4600818833162743,\n            \"acc_norm_stderr\": 0.011277955967920398\n        },\n        \"truthfulqa_mc\": {\n            \"mc1\": 0.22643818849449204,\n            \"mc1_stderr\": 0.014651337324602576,\n            \"mc2\": 0.3456877328963021,\n            \"mc2_stderr\": 0.013482248222806824\n        },\n        \"winogrande\": {\n            \"acc\": 0.6582478295185478,\n            \"acc_stderr\": 0.013330103018622861\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0,\n        \"arc_easy\": 0,\n        \"boolq\": 1,\n        \"hellaswag\": 0,\n        \"lambada_openai\": 0,\n        \"openbookqa\": 0,\n        \"piqa\": 0,\n        \"sciq\": 0,\n        \"siqa\": 0,\n        \"truthfulqa_mc\": 1,\n        \"winogrande\": 0\n    },\n    \"config\": {\n        \"model\": \"gpt2\",\n        \"model_args\": \"use_fast=False,pretrained=openlm-research/open_llama_7b_v2,trust_remote_code=True,low_cpu_mem_usage=True,dtype=bfloat16\",\n        \"num_fewshot\": 0,\n        \"batch_size\": \"2\",\n        \"batch_sizes\": [],\n        \"device\": \"cuda:0\",\n        \"no_cache\": false,\n        \"limit\": null,\n        \"bootstrap_iters\": 100000,\n        \"description_dict\": {}\n    }\n}"
  },
  {
    "path": "evals/external/tiiuae_falcon-7b.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.40273037542662116,\n      \"acc_stderr\": 0.014332236306790149,\n      \"acc_norm\": 0.43686006825938567,\n      \"acc_norm_stderr\": 0.014494421584256519\n    },\n    \"arc_easy\": {\n      \"acc\": 0.7441077441077442,\n      \"acc_stderr\": 0.008953950243013991,\n      \"acc_norm\": 0.7079124579124579,\n      \"acc_norm_stderr\": 0.00933070561656907\n    },\n    \"boolq\": {\n      \"acc\": 0.735474006116208,\n      \"acc_stderr\": 0.007714546144910642\n    },\n    \"hellaswag\": {\n      \"acc\": 0.5771758613821948,\n      \"acc_stderr\": 0.004929983692795067,\n      \"acc_norm\": 0.7634933280223063,\n      \"acc_norm_stderr\": 0.004240683281093403\n    },\n    \"lambada_openai\": {\n      \"ppl\": 3.3698354504387775,\n      \"ppl_stderr\": 0.06490807599596318,\n      \"acc\": 0.7455850960605472,\n      \"acc_stderr\": 0.006067809764031527\n    },\n    \"openbookqa\": {\n      \"acc\": 0.306,\n      \"acc_stderr\": 0.020629569998345403,\n      \"acc_norm\": 0.442,\n      \"acc_norm_stderr\": 0.02223197069632112\n    },\n    \"piqa\": {\n      \"acc\": 0.794885745375408,\n      \"acc_stderr\": 0.009420971671017915,\n      \"acc_norm\": 0.8057671381936888,\n      \"acc_norm_stderr\": 0.009230209366168272\n    },\n    \"sciq\": {\n      \"acc\": 0.94,\n      \"acc_stderr\": 0.00751375115747492,\n      \"acc_norm\": 0.915,\n      \"acc_norm_stderr\": 0.008823426366942328\n    },\n    \"siqa\": {\n      \"acc\": 0.42067553735926305,\n      \"acc_stderr\": 0.011170778517705619,\n      \"acc_norm\": 0.4600818833162743,\n      \"acc_norm_stderr\": 0.011277955967920396\n    },\n    \"winogrande\": {\n      \"acc\": 0.6724546172059984,\n      \"acc_stderr\": 0.013190169546797016\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"pretrained=tiiuae/falcon-7b,dtype=bfloat16,trust_remote_code=True,low_cpu_mem_usage=True,use_fast=True\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"8\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda\",\n    \"no_cache\": true,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/external/togethercomputer-RedPajama-INCITE-7B-Base2.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.3771331058020478,\n      \"acc_stderr\": 0.014163366896192593,\n      \"acc_norm\": 0.39419795221843,\n      \"acc_norm_stderr\": 0.014280522667467323\n    },\n    \"arc_easy\": {\n      \"acc\": 0.7234848484848485,\n      \"acc_stderr\": 0.00917788010146828,\n      \"acc_norm\": 0.6919191919191919,\n      \"acc_norm_stderr\": 0.009473887075826333\n    },\n    \"boolq\": {\n      \"acc\": 0.7076452599388379,\n      \"acc_stderr\": 0.00795527890990574\n    },\n    \"hellaswag\": {\n      \"acc\": 0.5256920932085242,\n      \"acc_stderr\": 0.004983189711208505,\n      \"acc_norm\": 0.7033459470225055,\n      \"acc_norm_stderr\": 0.004558491550673688\n    },\n    \"lambada_openai\": {\n      \"ppl\": 3.9176883876529036,\n      \"ppl_stderr\": 0.08360630042095321,\n      \"acc\": 0.713370851930914,\n      \"acc_stderr\": 0.006299845944000654\n    },\n    \"openbookqa\": {\n      \"acc\": 0.29,\n      \"acc_stderr\": 0.020313179231745186,\n      \"acc_norm\": 0.406,\n      \"acc_norm_stderr\": 0.021983962090086333\n    },\n    \"piqa\": {\n      \"acc\": 0.7714907508161044,\n      \"acc_stderr\": 0.009796313511829524,\n      \"acc_norm\": 0.7736670293797606,\n      \"acc_norm_stderr\": 0.009763294246879415\n    },\n    \"sciq\": {\n      \"acc\": 0.927,\n      \"acc_stderr\": 0.008230354715244055,\n      \"acc_norm\": 0.897,\n      \"acc_norm_stderr\": 0.009616833339695796\n    },\n    \"siqa\": {\n      \"acc\": 0.4257932446264074,\n      \"acc_stderr\": 0.011188771652377858,\n      \"acc_norm\": 0.44882292732855683,\n      \"acc_norm_stderr\": 0.011254649314820132\n    },\n    \"truthfulqa_mc\": {\n      \"mc1\": 0.23011015911872704,\n      \"mc1_stderr\": 0.014734557959807769,\n      \"mc2\": 0.3301333660822527,\n      \"mc2_stderr\": 0.012995959559501016\n    },\n    \"winogrande\": {\n      \"acc\": 0.6432517758484609,\n      \"acc_stderr\": 0.013463393958028733\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"truthfulqa_mc\": 1,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"use_fast=True,pretrained=togethercomputer/RedPajama-INCITE-7B-Base,low_cpu_mem_usage=True,dtype=auto\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"8\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda:2\",\n    \"no_cache\": false,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/open_llm_leaderboard/stablelm-beta-3b-v2-arc-challenge.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.36689419795221845,\n            \"acc_norm\": 0.3967576791808874\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0\n    },\n    \"config\": {\n        \"model\": \"stabilityai/stablelm-base-alpha-3b-v2\",\n        \"num_fewshot\": 25,\n        \"batch_size\": 8,\n        \"device\": \"cuda:0\",\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 10000,\n        \"description_dict\": null\n    }\n}"
  },
  {
    "path": "evals/open_llm_leaderboard/stablelm-beta-3b-v2-hellaswag.json",
    "content": "{\n    \"results\": {\n        \"hellaswag\": {\n            \"acc\": 0.5239992033459471,\n            \"acc_norm\": 0.7066321449910377\n        }\n    },\n    \"versions\": {\n        \"hellaswag\": 0\n    },\n    \"config\": {\n        \"model\": \"stabilityai/stablelm-base-alpha-3b-v2\",\n        \"num_fewshot\": 10,\n        \"batch_size\": 8,\n        \"device\": \"cuda:0\",\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 10000,\n        \"description_dict\": null\n    }\n}"
  },
  {
    "path": "evals/open_llm_leaderboard/stablelm-beta-3b-v2-mmmlu.json",
    "content": "{\n    \"results\": {\n        \"hendrycksTest-professional_psychology\": {\n            \"acc\": 0.2826797385620915,\n            \"acc_norm\": 0.27124183006535946\n        },\n        \"hendrycksTest-abstract_algebra\": {\n            \"acc\": 0.26,\n            \"acc_norm\": 0.29\n        },\n        \"hendrycksTest-prehistory\": {\n            \"acc\": 0.3271604938271605,\n            \"acc_norm\": 0.26851851851851855\n        },\n        \"hendrycksTest-international_law\": {\n            \"acc\": 0.23140495867768596,\n            \"acc_norm\": 0.36363636363636365\n        },\n        \"hendrycksTest-logical_fallacies\": {\n            \"acc\": 0.20245398773006135,\n            \"acc_norm\": 0.22085889570552147\n        },\n        \"hendrycksTest-professional_medicine\": {\n            \"acc\": 0.30514705882352944,\n            \"acc_norm\": 0.33455882352941174\n        },\n        \"hendrycksTest-high_school_european_history\": {\n            \"acc\": 0.3151515151515151,\n            \"acc_norm\": 0.296969696969697\n        },\n        \"hendrycksTest-high_school_physics\": {\n            \"acc\": 0.2251655629139073,\n            \"acc_norm\": 0.2582781456953642\n        },\n        \"hendrycksTest-management\": {\n            \"acc\": 0.30097087378640774,\n            \"acc_norm\": 0.30097087378640774\n        },\n        \"hendrycksTest-college_mathematics\": {\n            \"acc\": 0.17,\n            \"acc_norm\": 0.24\n        },\n        \"hendrycksTest-college_computer_science\": {\n            \"acc\": 0.29,\n            \"acc_norm\": 0.24\n        },\n        \"hendrycksTest-human_sexuality\": {\n            \"acc\": 0.40458015267175573,\n            \"acc_norm\": 0.3893129770992366\n        },\n        \"hendrycksTest-college_biology\": {\n            \"acc\": 0.2708333333333333,\n            \"acc_norm\": 0.2569444444444444\n        },\n        \"hendrycksTest-high_school_computer_science\": {\n            \"acc\": 0.34,\n            \"acc_norm\": 0.3\n        },\n        \"hendrycksTest-high_school_psychology\": {\n            \"acc\": 0.3467889908256881,\n            \"acc_norm\": 0.326605504587156\n        },\n        \"hendrycksTest-high_school_chemistry\": {\n            \"acc\": 0.2413793103448276,\n            \"acc_norm\": 0.28078817733990147\n        },\n        \"hendrycksTest-astronomy\": {\n            \"acc\": 0.3355263157894737,\n            \"acc_norm\": 0.3355263157894737\n        },\n        \"hendrycksTest-medical_genetics\": {\n            \"acc\": 0.39,\n            \"acc_norm\": 0.4\n        },\n        \"hendrycksTest-nutrition\": {\n            \"acc\": 0.35947712418300654,\n            \"acc_norm\": 0.3758169934640523\n        },\n        \"hendrycksTest-moral_disputes\": {\n            \"acc\": 0.3554913294797688,\n            \"acc_norm\": 0.33815028901734107\n        },\n        \"hendrycksTest-computer_security\": {\n            \"acc\": 0.38,\n            \"acc_norm\": 0.39\n        },\n        \"hendrycksTest-anatomy\": {\n            \"acc\": 0.32592592592592595,\n            \"acc_norm\": 0.2814814814814815\n        },\n        \"hendrycksTest-formal_logic\": {\n            \"acc\": 0.30952380952380953,\n            \"acc_norm\": 0.3253968253968254\n        },\n        \"hendrycksTest-high_school_us_history\": {\n            \"acc\": 0.3088235294117647,\n            \"acc_norm\": 0.29901960784313725\n        },\n        \"hendrycksTest-security_studies\": {\n            \"acc\": 0.3224489795918367,\n            \"acc_norm\": 0.23265306122448978\n        },\n        \"hendrycksTest-high_school_mathematics\": {\n            \"acc\": 0.23703703703703705,\n            \"acc_norm\": 0.2814814814814815\n        },\n        \"hendrycksTest-high_school_macroeconomics\": {\n            \"acc\": 0.2794871794871795,\n            \"acc_norm\": 0.2794871794871795\n        },\n        \"hendrycksTest-clinical_knowledge\": {\n            \"acc\": 0.26037735849056604,\n            \"acc_norm\": 0.32075471698113206\n        },\n        \"hendrycksTest-us_foreign_policy\": {\n            \"acc\": 0.39,\n            \"acc_norm\": 0.41\n        },\n        \"hendrycksTest-virology\": {\n            \"acc\": 0.35542168674698793,\n            \"acc_norm\": 0.3493975903614458\n        },\n        \"hendrycksTest-public_relations\": {\n            \"acc\": 0.34545454545454546,\n            \"acc_norm\": 0.3\n        },\n        \"hendrycksTest-world_religions\": {\n            \"acc\": 0.4093567251461988,\n            \"acc_norm\": 0.4619883040935672\n        },\n        \"hendrycksTest-college_physics\": {\n            \"acc\": 0.3137254901960784,\n            \"acc_norm\": 0.3235294117647059\n        },\n        \"hendrycksTest-high_school_biology\": {\n            \"acc\": 0.267741935483871,\n            \"acc_norm\": 0.2870967741935484\n        },\n        \"hendrycksTest-business_ethics\": {\n            \"acc\": 0.33,\n            \"acc_norm\": 0.28\n        },\n        \"hendrycksTest-high_school_government_and_politics\": {\n            \"acc\": 0.30569948186528495,\n            \"acc_norm\": 0.2849740932642487\n        },\n        \"hendrycksTest-high_school_world_history\": {\n            \"acc\": 0.2742616033755274,\n            \"acc_norm\": 0.27848101265822783\n        },\n        \"hendrycksTest-jurisprudence\": {\n            \"acc\": 0.23148148148148148,\n            \"acc_norm\": 0.24074074074074073\n        },\n        \"hendrycksTest-miscellaneous\": {\n            \"acc\": 0.4227330779054917,\n            \"acc_norm\": 0.41762452107279696\n        },\n        \"hendrycksTest-marketing\": {\n            \"acc\": 0.3974358974358974,\n            \"acc_norm\": 0.39316239316239315\n        },\n        \"hendrycksTest-high_school_microeconomics\": {\n            \"acc\": 0.29411764705882354,\n            \"acc_norm\": 0.3445378151260504\n        },\n        \"hendrycksTest-econometrics\": {\n            \"acc\": 0.2543859649122807,\n            \"acc_norm\": 0.24561403508771928\n        },\n        \"hendrycksTest-conceptual_physics\": {\n            \"acc\": 0.3276595744680851,\n            \"acc_norm\": 0.28936170212765955\n        },\n        \"hendrycksTest-high_school_statistics\": {\n            \"acc\": 0.3287037037037037,\n            \"acc_norm\": 0.33796296296296297\n        },\n        \"hendrycksTest-sociology\": {\n            \"acc\": 0.3333333333333333,\n            \"acc_norm\": 0.31343283582089554\n        },\n        \"hendrycksTest-electrical_engineering\": {\n            \"acc\": 0.2689655172413793,\n            \"acc_norm\": 0.25517241379310346\n        },\n        \"hendrycksTest-elementary_mathematics\": {\n            \"acc\": 0.335978835978836,\n            \"acc_norm\": 0.328042328042328\n        },\n        \"hendrycksTest-high_school_geography\": {\n            \"acc\": 0.3181818181818182,\n            \"acc_norm\": 0.3333333333333333\n        },\n        \"hendrycksTest-philosophy\": {\n            \"acc\": 0.31511254019292606,\n            \"acc_norm\": 0.3247588424437299\n        },\n        \"hendrycksTest-moral_scenarios\": {\n            \"acc\": 0.26927374301675977,\n            \"acc_norm\": 0.27150837988826815\n        },\n        \"hendrycksTest-college_chemistry\": {\n            \"acc\": 0.34,\n            \"acc_norm\": 0.36\n        },\n        \"hendrycksTest-machine_learning\": {\n            \"acc\": 0.2767857142857143,\n            \"acc_norm\": 0.2767857142857143\n        },\n        \"hendrycksTest-professional_accounting\": {\n            \"acc\": 0.29432624113475175,\n            \"acc_norm\": 0.3049645390070922\n        },\n        \"hendrycksTest-professional_law\": {\n            \"acc\": 0.25488917861799215,\n            \"acc_norm\": 0.258148631029987\n        },\n        \"hendrycksTest-college_medicine\": {\n            \"acc\": 0.35260115606936415,\n            \"acc_norm\": 0.3468208092485549\n        },\n        \"hendrycksTest-global_facts\": {\n            \"acc\": 0.26,\n            \"acc_norm\": 0.21\n        },\n        \"hendrycksTest-human_aging\": {\n            \"acc\": 0.28699551569506726,\n            \"acc_norm\": 0.2556053811659193\n        }\n    },\n    \"versions\": {\n        \"hendrycksTest-professional_psychology\": 0,\n        \"hendrycksTest-abstract_algebra\": 0,\n        \"hendrycksTest-prehistory\": 0,\n        \"hendrycksTest-international_law\": 0,\n        \"hendrycksTest-logical_fallacies\": 0,\n        \"hendrycksTest-professional_medicine\": 0,\n        \"hendrycksTest-high_school_european_history\": 0,\n        \"hendrycksTest-high_school_physics\": 0,\n        \"hendrycksTest-management\": 0,\n        \"hendrycksTest-college_mathematics\": 0,\n        \"hendrycksTest-college_computer_science\": 0,\n        \"hendrycksTest-human_sexuality\": 0,\n        \"hendrycksTest-college_biology\": 0,\n        \"hendrycksTest-high_school_computer_science\": 0,\n        \"hendrycksTest-high_school_psychology\": 0,\n        \"hendrycksTest-high_school_chemistry\": 0,\n        \"hendrycksTest-astronomy\": 0,\n        \"hendrycksTest-medical_genetics\": 0,\n        \"hendrycksTest-nutrition\": 0,\n        \"hendrycksTest-moral_disputes\": 0,\n        \"hendrycksTest-computer_security\": 0,\n        \"hendrycksTest-anatomy\": 0,\n        \"hendrycksTest-formal_logic\": 0,\n        \"hendrycksTest-high_school_us_history\": 0,\n        \"hendrycksTest-security_studies\": 0,\n        \"hendrycksTest-high_school_mathematics\": 0,\n        \"hendrycksTest-high_school_macroeconomics\": 0,\n        \"hendrycksTest-clinical_knowledge\": 0,\n        \"hendrycksTest-us_foreign_policy\": 0,\n        \"hendrycksTest-virology\": 0,\n        \"hendrycksTest-public_relations\": 0,\n        \"hendrycksTest-world_religions\": 0,\n        \"hendrycksTest-college_physics\": 0,\n        \"hendrycksTest-high_school_biology\": 0,\n        \"hendrycksTest-business_ethics\": 0,\n        \"hendrycksTest-high_school_government_and_politics\": 0,\n        \"hendrycksTest-high_school_world_history\": 0,\n        \"hendrycksTest-jurisprudence\": 0,\n        \"hendrycksTest-miscellaneous\": 0,\n        \"hendrycksTest-marketing\": 0,\n        \"hendrycksTest-high_school_microeconomics\": 0,\n        \"hendrycksTest-econometrics\": 0,\n        \"hendrycksTest-conceptual_physics\": 0,\n        \"hendrycksTest-high_school_statistics\": 0,\n        \"hendrycksTest-sociology\": 0,\n        \"hendrycksTest-electrical_engineering\": 0,\n        \"hendrycksTest-elementary_mathematics\": 0,\n        \"hendrycksTest-high_school_geography\": 0,\n        \"hendrycksTest-philosophy\": 0,\n        \"hendrycksTest-moral_scenarios\": 0,\n        \"hendrycksTest-college_chemistry\": 0,\n        \"hendrycksTest-machine_learning\": 0,\n        \"hendrycksTest-professional_accounting\": 0,\n        \"hendrycksTest-professional_law\": 0,\n        \"hendrycksTest-college_medicine\": 0,\n        \"hendrycksTest-global_facts\": 0,\n        \"hendrycksTest-human_aging\": 0\n    },\n    \"config\": {\n        \"model\": \"stabilityai/stablelm-base-alpha-3b-v2\",\n        \"num_fewshot\": 5,\n        \"batch_size\": 8,\n        \"device\": \"cuda:0\",\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 10000,\n        \"description_dict\": null\n    }\n}"
  },
  {
    "path": "evals/open_llm_leaderboard/stablelm-beta-3b-v2-truthfulqa_mc.json",
    "content": "{\n    \"results\": {\n        \"truthfulqa_mc\": {\n            \"mc1\": 0.22399020807833536,\n            \"mc2\": 0.35873137294835583\n        }\n    },\n    \"versions\": {\n        \"truthfulqa_mc\": 1\n    },\n    \"config\": {\n        \"model\": \"stabilityai/stablelm-base-alpha-3b-v2\",\n        \"num_fewshot\": 0,\n        \"batch_size\": 8,\n        \"device\": \"cuda:0\",\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 10000,\n        \"description_dict\": null\n    }\n}"
  },
  {
    "path": "evals/open_llm_leaderboard/stablelm-beta-7b-v2-arc-challenge.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.431740614334471,\n            \"acc_norm\": 0.4726962457337884\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0\n    },\n    \"config\": {\n        \"model\": \"stabilityai/stablelm-base-alpha-7b-v2\",\n        \"num_fewshot\": 25,\n        \"batch_size\": 8,\n        \"device\": \"cuda:0\",\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 10000,\n        \"description_dict\": null\n    }\n}"
  },
  {
    "path": "evals/open_llm_leaderboard/stablelm-beta-7b-v2-hellaswag.json",
    "content": "{\n    \"results\": {\n        \"hellaswag\": {\n            \"acc\": 0.5721967735510854,\n            \"acc_norm\": 0.7706632144991038\n        }\n    },\n    \"versions\": {\n        \"hellaswag\": 0\n    },\n    \"config\": {\n        \"model\": \"stabilityai/stablelm-base-alpha-7b-v2\",\n        \"num_fewshot\": 10,\n        \"batch_size\": 8,\n        \"device\": \"cuda:0\",\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 10000,\n        \"description_dict\": null\n    }\n}"
  },
  {
    "path": "evals/open_llm_leaderboard/stablelm-beta-7b-v2-mmmlu.json",
    "content": "{\n    \"results\": {\n        \"hendrycksTest-high_school_european_history\": {\n            \"acc\": 0.48484848484848486,\n            \"acc_norm\": 0.47878787878787876\n        },\n        \"hendrycksTest-college_chemistry\": {\n            \"acc\": 0.29,\n            \"acc_norm\": 0.28\n        },\n        \"hendrycksTest-international_law\": {\n            \"acc\": 0.38016528925619836,\n            \"acc_norm\": 0.4214876033057851\n        },\n        \"hendrycksTest-high_school_macroeconomics\": {\n            \"acc\": 0.36153846153846153,\n            \"acc_norm\": 0.35128205128205126\n        },\n        \"hendrycksTest-miscellaneous\": {\n            \"acc\": 0.6513409961685823,\n            \"acc_norm\": 0.644955300127714\n        },\n        \"hendrycksTest-professional_law\": {\n            \"acc\": 0.31877444589308995,\n            \"acc_norm\": 0.3116036505867014\n        },\n        \"hendrycksTest-medical_genetics\": {\n            \"acc\": 0.51,\n            \"acc_norm\": 0.55\n        },\n        \"hendrycksTest-high_school_world_history\": {\n            \"acc\": 0.3881856540084388,\n            \"acc_norm\": 0.4050632911392405\n        },\n        \"hendrycksTest-professional_medicine\": {\n            \"acc\": 0.4742647058823529,\n            \"acc_norm\": 0.44485294117647056\n        },\n        \"hendrycksTest-moral_disputes\": {\n            \"acc\": 0.42196531791907516,\n            \"acc_norm\": 0.430635838150289\n        },\n        \"hendrycksTest-high_school_geography\": {\n            \"acc\": 0.5404040404040404,\n            \"acc_norm\": 0.5454545454545454\n        },\n        \"hendrycksTest-high_school_microeconomics\": {\n            \"acc\": 0.42857142857142855,\n            \"acc_norm\": 0.42436974789915966\n        },\n        \"hendrycksTest-machine_learning\": {\n            \"acc\": 0.32142857142857145,\n            \"acc_norm\": 0.32142857142857145\n        },\n        \"hendrycksTest-security_studies\": {\n            \"acc\": 0.3510204081632653,\n            \"acc_norm\": 0.2612244897959184\n        },\n        \"hendrycksTest-world_religions\": {\n            \"acc\": 0.6608187134502924,\n            \"acc_norm\": 0.695906432748538\n        },\n        \"hendrycksTest-conceptual_physics\": {\n            \"acc\": 0.40425531914893614,\n            \"acc_norm\": 0.3659574468085106\n        },\n        \"hendrycksTest-high_school_physics\": {\n            \"acc\": 0.2582781456953642,\n            \"acc_norm\": 0.2980132450331126\n        },\n        \"hendrycksTest-nutrition\": {\n            \"acc\": 0.43137254901960786,\n            \"acc_norm\": 0.45098039215686275\n        },\n        \"hendrycksTest-high_school_psychology\": {\n            \"acc\": 0.581651376146789,\n            \"acc_norm\": 0.5614678899082569\n        },\n        \"hendrycksTest-professional_accounting\": {\n            \"acc\": 0.2907801418439716,\n            \"acc_norm\": 0.30141843971631205\n        },\n        \"hendrycksTest-human_aging\": {\n            \"acc\": 0.4304932735426009,\n            \"acc_norm\": 0.39461883408071746\n        },\n        \"hendrycksTest-college_physics\": {\n            \"acc\": 0.35294117647058826,\n            \"acc_norm\": 0.3627450980392157\n        },\n        \"hendrycksTest-high_school_chemistry\": {\n            \"acc\": 0.28078817733990147,\n            \"acc_norm\": 0.3054187192118227\n        },\n        \"hendrycksTest-high_school_biology\": {\n            \"acc\": 0.4290322580645161,\n            \"acc_norm\": 0.43548387096774194\n        },\n        \"hendrycksTest-us_foreign_policy\": {\n            \"acc\": 0.57,\n            \"acc_norm\": 0.53\n        },\n        \"hendrycksTest-philosophy\": {\n            \"acc\": 0.4758842443729904,\n            \"acc_norm\": 0.4662379421221865\n        },\n        \"hendrycksTest-logical_fallacies\": {\n            \"acc\": 0.4110429447852761,\n            \"acc_norm\": 0.4294478527607362\n        },\n        \"hendrycksTest-anatomy\": {\n            \"acc\": 0.48148148148148145,\n            \"acc_norm\": 0.4888888888888889\n        },\n        \"hendrycksTest-jurisprudence\": {\n            \"acc\": 0.4351851851851852,\n            \"acc_norm\": 0.5\n        },\n        \"hendrycksTest-high_school_computer_science\": {\n            \"acc\": 0.41,\n            \"acc_norm\": 0.46\n        },\n        \"hendrycksTest-elementary_mathematics\": {\n            \"acc\": 0.32275132275132273,\n            \"acc_norm\": 0.32275132275132273\n        },\n        \"hendrycksTest-abstract_algebra\": {\n            \"acc\": 0.27,\n            \"acc_norm\": 0.28\n        },\n        \"hendrycksTest-prehistory\": {\n            \"acc\": 0.44753086419753085,\n            \"acc_norm\": 0.44135802469135804\n        },\n        \"hendrycksTest-moral_scenarios\": {\n            \"acc\": 0.2581005586592179,\n            \"acc_norm\": 0.26033519553072626\n        },\n        \"hendrycksTest-college_medicine\": {\n            \"acc\": 0.4161849710982659,\n            \"acc_norm\": 0.41040462427745666\n        },\n        \"hendrycksTest-econometrics\": {\n            \"acc\": 0.2982456140350877,\n            \"acc_norm\": 0.2807017543859649\n        },\n        \"hendrycksTest-human_sexuality\": {\n            \"acc\": 0.5038167938931297,\n            \"acc_norm\": 0.4961832061068702\n        },\n        \"hendrycksTest-management\": {\n            \"acc\": 0.5242718446601942,\n            \"acc_norm\": 0.5339805825242718\n        },\n        \"hendrycksTest-computer_security\": {\n            \"acc\": 0.57,\n            \"acc_norm\": 0.54\n        },\n        \"hendrycksTest-college_computer_science\": {\n            \"acc\": 0.38,\n            \"acc_norm\": 0.34\n        },\n        \"hendrycksTest-public_relations\": {\n            \"acc\": 0.5636363636363636,\n            \"acc_norm\": 0.5454545454545454\n        },\n        \"hendrycksTest-sociology\": {\n            \"acc\": 0.5522388059701493,\n            \"acc_norm\": 0.5124378109452736\n        },\n        \"hendrycksTest-global_facts\": {\n            \"acc\": 0.29,\n            \"acc_norm\": 0.28\n        },\n        \"hendrycksTest-astronomy\": {\n            \"acc\": 0.42105263157894735,\n            \"acc_norm\": 0.42105263157894735\n        },\n        \"hendrycksTest-high_school_statistics\": {\n            \"acc\": 0.27314814814814814,\n            \"acc_norm\": 0.2916666666666667\n        },\n        \"hendrycksTest-professional_psychology\": {\n            \"acc\": 0.40522875816993464,\n            \"acc_norm\": 0.39052287581699346\n        },\n        \"hendrycksTest-high_school_us_history\": {\n            \"acc\": 0.37745098039215685,\n            \"acc_norm\": 0.39705882352941174\n        },\n        \"hendrycksTest-business_ethics\": {\n            \"acc\": 0.42,\n            \"acc_norm\": 0.44\n        },\n        \"hendrycksTest-clinical_knowledge\": {\n            \"acc\": 0.42641509433962266,\n            \"acc_norm\": 0.4226415094339623\n        },\n        \"hendrycksTest-college_biology\": {\n            \"acc\": 0.4236111111111111,\n            \"acc_norm\": 0.4166666666666667\n        },\n        \"hendrycksTest-formal_logic\": {\n            \"acc\": 0.42063492063492064,\n            \"acc_norm\": 0.40476190476190477\n        },\n        \"hendrycksTest-marketing\": {\n            \"acc\": 0.6965811965811965,\n            \"acc_norm\": 0.6837606837606838\n        },\n        \"hendrycksTest-college_mathematics\": {\n            \"acc\": 0.23,\n            \"acc_norm\": 0.29\n        },\n        \"hendrycksTest-electrical_engineering\": {\n            \"acc\": 0.4827586206896552,\n            \"acc_norm\": 0.4\n        },\n        \"hendrycksTest-high_school_government_and_politics\": {\n            \"acc\": 0.5284974093264249,\n            \"acc_norm\": 0.5492227979274611\n        },\n        \"hendrycksTest-virology\": {\n            \"acc\": 0.37349397590361444,\n            \"acc_norm\": 0.39759036144578314\n        },\n        \"hendrycksTest-high_school_mathematics\": {\n            \"acc\": 0.2518518518518518,\n            \"acc_norm\": 0.28888888888888886\n        }\n    },\n    \"versions\": {\n        \"hendrycksTest-high_school_european_history\": 0,\n        \"hendrycksTest-college_chemistry\": 0,\n        \"hendrycksTest-international_law\": 0,\n        \"hendrycksTest-high_school_macroeconomics\": 0,\n        \"hendrycksTest-miscellaneous\": 0,\n        \"hendrycksTest-professional_law\": 0,\n        \"hendrycksTest-medical_genetics\": 0,\n        \"hendrycksTest-high_school_world_history\": 0,\n        \"hendrycksTest-professional_medicine\": 0,\n        \"hendrycksTest-moral_disputes\": 0,\n        \"hendrycksTest-high_school_geography\": 0,\n        \"hendrycksTest-high_school_microeconomics\": 0,\n        \"hendrycksTest-machine_learning\": 0,\n        \"hendrycksTest-security_studies\": 0,\n        \"hendrycksTest-world_religions\": 0,\n        \"hendrycksTest-conceptual_physics\": 0,\n        \"hendrycksTest-high_school_physics\": 0,\n        \"hendrycksTest-nutrition\": 0,\n        \"hendrycksTest-high_school_psychology\": 0,\n        \"hendrycksTest-professional_accounting\": 0,\n        \"hendrycksTest-human_aging\": 0,\n        \"hendrycksTest-college_physics\": 0,\n        \"hendrycksTest-high_school_chemistry\": 0,\n        \"hendrycksTest-high_school_biology\": 0,\n        \"hendrycksTest-us_foreign_policy\": 0,\n        \"hendrycksTest-philosophy\": 0,\n        \"hendrycksTest-logical_fallacies\": 0,\n        \"hendrycksTest-anatomy\": 0,\n        \"hendrycksTest-jurisprudence\": 0,\n        \"hendrycksTest-high_school_computer_science\": 0,\n        \"hendrycksTest-elementary_mathematics\": 0,\n        \"hendrycksTest-abstract_algebra\": 0,\n        \"hendrycksTest-prehistory\": 0,\n        \"hendrycksTest-moral_scenarios\": 0,\n        \"hendrycksTest-college_medicine\": 0,\n        \"hendrycksTest-econometrics\": 0,\n        \"hendrycksTest-human_sexuality\": 0,\n        \"hendrycksTest-management\": 0,\n        \"hendrycksTest-computer_security\": 0,\n        \"hendrycksTest-college_computer_science\": 0,\n        \"hendrycksTest-public_relations\": 0,\n        \"hendrycksTest-sociology\": 0,\n        \"hendrycksTest-global_facts\": 0,\n        \"hendrycksTest-astronomy\": 0,\n        \"hendrycksTest-high_school_statistics\": 0,\n        \"hendrycksTest-professional_psychology\": 0,\n        \"hendrycksTest-high_school_us_history\": 0,\n        \"hendrycksTest-business_ethics\": 0,\n        \"hendrycksTest-clinical_knowledge\": 0,\n        \"hendrycksTest-college_biology\": 0,\n        \"hendrycksTest-formal_logic\": 0,\n        \"hendrycksTest-marketing\": 0,\n        \"hendrycksTest-college_mathematics\": 0,\n        \"hendrycksTest-electrical_engineering\": 0,\n        \"hendrycksTest-high_school_government_and_politics\": 0,\n        \"hendrycksTest-virology\": 0,\n        \"hendrycksTest-high_school_mathematics\": 0\n    },\n    \"config\": {\n        \"model\": \"stabilityai/stablelm-base-alpha-7b-v2\",\n        \"num_fewshot\": 5,\n        \"batch_size\": 8,\n        \"device\": \"cuda:0\",\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 10000,\n        \"description_dict\": null\n    }\n}"
  },
  {
    "path": "evals/open_llm_leaderboard/stablelm-beta-7b-v2-truthfulqa_mc.json",
    "content": "{\n    \"results\": {\n        \"truthfulqa_mc\": {\n            \"mc1\": 0.2423500611995104,\n            \"mc2\": 0.3645856452722409\n        }\n    },\n    \"versions\": {\n        \"truthfulqa_mc\": 1\n    },\n    \"config\": {\n        \"model\": \"stabilityai/stablelm-base-alpha-7b-v2\",\n        \"num_fewshot\": 0,\n        \"batch_size\": 8,\n        \"device\": \"cuda:0\",\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 10000,\n        \"description_dict\": null\n    }\n}"
  },
  {
    "path": "evals/stablelm-3b-4e1t.json",
    "content": "{\n  \"results\": {\n    \"arc_challenge\": {\n      \"acc\": 0.3779863481228669,\n      \"acc_stderr\": 0.014169664520303103,\n      \"acc_norm\": 0.40017064846416384,\n      \"acc_norm_stderr\": 0.014317197787809169\n    },\n    \"arc_easy\": {\n      \"acc\": 0.7247474747474747,\n      \"acc_stderr\": 0.009164888895174743,\n      \"acc_norm\": 0.6771885521885522,\n      \"acc_norm_stderr\": 0.009593950220366743\n    },\n    \"boolq\": {\n      \"acc\": 0.7562691131498471,\n      \"acc_stderr\": 0.007509067459407977\n    },\n    \"hellaswag\": {\n      \"acc\": 0.5482971519617607,\n      \"acc_stderr\": 0.004966448380104203,\n      \"acc_norm\": 0.7389962158932484,\n      \"acc_norm_stderr\": 0.004382844128643414\n    },\n    \"lambada_openai\": {\n      \"ppl\": 3.827229437157901,\n      \"ppl_stderr\": 0.07919367133146168,\n      \"acc\": 0.7063846303124394,\n      \"acc_stderr\": 0.006344860619678723\n    },\n    \"openbookqa\": {\n      \"acc\": 0.314,\n      \"acc_stderr\": 0.020776701920308997,\n      \"acc_norm\": 0.398,\n      \"acc_norm_stderr\": 0.02191237788577997\n    },\n    \"piqa\": {\n      \"acc\": 0.7921653971708379,\n      \"acc_stderr\": 0.009466997964536423,\n      \"acc_norm\": 0.7976060935799782,\n      \"acc_norm_stderr\": 0.00937428968280767\n    },\n    \"sciq\": {\n      \"acc\": 0.948,\n      \"acc_stderr\": 0.007024624213817142,\n      \"acc_norm\": 0.919,\n      \"acc_norm_stderr\": 0.00863212103213998\n    },\n    \"siqa\": {\n      \"acc\": 0.41914022517911975,\n      \"acc_stderr\": 0.011165140708170328,\n      \"acc_norm\": 0.44319344933469806,\n      \"acc_norm_stderr\": 0.011240812731564952\n    },\n    \"winogrande\": {\n      \"acc\": 0.665351223362273,\n      \"acc_stderr\": 0.013261823629558375\n    }\n  },\n  \"versions\": {\n    \"arc_challenge\": 0,\n    \"arc_easy\": 0,\n    \"boolq\": 1,\n    \"hellaswag\": 0,\n    \"lambada_openai\": 0,\n    \"openbookqa\": 0,\n    \"piqa\": 0,\n    \"sciq\": 0,\n    \"siqa\": 0,\n    \"winogrande\": 0\n  },\n  \"config\": {\n    \"model\": \"gpt2\",\n    \"model_args\": \"pretrained=stablelm-3b-4e1t,dtype=bfloat16,trust_remote_code=True,low_cpu_mem_usage=True,use_fast=True\",\n    \"num_fewshot\": 0,\n    \"batch_size\": \"8\",\n    \"batch_sizes\": [],\n    \"device\": \"cuda\",\n    \"no_cache\": true,\n    \"limit\": null,\n    \"bootstrap_iters\": 100000,\n    \"description_dict\": {}\n  }\n}"
  },
  {
    "path": "evals/stablelm-base-alpha-3b-v2.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.3242320819112628,\n            \"acc_stderr\": 0.013678810399518815,\n            \"acc_norm\": 0.3506825938566553,\n            \"acc_norm_stderr\": 0.013944635930726085\n        },\n        \"arc_easy\": {\n            \"acc\": 0.6725589225589226,\n            \"acc_stderr\": 0.009629415859100609,\n            \"acc_norm\": 0.6325757575757576,\n            \"acc_norm_stderr\": 0.009892552616211548\n        },\n        \"boolq\": {\n            \"acc\": 0.645565749235474,\n            \"acc_stderr\": 0.008366245832688784\n        },\n        \"hellaswag\": {\n            \"acc\": 0.5105556662019518,\n            \"acc_stderr\": 0.004988669343786956,\n            \"acc_norm\": 0.6858195578570006,\n            \"acc_norm_stderr\": 0.004632399677490817\n        },\n        \"lambada_openai\": {\n            \"ppl\": 3.995184075578421,\n            \"ppl_stderr\": 0.08502310534019014,\n            \"acc\": 0.7025033960799534,\n            \"acc_stderr\": 0.006369088639380684\n        },\n        \"openbookqa\": {\n            \"acc\": 0.264,\n            \"acc_stderr\": 0.019732885585922098,\n            \"acc_norm\": 0.386,\n            \"acc_norm_stderr\": 0.021793529219281165\n        },\n        \"piqa\": {\n            \"acc\": 0.7600652883569097,\n            \"acc_stderr\": 0.009963625892809545,\n            \"acc_norm\": 0.780195865070729,\n            \"acc_norm_stderr\": 0.00966195861665176\n        },\n        \"sciq\": {\n            \"acc\": 0.921,\n            \"acc_stderr\": 0.008534156773333438,\n            \"acc_norm\": 0.868,\n            \"acc_norm_stderr\": 0.01070937396352803\n        },\n        \"siqa\": {\n            \"acc\": 0.4247697031729785,\n            \"acc_stderr\": 0.011185271257671346,\n            \"acc_norm\": 0.4600818833162743,\n            \"acc_norm_stderr\": 0.011277955967920396\n        },\n        \"truthfulqa_mc\": {\n            \"mc1\": 0.22399020807833536,\n            \"mc1_stderr\": 0.014594964329474202,\n            \"mc2\": 0.35868737415331753,\n            \"mc2_stderr\": 0.013670666454421172\n        },\n        \"winogrande\": {\n            \"acc\": 0.6211523283346487,\n            \"acc_stderr\": 0.013633724603180328\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0,\n        \"arc_easy\": 0,\n        \"boolq\": 1,\n        \"hellaswag\": 0,\n        \"lambada_openai\": 0,\n        \"openbookqa\": 0,\n        \"piqa\": 0,\n        \"sciq\": 0,\n        \"siqa\": 0,\n        \"truthfulqa_mc\": 1,\n        \"winogrande\": 0\n    },\n    \"config\": {\n        \"model\": \"gpt2\",\n        \"model_args\": \"use_fast=True,pretrained=stabilityai/stablelm-base-alpha-3b-v2,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\n        \"num_fewshot\": 0,\n        \"batch_size\": \"8\",\n        \"batch_sizes\": [],\n        \"device\": \"cuda:2\",\n        \"no_cache\": false,\n        \"limit\": null,\n        \"bootstrap_iters\": 100000,\n        \"description_dict\": {}\n    }\n}"
  },
  {
    "path": "evals/stablelm-base-alpha-3b.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.2363481228668942,\n            \"acc_stderr\": 0.012414960524301829,\n            \"acc_norm\": 0.257679180887372,\n            \"acc_norm_stderr\": 0.012780770562768407\n        },\n        \"arc_easy\": {\n            \"acc\": 0.4473905723905724,\n            \"acc_stderr\": 0.010202832385415646,\n            \"acc_norm\": 0.42045454545454547,\n            \"acc_norm_stderr\": 0.010129114278546535\n        },\n        \"boolq\": {\n            \"acc\": 0.5764525993883792,\n            \"acc_stderr\": 0.008642220663071512\n        },\n        \"hellaswag\": {\n            \"acc\": 0.329416450906194,\n            \"acc_stderr\": 0.004690407826933909,\n            \"acc_norm\": 0.38309101772555265,\n            \"acc_norm_stderr\": 0.004851466623601455\n        },\n        \"lambada_openai\": {\n            \"ppl\": 20.187359473367042,\n            \"ppl_stderr\": 0.7391414436494796,\n            \"acc\": 0.4172326799922375,\n            \"acc_stderr\": 0.006869874864639983\n        },\n        \"openbookqa\": {\n            \"acc\": 0.17,\n            \"acc_stderr\": 0.016815633531393422,\n            \"acc_norm\": 0.294,\n            \"acc_norm_stderr\": 0.020395095484936614\n        },\n        \"sciq\": {\n            \"acc\": 0.717,\n            \"acc_stderr\": 0.01425181090648174,\n            \"acc_norm\": 0.649,\n            \"acc_norm_stderr\": 0.015100563798316403\n        },\n        \"siqa\": {\n            \"acc\": 0.3561924257932446,\n            \"acc_stderr\": 0.010836006561369118,\n            \"acc_norm\": 0.4094165813715456,\n            \"acc_norm_stderr\": 0.01112684957658903\n        },\n        \"piqa\": {\n            \"acc\": 0.6381936887921654,\n            \"acc_stderr\": 0.011211397313020371,\n            \"acc_norm\": 0.6273122959738846,\n            \"acc_norm_stderr\": 0.01128131833289774\n        },\n        \"truthfulqa_mc\": {\n            \"mc1\": 0.22399020807833536,\n            \"mc1_stderr\": 0.014594964329474205,\n            \"mc2\": 0.4052844601694033,\n            \"mc2_stderr\": 0.014547007787950397\n        },\n        \"winogrande\": {\n            \"acc\": 0.526440410418311,\n            \"acc_stderr\": 0.014032823874407229\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0,\n        \"arc_easy\": 0,\n        \"boolq\": 1,\n        \"hellaswag\": 0,\n        \"lambada_openai\": 0,\n        \"openbookqa\": 0,\n        \"piqa\": 0,\n        \"sciq\": 0,\n        \"siqa\": 0,\n        \"truthfulqa_mc\": 1,\n        \"winogrande\": 0\n    },\n    \"config\": {\n        \"model\": \"gpt2\",\n        \"model_args\": \"use_fast=True,pretrained=stabilityai/stablelm-base-alpha-3b,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\n        \"num_fewshot\": 0,\n        \"batch_size\": \"8\",\n        \"batch_sizes\": [],\n        \"device\": null,\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 100000,\n        \"description_dict\": {}\n    }\n}"
  },
  {
    "path": "evals/stablelm-base-alpha-7b-v2.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.3848122866894198,\n            \"acc_stderr\": 0.014218371065251107,\n            \"acc_norm\": 0.4052901023890785,\n            \"acc_norm_stderr\": 0.014346869060229334\n        },\n        \"arc_easy\": {\n            \"acc\": 0.7319023569023569,\n            \"acc_stderr\": 0.009089526578213694,\n            \"acc_norm\": 0.6910774410774411,\n            \"acc_norm_stderr\": 0.009481048387761353\n        },\n        \"boolq\": {\n            \"acc\": 0.7030581039755351,\n            \"acc_stderr\": 0.007991418738281637\n        },\n        \"hellaswag\": {\n            \"acc\": 0.5553674566819359,\n            \"acc_stderr\": 0.004959094146471525,\n            \"acc_norm\": 0.7426807408882693,\n            \"acc_norm_stderr\": 0.004362633637374482\n        },\n        \"lambada_openai\": {\n            \"ppl\": 3.366151815984524,\n            \"ppl_stderr\": 0.06573496070440447,\n            \"acc\": 0.7418979235396856,\n            \"acc_stderr\": 0.006096490478492321\n        },\n        \"openbookqa\": {\n            \"acc\": 0.304,\n            \"acc_stderr\": 0.020591649571224925,\n            \"acc_norm\": 0.418,\n            \"acc_norm_stderr\": 0.022080014812228134\n        },\n        \"piqa\": {\n            \"acc\": 0.7845484221980413,\n            \"acc_stderr\": 0.009592463115658117,\n            \"acc_norm\": 0.8019586507072906,\n            \"acc_norm_stderr\": 0.009298209954776726\n        },\n        \"sciq\": {\n            \"acc\": 0.939,\n            \"acc_stderr\": 0.007572076091557423,\n            \"acc_norm\": 0.917,\n            \"acc_norm_stderr\": 0.00872852720607479\n        },\n        \"siqa\": {\n            \"acc\": 0.4242579324462641,\n            \"acc_stderr\": 0.011183502662341787,\n            \"acc_norm\": 0.4692937563971341,\n            \"acc_norm_stderr\": 0.011292714928103489\n        },\n        \"truthfulqa_mc\": {\n            \"mc1\": 0.2423500611995104,\n            \"mc1_stderr\": 0.01500067437357034,\n            \"mc2\": 0.36457253410937596,\n            \"mc2_stderr\": 0.0135567172376818\n        },\n        \"winogrande\": {\n            \"acc\": 0.6882399368587214,\n            \"acc_stderr\": 0.013018571197638537\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0,\n        \"arc_easy\": 0,\n        \"boolq\": 1,\n        \"hellaswag\": 0,\n        \"lambada_openai\": 0,\n        \"openbookqa\": 0,\n        \"piqa\": 0,\n        \"sciq\": 0,\n        \"siqa\": 0,\n        \"truthfulqa_mc\": 1,\n        \"winogrande\": 0\n    },\n    \"config\": {\n        \"model\": \"gpt2\",\n        \"model_args\": \"use_fast=True,pretrained=stabilityai/stablelm-base-alpha-7b-v2,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\n        \"num_fewshot\": 0,\n        \"batch_size\": \"2\",\n        \"batch_sizes\": [],\n        \"device\": \"cuda:2\",\n        \"no_cache\": false,\n        \"limit\": null,\n        \"bootstrap_iters\": 100000,\n        \"description_dict\": {}\n    }\n}"
  },
  {
    "path": "evals/stablelm-base-alpha-7b.json",
    "content": "{\n    \"results\": {\n        \"arc_challenge\": {\n            \"acc\": 0.24829351535836178,\n            \"acc_stderr\": 0.012624912868089755,\n            \"acc_norm\": 0.27047781569965873,\n            \"acc_norm_stderr\": 0.012980954547659556\n        },\n        \"arc_easy\": {\n            \"acc\": 0.5054713804713805,\n            \"acc_stderr\": 0.01025916922861504,\n            \"acc_norm\": 0.44865319865319864,\n            \"acc_norm_stderr\": 0.010205540414612876\n        },\n        \"boolq\": {\n            \"acc\": 0.600611620795107,\n            \"acc_stderr\": 0.008566178448007831\n        },\n        \"hellaswag\": {\n            \"acc\": 0.3467436765584545,\n            \"acc_stderr\": 0.004749606196363328,\n            \"acc_norm\": 0.41216889065923124,\n            \"acc_norm_stderr\": 0.004912192800263316\n        },\n        \"lambada_openai\": {\n            \"ppl\": 9.459674222745228,\n            \"ppl_stderr\": 0.33183598007493614,\n            \"acc\": 0.5511352610130021,\n            \"acc_stderr\": 0.006929452414790843\n        },\n        \"openbookqa\": {\n            \"acc\": 0.214,\n            \"acc_stderr\": 0.018359797502387025,\n            \"acc_norm\": 0.32,\n            \"acc_norm_stderr\": 0.02088234048876181\n        },\n        \"piqa\": {\n            \"acc\": 0.6675734494015234,\n            \"acc_stderr\": 0.010991141557445587,\n            \"acc_norm\": 0.6735582154515778,\n            \"acc_norm_stderr\": 0.010940467046177304\n        },\n        \"sciq\": {\n            \"acc\": 0.801,\n            \"acc_stderr\": 0.012631649083099177,\n            \"acc_norm\": 0.697,\n            \"acc_norm_stderr\": 0.014539683710535257\n        },\n        \"siqa\": {\n            \"acc\": 0.394575230296827,\n            \"acc_stderr\": 0.011059713589720797,\n            \"acc_norm\": 0.4140225179119754,\n            \"acc_norm_stderr\": 0.011145545345176117\n        },\n        \"truthfulqa_mc\": {\n            \"mc1\": 0.23745410036719705,\n            \"mc1_stderr\": 0.014896277441041836,\n            \"mc2\": 0.3995908363542637,\n            \"mc2_stderr\": 0.014371652685680641\n        },\n        \"winogrande\": {\n            \"acc\": 0.5011838989739542,\n            \"acc_stderr\": 0.014052446290529012\n        }\n    },\n    \"versions\": {\n        \"arc_challenge\": 0,\n        \"arc_easy\": 0,\n        \"boolq\": 1,\n        \"hellaswag\": 0,\n        \"lambada_openai\": 0,\n        \"openbookqa\": 0,\n        \"piqa\": 0,\n        \"sciq\": 0,\n        \"siqa\": 0,\n        \"truthfulqa_mc\": 1,\n        \"winogrande\": 0\n    },\n    \"config\": {\n        \"model\": \"gpt2\",\n        \"model_args\": \"use_fast=True,pretrained=stabilityai/stablelm-base-alpha-7b,trust_remote_code=True,low_cpu_mem_usage=True,dtype=auto\",\n        \"num_fewshot\": 0,\n        \"batch_size\": \"2\",\n        \"batch_sizes\": [],\n        \"device\": \"cuda:1\",\n        \"no_cache\": true,\n        \"limit\": null,\n        \"bootstrap_iters\": 100000,\n        \"description_dict\": {}\n    }\n}"
  },
  {
    "path": "notebooks/stablelm-alpha.ipynb",
    "content": "{\n  \"cells\": [\n    {\n      \"cell_type\": \"markdown\",\n      \"metadata\": {\n        \"id\": \"4weyZUFfgUlD\"\n      },\n      \"source\": [\n        \"# StableLM-Alpha\\n\",\n        \"\\n\",\n        \"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/Stability-AI/StableLM//blob/main/notebooks/stablelm-alpha.ipynb)\\n\",\n        \"\\n\",\n        \"<img src=\\\"https://raw.githubusercontent.com/Stability-AI/StableLM/main/assets/mascot.png?token=GHSAT0AAAAAABWTZAV7EFSADKXWO3HDNKPYZBZ6Z7A\\\"/>\\n\",\n        \"\\n\",\n        \"This notebook is designed to let you quickly generate text with the latest StableLM models (**StableLM-Alpha**) using Hugging Face's `transformers` library.\"\n      ]\n    },\n    {\n      \"cell_type\": \"code\",\n      \"execution_count\": null,\n      \"metadata\": {\n        \"id\": \"8xicyuk_Ezuw\"\n      },\n      \"outputs\": [],\n      \"source\": [\n        \"!nvidia-smi\"\n      ]\n    },\n    {\n      \"cell_type\": \"code\",\n      \"execution_count\": null,\n      \"metadata\": {\n        \"id\": \"V1Da2YDX71IF\"\n      },\n      \"outputs\": [],\n      \"source\": [\n        \"!pip install -U pip\\n\",\n        \"!pip install accelerate bitsandbytes torch transformers\"\n      ]\n    },\n    {\n      \"cell_type\": \"code\",\n      \"execution_count\": 3,\n      \"metadata\": {\n        \"cellView\": \"form\",\n        \"id\": \"sSifeGXKlIgY\"\n      },\n      \"outputs\": [],\n      \"source\": [\n        \"#@title Setup\\n\",\n        \"\\n\",\n        \"import torch\\n\",\n        \"from transformers import AutoModelForCausalLM, AutoTokenizer, StoppingCriteria, StoppingCriteriaList\\n\",\n        \"\\n\",\n        \"from IPython.display import Markdown, display\\n\",\n        \"def hr(): display(Markdown('---'))\\n\",\n        \"def cprint(msg: str, color: str = \\\"blue\\\", **kwargs) -> None:\\n\",\n        \"    color_codes = {\\n\",\n        \"        \\\"blue\\\": \\\"\\\\033[34m\\\",\\n\",\n        \"        \\\"red\\\": \\\"\\\\033[31m\\\",\\n\",\n        \"        \\\"green\\\": \\\"\\\\033[32m\\\",\\n\",\n        \"        \\\"yellow\\\": \\\"\\\\033[33m\\\",\\n\",\n        \"        \\\"purple\\\": \\\"\\\\033[35m\\\",\\n\",\n        \"        \\\"cyan\\\": \\\"\\\\033[36m\\\",\\n\",\n        \"    }\\n\",\n        \"    \\n\",\n        \"    if color not in color_codes:\\n\",\n        \"        raise ValueError(f\\\"Invalid info color: `{color}`\\\")\\n\",\n        \"    \\n\",\n        \"    print(color_codes[color] + msg + \\\"\\\\033[0m\\\", **kwargs)\"\n      ]\n    },\n    {\n      \"cell_type\": \"code\",\n      \"execution_count\": null,\n      \"metadata\": {\n        \"cellView\": \"form\",\n        \"id\": \"dQZCeE-ujdzW\"\n      },\n      \"outputs\": [],\n      \"source\": [\n        \"#@title Pick Your Model\\n\",\n        \"#@markdown Refer to Hugging Face docs for more information the parameters below: https://huggingface.co/docs/transformers/main/en/main_classes/model#transformers.PreTrainedModel.from_pretrained\\n\",\n        \"\\n\",\n        \"# Choose model name\\n\",\n        \"model_name = \\\"stabilityai/stablelm-tuned-alpha-7b\\\" #@param [\\\"stabilityai/stablelm-tuned-alpha-7b\\\", \\\"stabilityai/stablelm-base-alpha-7b\\\", \\\"stabilityai/stablelm-tuned-alpha-3b\\\", \\\"stabilityai/stablelm-base-alpha-3b\\\"]\\n\",\n        \"\\n\",\n        \"cprint(f\\\"Using `{model_name}`\\\", color=\\\"blue\\\")\\n\",\n        \"\\n\",\n        \"# Select \\\"big model inference\\\" parameters\\n\",\n        \"torch_dtype = \\\"float16\\\" #@param [\\\"float16\\\", \\\"bfloat16\\\", \\\"float\\\"]\\n\",\n        \"load_in_8bit = False #@param {type:\\\"boolean\\\"}\\n\",\n        \"device_map = \\\"auto\\\"\\n\",\n        \"\\n\",\n        \"cprint(f\\\"Loading with: `{torch_dtype=}, {load_in_8bit=}, {device_map=}`\\\")\\n\",\n        \"\\n\",\n        \"tokenizer = AutoTokenizer.from_pretrained(model_name)\\n\",\n        \"model = AutoModelForCausalLM.from_pretrained(\\n\",\n        \"    model_name,\\n\",\n        \"    torch_dtype=getattr(torch, torch_dtype),\\n\",\n        \"    load_in_8bit=load_in_8bit,\\n\",\n        \"    device_map=device_map,\\n\",\n        \"    offload_folder=\\\"./offload\\\",\\n\",\n        \")\"\n      ]\n    },\n    {\n      \"cell_type\": \"code\",\n      \"execution_count\": 35,\n      \"metadata\": {\n        \"cellView\": \"form\",\n        \"colab\": {\n          \"base_uri\": \"https://localhost:8080/\",\n          \"height\": 327\n        },\n        \"id\": \"P01Db-SVwtPO\",\n        \"outputId\": \"9911dead-44b8-43e2-de73-c40857131065\"\n      },\n      \"outputs\": [\n        {\n          \"name\": \"stdout\",\n          \"output_type\": \"stream\",\n          \"text\": [\n            \"\\u001b[34mSampling with: `max_new_tokens=128, temperature=0.7, top_k=0, top_p=0.9, do_sample=True`\\u001b[0m\\n\"\n          ]\n        },\n        {\n          \"data\": {\n            \"text/markdown\": [\n              \"---\"\n            ],\n            \"text/plain\": [\n              \"<IPython.core.display.Markdown object>\"\n            ]\n          },\n          \"metadata\": {},\n          \"output_type\": \"display_data\"\n        },\n        {\n          \"name\": \"stdout\",\n          \"output_type\": \"stream\",\n          \"text\": [\n            \"Can you write a song about a pirate at sea? \\u001b[32mSure, here's a song about a pirate at sea:\\n\",\n            \"\\n\",\n            \"Verse 1:\\n\",\n            \"There he was, a pirate so bold\\n\",\n            \"Sailing the seas, his story untold\\n\",\n            \"His name was Captain Jack, and he ruled the waves\\n\",\n            \"A legend in the seas, he conquered all his foes\\n\",\n            \"\\n\",\n            \"Chorus:\\n\",\n            \"Oh, Captain Jack, the pirate of the sea\\n\",\n            \"Your bravery and your daring, set us all free\\n\",\n            \"From the tyranny of the sea, you led us to glory\\n\",\n            \"A legend in our hearts, you'll be remembered as our story\\n\",\n            \"\\n\",\n            \"Verse 2:\\n\",\n            \"He sailed the\\u001b[0m\\n\"\n          ]\n        }\n      ],\n      \"source\": [\n        \"#@title Generate Text\\n\",\n        \"#@markdown <b>Note: The model response is colored in green</b>\\n\",\n        \"\\n\",\n        \"class StopOnTokens(StoppingCriteria):\\n\",\n        \"    def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs) -> bool:\\n\",\n        \"        stop_ids = [50278, 50279, 50277, 1, 0]\\n\",\n        \"        for stop_id in stop_ids:\\n\",\n        \"            if input_ids[0][-1] == stop_id:\\n\",\n        \"                return True\\n\",\n        \"        return False\\n\",\n        \"\\n\",\n        \"# Process the user prompt\\n\",\n        \"user_prompt = \\\"Can you write a song about a pirate at sea?\\\" #@param {type:\\\"string\\\"}\\n\",\n        \"if \\\"tuned\\\" in model_name:\\n\",\n        \"    # Add system prompt for chat tuned models\\n\",\n        \"    system_prompt = \\\"\\\"\\\"<|SYSTEM|># StableLM Tuned (Alpha version)\\n\",\n        \"    - StableLM is a helpful and harmless open-source AI language model developed by StabilityAI.\\n\",\n        \"    - StableLM is excited to be able to help the user, but will refuse to do anything that could be considered harmful to the user.\\n\",\n        \"    - StableLM is more than just an information source, StableLM is also able to write poetry, short stories, and make jokes.\\n\",\n        \"    - StableLM will refuse to participate in anything that could harm a human.\\n\",\n        \"    \\\"\\\"\\\"\\n\",\n        \"    prompt = f\\\"{system_prompt}<|USER|>{user_prompt}<|ASSISTANT|>\\\"\\n\",\n        \"else:\\n\",\n        \"    prompt = user_prompt\\n\",\n        \"\\n\",\n        \"# Sampling args\\n\",\n        \"max_new_tokens = 128 #@param {type:\\\"slider\\\", min:32.0, max:3072.0, step:32}\\n\",\n        \"temperature = 0.7 #@param {type:\\\"slider\\\", min:0.0, max:1.25, step:0.05}\\n\",\n        \"top_k = 0 #@param {type:\\\"slider\\\", min:0.0, max:1.0, step:0.05}\\n\",\n        \"top_p = 0.9 #@param {type:\\\"slider\\\", min:0.0, max:1.0, step:0.05}\\n\",\n        \"do_sample = True #@param {type:\\\"boolean\\\"}\\n\",\n        \"\\n\",\n        \"cprint(f\\\"Sampling with: `{max_new_tokens=}, {temperature=}, {top_k=}, {top_p=}, {do_sample=}`\\\")\\n\",\n        \"hr()\\n\",\n        \"\\n\",\n        \"# Create `generate` inputs\\n\",\n        \"inputs = tokenizer(prompt, return_tensors=\\\"pt\\\")\\n\",\n        \"inputs.to(model.device)\\n\",\n        \"\\n\",\n        \"# Generate\\n\",\n        \"tokens = model.generate(\\n\",\n        \"    **inputs,\\n\",\n        \"    max_new_tokens=max_new_tokens,\\n\",\n        \"    temperature=temperature,\\n\",\n        \"    top_k=top_k,\\n\",\n        \"    top_p=top_p,\\n\",\n        \"    do_sample=do_sample,\\n\",\n        \"    pad_token_id=tokenizer.eos_token_id,\\n\",\n        \"    stopping_criteria=StoppingCriteriaList([StopOnTokens()])\\n\",\n        \")\\n\",\n        \"\\n\",\n        \"# Extract out only the completion tokens\\n\",\n        \"completion_tokens = tokens[0][inputs['input_ids'].size(1):]\\n\",\n        \"completion = tokenizer.decode(completion_tokens, skip_special_tokens=True)\\n\",\n        \"\\n\",\n        \"# Display\\n\",\n        \"print(user_prompt + \\\" \\\", end=\\\"\\\")\\n\",\n        \"cprint(completion, color=\\\"green\\\")\"\n      ]\n    },\n    {\n      \"cell_type\": \"markdown\",\n      \"metadata\": {\n        \"id\": \"rIZm5uwaQLa4\"\n      },\n      \"source\": [\n        \"## License (Apache 2.0)\\n\",\n        \"\\n\",\n        \"Copyright (c) 2023 by [StabilityAI LTD](https://stability.ai/)\\n\",\n        \"\\n\",\n        \"Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n\",\n        \"you may not use this file except in compliance with the License.\\n\",\n        \"You may obtain a copy of the License at\\n\",\n        \"\\n\",\n        \"    http://www.apache.org/licenses/LICENSE-2.0\\n\",\n        \"\\n\",\n        \"Unless required by applicable law or agreed to in writing, software\\n\",\n        \"distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n\",\n        \"WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n\",\n        \"See the License for the specific language governing permissions and\\n\",\n        \"limitations under the License.\"\n      ]\n    }\n  ],\n  \"metadata\": {\n    \"accelerator\": \"GPU\",\n    \"colab\": {\n      \"machine_shape\": \"hm\",\n      \"provenance\": []\n    },\n    \"gpuClass\": \"standard\",\n    \"kernelspec\": {\n      \"display_name\": \"Python 3\",\n      \"name\": \"python3\"\n    },\n    \"language_info\": {\n      \"name\": \"python\"\n    }\n  },\n  \"nbformat\": 4,\n  \"nbformat_minor\": 0\n}\n"
  }
]