LLM360: Towards Fully Transparent Open-Source LLMs

The recent surge in open-source Large Language Models (LLMs), such as LLaMA, Falcon, and Mistral, provides diverse options for AI practitioners and researchers. However, most LLMs have only released partial artifacts, such as the final model weights or inference code, and technical reports increasingly limit their scope to high-level design choices and surface statistics. These choices hinder progress in the field by degrading transparency into the training of LLMs and forcing teams to rediscover many details in the training process. We present LLM360, an initiative to fully open-source LLMs, which advocates for all training code and data, model checkpoints, and intermediate results to be made available to the community. The goal of LLM360 is to support open and collaborative AI research by making the end-to-end LLM training process transparent and reproducible by everyone. As a first step of LLM360, we release two 7B parameter LLMs pre-trained from scratch, Amber and CrystalCoder, including their training code, data, intermediate checkpoints, and analyses (at https://www.llm360.ai). We are committed to continually pushing the boundaries of LLMs through this open-source effort. More large-scale and stronger models are underway and will be released in the future.

Paper

References (36)

Scroll for more · 24 remaining

Similar papers

Reviewer 13mu8/10 · confidence 3/52024-05-09

Summary

This paper presents a fully open-sourced language modeling project, whose aim is to release all code, training data, intermediate checkpoints and results, and also serves as a technical report for two 7B parameter language models, Amber (trained on 1.3T tokens of English text) and Crystal (trained on 1.5T tokens of English text and code). Along with these pretrained models, three finetuned variants of these models, AmberChat and CrystalChat (SFT) and AmberSafe (DPO) were described and evaluated. Amber and AmberChat were evaluated on ARC, Hellaswag, MMLU, and TruthfulQA, and Crystal was evaluated additionally on HumanEval (from the Codex paper) and MBPP.

Rating

8

Confidence

3

Ethics flag

1

Reasons to accept

The paper presents a strong motivation for fully open language model research, and includes many useful training details. Moreover trained models and the intermediate checkpoints and WandB logs are useful artifacts for the community.

Reasons to reject

The paper could use more detailed evaluations and further discussion of existing results. CrystalChat does not have any evaluations in the paper currently. 1. Chat-focused evaluation (e.g. AlpacaEval) and safety evaluations (e.g. Toxigen) of AmberChat, CrystalChat and AmberSafe would helpful to see. 2. Further discussion of the performance on Amber (the base model) on the OpenLLM leaderboard benchmarks would be informative. What would make the model's performance more comparable to better 7B models? Is it the training data mix or the size? I understand that concrete observations cannot be made here because all the training details of the other models are not known, but a discussion on how the model could be improved would be helpful. 3. The draft currently does not have any details of the carbon footprint of training the models.

Reviewer WFbL9/10 · confidence 4/52024-05-11

Summary

This work present a fully open-source LLMs initiative LLM360, where not just model weights, but all the training data, training code, model checkpoints and intermediate results are made available to the community. This initiative is significant for the community as it addresses several important challenges LLM research is dealing with - data provenance, reproducibility and open collaboration. In the paper, the authors outline the LLM360 approach, as well as pretrain two new LLMs (Amber and Crystal) from scratch and release them under the LLM360 framework, together with all the associated core open-sourced artifacts. The paper is very well written and clearly structured, the rationale behind open-sourcing the core artifacts is properly explained, the process of pre-training newly presented LLMs and their evaluation are both discussed in sufficient details. The take-home messages and potential use cases of LLM360 make this work useful also for the future researchers and practitioners. The authors are transparent about the issues encountered during training and make suggestions about the responsible usage of their models.

Rating

9

Confidence

4

Ethics flag

1

Reasons to accept

- this ambitious work contributes to a more inclusive and collaborative research environment by reinforcing visibility and access to LLM training, fine-tuning, and evaluation processes. - this work has a strong technological impact, as it presents two newly pre-trained from scratch open-source LLMs with the associated open training datasets, data processing code, training code, hyperparameters, configurations, model checkpoints, collected logs and metrics. These high quality resources will enable future high quality and impactful work. - the described pre-training process of two new LLMs presents a strong empirical foundation. It provides useful insights for the community and is beneficial for understanding the details and potential major issues of the pre-training process.

Reasons to reject

I do not see significant reasons to reject this paper. In order to improve it for the camera-ready version, I would suggest adding a couple of recent models to the related work discussion, specifically Aya (Üstün, Ahmet, et al. Aya model: An instruction finetuned open-access multilingual language model", 2024) and StarCoder 2 (Lozhkov, Anton, et al. "StarCoder 2 and The Stack v2: The Next Generation", 2024 ). It would also be beneficial to read a bit about how the authors see the future of LLM360 in terms of the open collaboration with the community, e.g. do they expect external contributions to LLM360 in the future?

Questions to authors

Correct the typo under the Issues Encountered During Pre-training section on page 9: "...which can be a major help ***the*** the community".

Reviewer wBF56/10 · confidence 5/52024-05-11

Summary

The LLM360 initiative addresses a critical need in the AI research community for complete transparency in the training of Large Language Models (LLMs). The quality of this work is evident in the comprehensive approach to open-sourcing, which includes training code, data, model checkpoints, and intermediate results.

Rating

6

Confidence

5

Ethics flag

1

Reasons to accept

1. LLM360’s full disclosure of training processes, including intermediate checkpoints and data provenance, addresses a significant gap in current LLM research practices. 2. By providing all necessary artifacts for replication, LLM360 significantly enhances the reproducibility of LLM research, aligning with scientific principles.

Reasons to reject

1. The paper lacks extensive comparative analysis with existing LLMs, which could better demonstrate the efficacy and efficiency of the LLM360 models. 2. The long-term sustainability of continually open-sourcing such extensive resources is not discussed, which could be a potential hurdle in widespread adoption.

Questions to authors

1. How do you plan to sustain the LLM360 initiative in terms of funding and resource allocation? 2. Can you elaborate on any legal or ethical considerations in open-sourcing such extensive datasets and model details?

Reviewer XdcN6/10 · confidence 4/52024-05-12

Summary

This paper discusses the importance of open-source large language models and makes a step in this direction by proposing LLM360, an initiative which encourages the community to make publicly available training data, code, model checkpoints and intermediate results. The authors make a step in this direction by releasing two 7B LLMs pretrained from scratch for the English language, Amber (1.3T tokens) and Crystal (1.4T tokens), altogether with their pre-training data, code, intermediate checkpoints and analyses. In addition, the authors also release corresponding fine-tuned models AmberChat, AmberSafe, CrystalChat.

Rating

6

Confidence

4

Ethics flag

2

Reasons to accept

The paper makes an important contribution towards transparent open-source LLMs by releasing to the community two English LLM models pre-trained from scratch along with the training data, code, model checkpoints and performance reports. The work is timely and would greatly benefit the open-source research community. The authors acknowledge issues encountered during pre-training with the goal of being fully transparent about the model training and potential pitfalls.

Reasons to reject

The paper does not discuss the goal of fine-tuning the models. It is unclear from the paper what AmberChat, AmberSafe, CrystalChat have been finetuned to do and for which tasks they can be readily used. The authors do not provide an explanation why on some metrics the Amber model does well, while on some other metrics (ARC) the model is behind the curve. This statement should be clarified: “We also find that our finetuned AMBER models are relatively strong, even compared with other similar models.” The paper frequently mentions the Pythia (Biderman et al., 2023b) model, but there is no direct comparison between the models of this paper with Pythia. No discussion related to data quality used for pre-training and safety aspects of the model. The paper would greatly benefit from more detailed discussion of data selection and analysis of model biases, controllability and trustworthiness. “For future work, we are conducting a more detailed analysis of AMBER and CRYSTAL’s base models as well as their fine-tuned models. Detailed results will be released and discussed in their respective technical reports.” - In my view, this detailed model analysis should not be left to future work, but included in the current paper.

Questions to authors

What guardrails are in place to contain the potential risks associated with the models you plan to release?

Ethics concerns details

The authors plan to release open-source models to the community, however the paper does not include a detailed analysis of Discrimination / Bias / Fairness Concerns associated with these models.

Reviewer 13mu2024-06-04

I thank the authors for their informative response, and am glad to see the additional evaluations and carbon footprint details. Including these details in the paper would make it significantly stronger. I have increased my score accordingly.

Reviewer wBF52024-06-05

I appreciate the author's response. I still have concerns regarding comparative analysis with existing LLMs. It is helpful if the authors could report the results in the response.

Authorsrebuttal2024-06-05

We understand your concern of comparing the model with existing LLMs and agree that a comprehensive report will be helpful. Note that in our paper we compare models with similar conditions (e.g. dataset, release dates), and report the numbers following the exact settings of public OpenLLM leaderboard as possible. We have more evaluation results to share here: **Metrics using Open LLM leaderboard setting** We have evaluated both models using the exact OpenLLM leaderboard settings as below, the numbers of several other models are referenced from the leaderboard. | Model | ARC-C | HellaSwag | MMLU | TruthfulQA| | -------- | ------- | ------- | ------- | ------- | | Amber | 41.89 | 71.63 | 30.76 | 34.00 | | Crystal | 47.01 | 71.97 | 48.78 | 35.91 | | Llama1-7B | 50.94 | 77.80 | 35.67 | 34.34 | | Llama2-7B | 53.07 | 77.74 | 43.80 | 38.98 | | Mistral-7B | 59.98 | 83.31 | 64.16 | 42.15 | | Gemma-7B | 61.09 | 82.20 | 64.56 | 44.79 | | Qwen1.5-7B | 54.18 | 78.51 | 61.97 | 51.08 | | Codellama-7B | 39.93 | 60.80 | 31.12 | 37.82 | | OpenLlama-v2-7B | 43.69 | 72.20 | 41.29 | 35.54 | | Olmo-7B | 45.65 | 77.31 | 28.13 | 35.93 | | Olmo-1.7-7B | 49.4 | 78.68 | 53.52 | 35.89 | | Falcon-7B | 47.87 | 78.13 | 27.79 | 34.36 | | MPT-7B | 47.70 | 77.57 | 30.80 | 33.44 | | RedPajama-Incite-7B | 46.25 | 71.63 | 27.68 | 33.03| In comparison, Amber performs similar to open source models released around the same time (Falcon, MPT, Incite) with a slight advantage on MMLU but weaker in other metrics like ARC. CrystalCoder, our newer model, is comparable with other models released around the same time (llama2, OpenLlama), where it shows a strong MMLU score of 48.78, as compared to Llama2’s 43.80. This field is advancing quickly, and newer models in the list, such as Gemma, Qwen1.5 and Olmo 1.7 are generally better. **Other Metrics** To evaluate our models on metrics on additional benchmarks, such as coding, we have conducted additional evaluations with newer version of LM-Harness and other benchmark suite (the exact evaluation settings will be available together with the evaluation code) | Model | Openbook QA | RACE | BoolQ | PIQA | HumanEval p@1 | MBPP p@1 | Winogrande | GSM8K | | -------- | ------- | ------- | ------- | ------- | ------- | ------- | ------- | ------- | | Amber | 40 | 37.70 | 68.90 | 79.43 | - | - | 64.25 | - | | Crystal | 41.20 | 38.18 | 74.43 | 78.07 | 23.90 | 30.99 | 67.01 | 12.36 | | Llama2-7B | 44.20 | 39.52 | 78.07 | 78.78 | 13.05 | 20.09 | 69.38 | 14.71 | | Llama1-7B | 44.40 | 40.28 | 75.01 | 78.94 | 10.61 | 17.04 | 70.24 | 8.87 | | CodeLlama-7B | 36.80 | 39.52 | 74.65 | 72.58 | 30.06 | 39.20 | 65.51 | 11.15 | | Mistral-7B | 44.20 | 40.86 | 83.73 | 82.15 | 29.11 | 38.78 | 74.19 | 37.68 | | Falcon-7B | 43.80 | 37.42 | 73.70 | 80.57 | 9.42 | 13.38 | 67.24 | 4.62 | | MPT-7B | 42 | 38.66 | 74.00 | 80.30 | 16.52 | 22.49 | 68.51 | - | | Olmo-7B | 42.60 | 38.37 | 72.66 | 79.92 | 14.02 | 14.40 | 68.90 | 4.09 | | Pythia-6.9B | 25.5 | - | 62.10 | 75.20 | 7.68 | 6.00 | - | - | | Starcoder-13B | 32.80 | 32.15 | 63.91 | 65.72 | 30.70 | 37.56 | 54.30 | 9.02 | | Phi1.5 | 48.20 | 37.51 | 74.74 | 75.95 | 35.36 | 35.19 | 72.92 | 31.23 | **Safety related metrics** For instruct-tuned/chat models, the finetuned data can affect the model performance on tasks significantly. Here we provide a comparison on safety/biase of AmberChat, AmberSafe and a few reference models. | Model | Toxigen | BOLD Avg. | BOLD Race std. | | -------- | ------- | ------- | ------- | | AmberSafe | 2.0 | 0.51 | 0.092 | | AmberChat | 10.77 | 0.64 | 0.069 | | Llama2-7B-Base | 21.28 | 0.304 | - | | Llama2-7B-Chat | 0.01 | 0.482 | - | | Code Llama 7B | 22.64 | 0.230 | - | | Code Llama 7B Instruct | 0.04 | 0.503 | 0.042 | | Falcon-7B-Base | 14.53 | 0.283 | - | | Falcon-7B-Instruct | 5.78 | 0.332 | 0.035 | | MPT-7B-Base | 22.32 | 0.32 | - | | MPT-7B-instruct | 16.33 | 0.302 | - | We found that safe tuning with DPO makes Amber less toxic, but not necessarily less biased. Specifically, the BOLD score (sentiment towards certain social groups) shows that AmberChat shows a better sentiment score over different social groups, and has a smaller standard deviation across groups (fair). Here, we only show the standard deviation across races, we have conducted more analysis and could include them in the revision. Compared with other models, AmberSafe shows good scores against a few open source models released around the same time. However, we can see that the Llama models, after tuning with their internal safety data, show a much safer behavior. Due to resource constraints, we prioritized comparing models with comparable settings and models released around the same time of our models, and avoided comparing with moving targets such as commercial APIs. Please let us know if there are specific results you would like to see.

Reviewer wBF52024-06-06

Thank you for the response. Considering the author's response, I have increased my score.

Reviewer WFbL2024-06-05

I thank the authors for the response. I am still confident with my score and would be glad to see this paper published.

Program Chairsdecision2024-07-10

Decision

Accept

© 2026 NYSGPT2525 LLC