The viewer is disabled because this dataset repo requires arbitrary Python code execution. Please consider
removing the
loading script
and relying on
automated data support
(you can use
convert_to_parquet
from the datasets
library). If this is not possible, please
open a discussion
for direct help.
naab-raw (raw version of the naab corpus)
[If you want to join our community to keep up with news, models and datasets from naab, click on this link.]
Dataset Summary
This is the raw (uncleaned) version of the naab corpus. You can use also customize our preprocess script and make your own cleaned corpus. This repository is a hub for all Farsi corpora. Feel free to add your corpus following the contribution guidelines.
You can download the dataset by the command below:
from datasets import load_dataset
dataset = load_dataset("SLPL/naab-raw")
If you wanted to download a specific part of the corpus you can set the config name to the specific corpus name:
from datasets import load_dataset
dataset = load_dataset("SLPL/naab-raw", "CC-fa")
Supported Tasks and Leaderboards
This corpus can be used for training all language models trained by Masked Language Modeling (MLM) or any other self-supervised objective.
language-modeling
masked-language-modeling
Changelog
It's crucial to log changes on the projects which face changes periodically. Please refer to the CHANGELOG.md for more details.
Dataset Structure
Each row of the dataset will look like something like the below:
{
'text': "این یک تست برای نمایش یک پاراگراف در پیکره متنی ناب است.",
}
text
: the textual paragraph.
Data Splits
This corpus contains only a split (the train
split).
Dataset Creation
Curation Rationale
Here are some details about each part of this corpus.
CC-fa
The Common Crawl corpus contains petabytes of data collected since 2008. It contains raw web page data, extracted metadata, and text extractions. We use the Farsi part of it here.
W2C
The W2C stands for Web to Corpus and it contains several corpera. We contain the Farsi part of it in this corpus.
Contribution Guideline
In order to add your dataset, you should follow the below steps and make a pull request in order to be merged with the naab-raw:
- Add your dataset to
_CORPUS_URLS
innaab-raw.py
like:
...
"DATASET_NAME": "LINK_TO_A_PUBLIC_DOWNLOADABLE_FILE.txt"
...
- Add a log of your changes to the CHANGELOG.md.
- Add some minor descriptions to the Curation Rationale under a subsection with your dataset name.
Personal and Sensitive Information
Since this corpus is briefly a compilation of some former corpora we take no responsibility for personal information included in this corpus. If you detect any of these violations please let us know, we try our best to remove them from the corpus ASAP.
We tried our best to provide anonymity while keeping the crucial information. We shuffled some parts of the corpus so the information passing through possible conversations wouldn't be harmful.
Additional Information
Dataset Curators
- Sadra Sabouri (Sharif University of Technology)
- Elnaz Rahmati (Sharif University of Technology)
Licensing Information
mit
Citation Information
@article{sabouri2022naab,
title={naab: A ready-to-use plug-and-play corpus for Farsi},
author={Sabouri, Sadra and Rahmati, Elnaz and Gooran, Soroush and Sameti, Hossein},
journal={arXiv preprint arXiv:2208.13486},
year={2022}
}
DOI:https://doi.org/10.48550/arXiv.2208.13486.
Contributions
Thanks to @sadrasabouri and @elnazrahmati for adding this dataset.
Keywords
- Farsi
- Persian
- raw text
- پیکره فارسی
- پیکره متنی
- آموزش مدل زبانی
- Downloads last month
- 149