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