File size: 650 Bytes
0d47fca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4bc0668
0d47fca
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
license: odc-by
task_categories:
- text-generation
language:
- en
tags:
- language-modeling
- casual-lm
- llm
pretty_name: Dolma
size_categories:
- 100B<n<1T
---

Tokenized (Llama 3) verison of [NousResearch/dolma-v1_7-3B](https://huggingface.co/datasets/NousResearch/dolma-v1_7-3B) as a [Nanotron](https://github.com/huggingface/nanotron) dataset.


Can also be used directly with numpy, for example
```python
import numpy as np

dataset_buffer_mmap = np.memmap("dolma-v1_7-3B-nanoset-l3_input_ids.npy", mode="r", order="C", dtype=np.int32)
dataset_buffer = memoryview(dataset_buffer_mmap)
dataset_number_of_tokens = int(len(dataset_buffer))
```