Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -14,4 +14,54 @@ configs:
|
|
14 |
data_files:
|
15 |
- split: train
|
16 |
path: data/train-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
data_files:
|
15 |
- split: train
|
16 |
path: data/train-*
|
17 |
+
task_categories:
|
18 |
+
- text-generation
|
19 |
+
language:
|
20 |
+
- fa
|
21 |
+
pretty_name: 'HmBlogs: A big general Persian corpus'
|
22 |
+
size_categories:
|
23 |
+
- 10M<n<100M
|
24 |
---
|
25 |
+
|
26 |
+
# HmBlogs: A big general Persian corpus
|
27 |
+
HmBlogs is a general Persian corpus collected from nearly 20 million blog posts over a period of 15 years containig 6.8 billion tokens.
|
28 |
+
This version is the **preprocessed version** of the dataset prepared by the original authors and converted to proper format to integrate with 🤗Datasets.
|
29 |
+
In order to access the raw versions visit the official link at http://nlplab.sbu.ac.ir/hmBlogs-v3 .
|
30 |
+
|
31 |
+
**Paper:** https://arxiv.org/abs/2111.02362 <br>
|
32 |
+
**Authors:** Hamzeh Motahari Khansari, Mehrnoush Shamsfard <br>
|
33 |
+
**Original Link:** http://nlplab.sbu.ac.ir/hmBlogs-v3/<br>
|
34 |
+
|
35 |
+
## Usage
|
36 |
+
This dataset can be used for masked/causal language modeling. You can easily load this dataset like below:
|
37 |
+
|
38 |
+
```python
|
39 |
+
from datasets import load_dataset
|
40 |
+
|
41 |
+
# Load the whole dataset
|
42 |
+
dataset = load_dataset("arxyzan/hmblogs-clean", split="train")
|
43 |
+
|
44 |
+
# Load a portion by %
|
45 |
+
dataset = load_dataset("arxyzan/hmblogs-clean", split="train[:50%]")
|
46 |
+
|
47 |
+
# Load a custom shard
|
48 |
+
dataset = load_dataset("arxyzan/hmblogs-clean", data_files=["data/train-00000-of-00046.parquet", "data/train-00001-of-00046.parquet"])
|
49 |
+
```
|
50 |
+
|
51 |
+
# Citation
|
52 |
+
```cite
|
53 |
+
@article{DBLP:journals/corr/abs-2111-02362,
|
54 |
+
author = {Hamzeh Motahari Khansari and
|
55 |
+
Mehrnoush Shamsfard},
|
56 |
+
title = {HmBlogs: {A} big general Persian corpus},
|
57 |
+
journal = {CoRR},
|
58 |
+
volume = {abs/2111.02362},
|
59 |
+
year = {2021},
|
60 |
+
url = {https://arxiv.org/abs/2111.02362},
|
61 |
+
eprinttype = {arXiv},
|
62 |
+
eprint = {2111.02362},
|
63 |
+
timestamp = {Fri, 05 Nov 2021 15:25:54 +0100},
|
64 |
+
biburl = {https://dblp.org/rec/journals/corr/abs-2111-02362.bib},
|
65 |
+
bibsource = {dblp computer science bibliography, https://dblp.org}
|
66 |
+
}
|
67 |
+
```
|