File size: 1,821 Bytes
f8c6cc2
 
 
 
 
 
2f4b141
 
 
f8c6cc2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
language:
- ru
- en
size_categories:
- 100M<n<1B
tags:
- not-for-all-audiences
pretty_name: DaruLM
---
# DaruLM dataset for LLM adaptation

## Table of Contents
- [Table of Contents](#table-of-contents)
- [Description](#description)
- [Usage](#usage)

## Description
A growing collection of texts of various domains for Russian LLM adaptation extracted from other Hugging Face datasets and open resources. 

**Usage of this dataset is possible only for scientific purposes on a non-commercial basis.**

**Credits:** Initial datasets were provided by Ilya Gusev

**NOTICE:** Some domain splits are based on vocabulary stats and may be noisy

**Current domains:** (used for ```domains``` argument in ```load_datasets```):
|            |            |            |                |
|------------|------------|------------|----------------|
| accounting | antique    | aphorisms  | art            |
| biography  | biology    | buriy      | business       |
| cinema     | computers  | design     | dramaturgy     |
| economics  | enwiki     | essay      | fantasy        |
| gazeta     | geography  | guidebooks | habr           |
| history    | humor      | language   | law            |
| lenta      | literature | medicine   | military       |
| music      | ods-tass   | philosophy | pikabu         |
| politic    | prose      | psychology | reference      |
| religion   | science    | sociology  | taiga-fontanka |
| textbook   | wiki       | UNDEFINED  |                |



## Usage

Prerequisites:

```bash
pip install datasets zstandard jsonlines pysimdjson
```

Dataset iteration:

```python
import datasets

# Load habr and textbooks
for example in datasets.load_dataset('dichspace/darulm', domains=["habr","textbook"], split="train", streaming=True):
    print(example.keys())
    print(example)
    break
```