dichspace commited on
Commit
f8c6cc2
·
verified ·
1 Parent(s): 39523fd

Added info for usage

Browse files
Files changed (1) hide show
  1. README.md +59 -0
README.md CHANGED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ru
4
+ - en
5
+ size_categories:
6
+ - 100M<n<1B
7
+ ---
8
+ # DaruLM dataset for LLM adaptation
9
+
10
+ ## Table of Contents
11
+ - [Table of Contents](#table-of-contents)
12
+ - [Description](#description)
13
+ - [Usage](#usage)
14
+
15
+ ## Description
16
+ A growing collection of texts of various domains for Russian LLM adaptation extracted from other Hugging Face datasets and open resources.
17
+
18
+ **Usage of this dataset is possible only for scientific purposes on a non-commercial basis.**
19
+
20
+ **Credits:** Initial datasets were provided by Ilya Gusev
21
+
22
+ **NOTICE:** Some domain splits are based on vocabulary stats and may be noisy
23
+
24
+ **Current domains:** (used for ```domains``` argument in ```load_datasets```):
25
+ | | | | |
26
+ |------------|------------|------------|----------------|
27
+ | accounting | antique | aphorisms | art |
28
+ | biography | biology | buriy | business |
29
+ | cinema | computers | design | dramaturgy |
30
+ | economics | enwiki | essay | fantasy |
31
+ | gazeta | geography | guidebooks | habr |
32
+ | history | humor | language | law |
33
+ | lenta | literature | medicine | military |
34
+ | music | ods-tass | philosophy | pikabu |
35
+ | politic | prose | psychology | reference |
36
+ | religion | science | sociology | taiga-fontanka |
37
+ | textbook | wiki | UNDEFINED | |
38
+
39
+
40
+
41
+ ## Usage
42
+
43
+ Prerequisites:
44
+
45
+ ```bash
46
+ pip install datasets zstandard jsonlines pysimdjson
47
+ ```
48
+
49
+ Dataset iteration:
50
+
51
+ ```python
52
+ import datasets
53
+
54
+ # Load habr and textbooks
55
+ for example in datasets.load_dataset('dichspace/darulm', domains=["habr","textbook"], split="train", streaming=True):
56
+ print(example.keys())
57
+ print(example)
58
+ break
59
+ ```