soldni commited on
Commit
7d5c7f2
1 Parent(s): c56ecb2
.gitignore ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # build artifacts
2
+
3
+ .eggs/
4
+ .mypy_cache
5
+ *.egg-info/
6
+ build/
7
+ dist/
8
+ pip-wheel-metadata/
9
+
10
+
11
+ # dev tools
12
+
13
+ .envrc
14
+ .python-version
15
+ .idea
16
+ .venv/
17
+ .vscode/
18
+ /*.iml
19
+
20
+
21
+ # jupyter notebooks
22
+
23
+ .ipynb_checkpoints
24
+
25
+
26
+ # miscellaneous
27
+
28
+ .cache/
29
+ doc/_build/
30
+ *.swp
31
+ .DS_Store
32
+
33
+
34
+ # python
35
+
36
+ *.pyc
37
+ *.pyo
38
+ __pycache__
39
+
40
+
41
+ # testing and continuous integration
42
+
43
+ .coverage
44
+ .pytest_cache/
45
+ .benchmarks
46
+
47
+ # documentation build artifacts
48
+
49
+ docs/build
50
+ site/
51
+
52
+ # runs
53
+ /runs/
54
+ /wandb/
55
+ /scratch/
56
+
57
+ # compiled rust extension
58
+ target/
59
+ *.so
60
+
61
+ # macOS metadata
62
+ .DS_Store
63
+
64
+ # ignoring test output
65
+ /tests/work/
66
+ /python/dolma/core/warc
67
+
68
+ # ignore vscode directory
69
+ .vscode
70
+
71
+ # ignore temporary directories
72
+ /tmp/
73
+ /temp/
README.md CHANGED
@@ -26,7 +26,7 @@ extra_gated_fields:
26
  I CERTIFY that the information I have provided is true and accurate: checkbox
27
  ---
28
 
29
- # Dolma
30
 
31
  <img alt="Dolma's official logo. It's dolma written in yellow, round lowercase letters over a blue background." src="https://raw.githubusercontent.com/allenai/dolma/main/docs/assets/AI2_Blog_1400x685_2x.webp" width="100%">
32
 
@@ -141,7 +141,7 @@ If you use our dataset or tooling, please cite us at:
141
  @article{dolma,
142
  title = {{Dolma: An Open Corpus of Three Trillion Tokens for Language Model Pretraining Research}},
143
  author = {Luca Soldaini and Rodney Kinney and Akshita Bhagia and Dustin Schwenk and David Atkinson and Russell Authur and Ben Bogin and Khyathi Chandu and Jennifer Dumas and Yanai Elazar and Valentin Hofmann and Ananya Harsh Jha and Sachin Kumar and Li Lucy and Xinxi Lyu and Ian Magnusson and Jacob Morrison and Niklas Muennighoff and Aakanksha Naik and Crystal Nam and Matthew E. Peters and Abhilasha Ravichander and Kyle Richardson and Zejiang Shen and Emma Strubell and Nishant Subramani and Oyvind Tafjord and Evan Pete Walsh and Hannaneh Hajishirzi and Noah A. Smith and Luke Zettlemoyer and Iz Beltagy and Dirk Groeneveld and Jesse Dodge and Kyle Lo},
144
- year = {2023},
145
  journal={arXiv preprint},
146
  }
147
- ```
 
26
  I CERTIFY that the information I have provided is true and accurate: checkbox
27
  ---
28
 
29
+ # Dolma
30
 
31
  <img alt="Dolma's official logo. It's dolma written in yellow, round lowercase letters over a blue background." src="https://raw.githubusercontent.com/allenai/dolma/main/docs/assets/AI2_Blog_1400x685_2x.webp" width="100%">
32
 
 
141
  @article{dolma,
142
  title = {{Dolma: An Open Corpus of Three Trillion Tokens for Language Model Pretraining Research}},
143
  author = {Luca Soldaini and Rodney Kinney and Akshita Bhagia and Dustin Schwenk and David Atkinson and Russell Authur and Ben Bogin and Khyathi Chandu and Jennifer Dumas and Yanai Elazar and Valentin Hofmann and Ananya Harsh Jha and Sachin Kumar and Li Lucy and Xinxi Lyu and Ian Magnusson and Jacob Morrison and Niklas Muennighoff and Aakanksha Naik and Crystal Nam and Matthew E. Peters and Abhilasha Ravichander and Kyle Richardson and Zejiang Shen and Emma Strubell and Nishant Subramani and Oyvind Tafjord and Evan Pete Walsh and Hannaneh Hajishirzi and Noah A. Smith and Luke Zettlemoyer and Iz Beltagy and Dirk Groeneveld and Jesse Dodge and Kyle Lo},
144
+ year = {2024},
145
  journal={arXiv preprint},
146
  }
147
+ ```
dolma.py CHANGED
@@ -50,9 +50,19 @@ _SUBSET_NAME = {
50
  "v1_5r1-sample": "Dolma v1.5r1, 2T sample (Oct 2023)",
51
  "v1_5r2": "Dolma v1.5r2 (Dec 2023)",
52
  }
 
53
 
54
  _DATA_DIR = os.environ.get("DOLMA_DATA_DIR", None)
55
 
 
 
 
 
 
 
 
 
 
56
 
57
  class RedPajama1TConfig(datasets.BuilderConfig):
58
  """BuilderConfig for RedPajama sample."""
 
50
  "v1_5r1-sample": "Dolma v1.5r1, 2T sample (Oct 2023)",
51
  "v1_5r2": "Dolma v1.5r2 (Dec 2023)",
52
  }
53
+ _BASE_URL = "https://olmo-data.org"
54
 
55
  _DATA_DIR = os.environ.get("DOLMA_DATA_DIR", None)
56
 
57
+ _CITATION = """\
58
+ @article{dolma,
59
+ title = {{Dolma: An Open Corpus of Three Trillion Tokens for Language Model Pretraining Research}},
60
+ author = {Luca Soldaini and Rodney Kinney and Akshita Bhagia and Dustin Schwenk and David Atkinson and Russell Authur and Ben Bogin and Khyathi Chandu and Jennifer Dumas and Yanai Elazar and Valentin Hofmann and Ananya Harsh Jha and Sachin Kumar and Li Lucy and Xinxi Lyu and Ian Magnusson and Jacob Morrison and Niklas Muennighoff and Aakanksha Naik and Crystal Nam and Matthew E. Peters and Abhilasha Ravichander and Kyle Richardson and Zejiang Shen and Emma Strubell and Nishant Subramani and Oyvind Tafjord and Evan Pete Walsh and Hannaneh Hajishirzi and Noah A. Smith and Luke Zettlemoyer and Iz Beltagy and Dirk Groeneveld and Jesse Dodge and Kyle Lo},
61
+ year = {2024},
62
+ journal={arXiv preprint},
63
+ }
64
+ """
65
+
66
 
67
  class RedPajama1TConfig(datasets.BuilderConfig):
68
  """BuilderConfig for RedPajama sample."""
urls/dolma-v1.txt CHANGED
The diff for this file is too large to render. See raw diff
 
urls/dolma-v1_5r1-sample.txt CHANGED
The diff for this file is too large to render. See raw diff
 
urls/dolma-v1_5r1.txt CHANGED
The diff for this file is too large to render. See raw diff
 
urls/dolma-v1_5r2.txt CHANGED
The diff for this file is too large to render. See raw diff