Achal Dave
commited on
Commit
•
39adea4
1
Parent(s):
f091363
Update readme
Browse files
README.md
CHANGED
@@ -1,199 +1,142 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
tags: []
|
4 |
---
|
5 |
|
6 |
-
# Model Card for Model ID
|
7 |
|
8 |
-
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
|
|
|
10 |
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
### Model Description
|
15 |
-
|
16 |
-
<!-- Provide a longer summary of what this model is. -->
|
17 |
-
|
18 |
-
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
19 |
-
|
20 |
-
- **Developed by:** [More Information Needed]
|
21 |
-
- **Funded by [optional]:** [More Information Needed]
|
22 |
-
- **Shared by [optional]:** [More Information Needed]
|
23 |
-
- **Model type:** [More Information Needed]
|
24 |
-
- **Language(s) (NLP):** [More Information Needed]
|
25 |
-
- **License:** [More Information Needed]
|
26 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
-
|
28 |
-
### Model Sources [optional]
|
29 |
-
|
30 |
-
<!-- Provide the basic links for the model. -->
|
31 |
-
|
32 |
-
- **Repository:** [More Information Needed]
|
33 |
-
- **Paper [optional]:** [More Information Needed]
|
34 |
-
- **Demo [optional]:** [More Information Needed]
|
35 |
-
|
36 |
-
## Uses
|
37 |
-
|
38 |
-
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
-
|
40 |
-
### Direct Use
|
41 |
-
|
42 |
-
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
-
|
44 |
-
[More Information Needed]
|
45 |
-
|
46 |
-
### Downstream Use [optional]
|
47 |
-
|
48 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
-
|
50 |
-
[More Information Needed]
|
51 |
-
|
52 |
-
### Out-of-Scope Use
|
53 |
-
|
54 |
-
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
-
|
56 |
-
[More Information Needed]
|
57 |
|
58 |
-
|
59 |
|
60 |
-
|
61 |
-
|
62 |
-
[More Information Needed]
|
63 |
-
|
64 |
-
### Recommendations
|
65 |
-
|
66 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
-
|
68 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
-
|
70 |
-
## How to Get Started with the Model
|
71 |
-
|
72 |
-
Use the code below to get started with the model.
|
73 |
-
|
74 |
-
[More Information Needed]
|
75 |
-
|
76 |
-
## Training Details
|
77 |
-
|
78 |
-
### Training Data
|
79 |
-
|
80 |
-
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
|
82 |
-
|
|
|
|
|
83 |
|
84 |
-
### Training Procedure
|
85 |
|
86 |
-
|
87 |
|
88 |
-
|
|
|
|
|
|
|
|
|
|
|
89 |
|
90 |
-
|
91 |
|
|
|
|
|
|
|
92 |
|
93 |
-
#### Training Hyperparameters
|
94 |
|
95 |
-
|
96 |
|
97 |
-
|
98 |
|
99 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
|
101 |
-
|
|
|
102 |
|
103 |
## Evaluation
|
104 |
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
[More Information Needed]
|
192 |
-
|
193 |
-
## Model Card Authors [optional]
|
194 |
-
|
195 |
-
[More Information Needed]
|
196 |
-
|
197 |
-
## Model Card Contact
|
198 |
|
199 |
-
[More Information Needed]
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
|
|
3 |
---
|
4 |
|
|
|
5 |
|
|
|
6 |
|
7 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/63118add64939fabc0108b28/BB42g4V8HTxb5dR4tcy8A.png" alt="DCLM Logo" width="800" style="margin-left:'auto' margin-right:'auto' display:'block'"/>
|
8 |
|
9 |
|
10 |
+
# Model Card for DCLM-Baseline-1B
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
+
DCLM-Baseline-1B is a 1.4 billion parameter language model trained on the DCLM-Baseline dataset, which was curated as part of the DataComp for Language Models (DCLM) benchmark. This model is designed to showcase the effectiveness of systematic data curation techniques for improving language model performance.
|
13 |
|
14 |
+
## Model Details
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
+
| Size | Training Tokens | Layers | Hidden Size | Attention Heads | Context Length |
|
17 |
+
|------|-----------------|--------|-------------|-----------------|----------------|
|
18 |
+
| 1.4B | 2.6T | 24 | 2048 | 16 | 2048 |
|
19 |
|
|
|
20 |
|
21 |
+
### Model Description
|
22 |
|
23 |
+
- **Developed by:** DataComp for Language Models (DCLM) Team
|
24 |
+
- **Model type:** Decoder-only Transformer language model
|
25 |
+
- **Language(s):** English (primarily)
|
26 |
+
- **License:** Apache 2.0
|
27 |
+
- **Contact:** [email protected]
|
28 |
+
- **Date:** July 2024
|
29 |
|
30 |
+
### Model Sources
|
31 |
|
32 |
+
- **Repository:** https://github.com/mlfoundations/dclm
|
33 |
+
- **Dataset:** https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0
|
34 |
+
- **Paper:** [DataComp-LM: In search of the next generation of training sets for language models](https://arxiv.org/abs/2406.11794)
|
35 |
|
|
|
36 |
|
37 |
+
### Training Details
|
38 |
|
39 |
+
The model was trained using the following setup:
|
40 |
|
41 |
+
- **Architecture:** Decoder-only Transformer
|
42 |
+
- **Framework:** PyTorch with OpenLM
|
43 |
+
- **Optimizer:** AdamW
|
44 |
+
- **Learning Rate:** 1e-2 (peak)
|
45 |
+
- **Weight Decay:** 1e-2
|
46 |
+
- **Batch Size:** 2048 sequences
|
47 |
+
- **Sequence Length:** 2048 tokens
|
48 |
+
- **Total Training Tokens:** 2.6T
|
49 |
+
- **Hardware:** Trained on H100 GPUs
|
50 |
|
51 |
+
For more detailed training information, please refer to Section 3.4 and Appendix F of the DCLM paper.
|
52 |
+
To ensure our trained model is broadly useful, including for math and coding tasks, we combine our 3.8T [DCLM-BASELINE](https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0) with the [StarCoder](https://huggingface.co/datasets/bigcode/starcoderdata) and [ProofPile2](https://huggingface.co/datasets/EleutherAI/proof-pile-2) data to arrive at a 4.1T token dataset.
|
53 |
|
54 |
## Evaluation
|
55 |
|
56 |
+
Here are the evaluation results for DCLM-Baseline-7B on various tasks (using [llm-foundry](https://github.com/mosaicml/llm-foundry) eval suite)
|
57 |
+
|
58 |
+
| Task | Score |
|
59 |
+
|------------------------------------------|---------|
|
60 |
+
| AGI Eval LSAT AR | 0.2348 |
|
61 |
+
| AGI Eval LSAT LR | 0.3098 |
|
62 |
+
| AGI Eval LSAT RC | 0.3321 |
|
63 |
+
| AGI Eval SAT English | 0.3883 |
|
64 |
+
| AGI Eval SAT Math (CoT) | 0.0182 |
|
65 |
+
| AQuA (CoT) | 0.0245 |
|
66 |
+
| ARC (challenge) | 0.4343 |
|
67 |
+
| ARC (easy) | 0.7290 |
|
68 |
+
| BBQ | 0.4670 |
|
69 |
+
| BigBench Conceptual Combinations | 0.4660 |
|
70 |
+
| BigBench Conlang Translation | 0.0732 |
|
71 |
+
| BigBench CS Algorithms | 0.4515 |
|
72 |
+
| BigBench Dyck Languages | 0.1990 |
|
73 |
+
| BigBench Elementary Math QA | 0.2558 |
|
74 |
+
| BigBench Language Identification | 0.2911 |
|
75 |
+
| BigBench Logical Deduction | 0.2480 |
|
76 |
+
| BigBench Misconceptions | 0.5068 |
|
77 |
+
| BigBench Novel Concepts | 0.5312 |
|
78 |
+
| BigBench Operators | 0.2714 |
|
79 |
+
| BigBench QA Wikidata | 0.6687 |
|
80 |
+
| BigBench Repeat Copy Logic | 0.1562 |
|
81 |
+
| BigBench Strange Stories | 0.6839 |
|
82 |
+
| BigBench Strategy QA | 0.5762 |
|
83 |
+
| BigBench Understanding Fables | 0.4127 |
|
84 |
+
| BoolQ | 0.7131 |
|
85 |
+
| CommonSenseQA | 0.6110 |
|
86 |
+
| COPA | 0.7900 |
|
87 |
+
| CoQA | 0.4257 |
|
88 |
+
| Enterprise PII Classification | 0.5110 |
|
89 |
+
| GPQA Diamond | 0.2121 |
|
90 |
+
| GPQA | 0.2344 |
|
91 |
+
| GSM8K (CoT) | 0.0371 |
|
92 |
+
| HellaSwag | 0.7087 |
|
93 |
+
| HellaSwag (zero-shot) | 0.7001 |
|
94 |
+
| Jeopardy | 0.4218 |
|
95 |
+
| LAMBADA (OpenAI) | 0.6938 |
|
96 |
+
| LogiQA | 0.3026 |
|
97 |
+
| MathQA | 0.2598 |
|
98 |
+
| MMLU (few-shot) | 0.4193 |
|
99 |
+
| MMLU (zero-shot) | 0.3543 |
|
100 |
+
| OpenBookQA | 0.4380 |
|
101 |
+
| PIQA | 0.7786 |
|
102 |
+
| PubMedQA (labeled) | 0.2560 |
|
103 |
+
| Simple Arithmetic (no spaces) | 0.0280 |
|
104 |
+
| Simple Arithmetic (with spaces) | 0.0300 |
|
105 |
+
| SIQA | 0.6735 |
|
106 |
+
| SQuAD | 0.5424 |
|
107 |
+
| SVAMP (CoT) | 0.1800 |
|
108 |
+
| TriviaQA (small subset) | 0.3603 |
|
109 |
+
| Winogender (MC female) | 0.4833 |
|
110 |
+
| Winogender (MC male) | 0.5000 |
|
111 |
+
| Winograd | 0.8352 |
|
112 |
+
| Winogrande | 0.6527 |
|
113 |
+
|
114 |
+
Note: All scores are presented as decimal values between 0 and 1, representing the proportion of correct answers or the model's performance on each task.
|
115 |
+
|
116 |
+
|
117 |
+
## Limitations and Biases
|
118 |
+
|
119 |
+
While DCLM-Baseline-1B demonstrates strong performance across a range of tasks, it's important to note:
|
120 |
+
|
121 |
+
1. The model may exhibit biases present in its training data, which is derived from web crawl data.
|
122 |
+
2. It has not undergone specific alignment or safety fine-tuning, so outputs should be used with caution.
|
123 |
+
3. Performance on tasks not included in the evaluation suite may vary.
|
124 |
+
4. The model's knowledge is limited to its training data cutoff date.
|
125 |
+
|
126 |
+
## Ethical Considerations
|
127 |
+
|
128 |
+
Users should be aware that this model, like all large language models, can potentially generate harmful or biased content. It should not be used for making decisions about individuals or in sensitive applications without appropriate safeguards and human oversight.
|
129 |
+
|
130 |
+
## Citation
|
131 |
+
|
132 |
+
If you use this model in your research, please cite:
|
133 |
+
|
134 |
+
```
|
135 |
+
@article{Li2024DataCompLM,
|
136 |
+
title={DataComp-LM: In search of the next generation of training sets for language models},
|
137 |
+
author={Jeffrey Li and Alex Fang and Georgios Smyrnis and Maor Ivgi and Matt Jordan and Samir Gadre and Hritik Bansal and Etash Guha and Sedrick Keh and Kushal Arora and [... full author list]},
|
138 |
+
journal={arXiv preprint arXiv:2406.11794},
|
139 |
+
year={2024}
|
140 |
+
}
|
141 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
|
|