Datasets:
SLPL
/

Languages:
Persian
ArXiv:
License:
naab-raw / README.md
sadrasabouri's picture
Update README.md
77eed8e
|
raw
history blame
5.77 kB
metadata
language:
  - fa
license:
  - mit
multilinguality:
  - monolingual
task_categories:
  - language-modeling
  - masked-language-modeling
task_ids:
  - language-modeling
  - masked-language-modeling
pretty_name: naab-raw (raw version of the naab corpus)

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.]

Table of Contents

Dataset Description

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.

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:

  1. Add your dataset to _CORPUS_URLS in naab-raw.py like:
...
    "DATASET_NAME": "LINK_TO_A_PUBLIC_DOWNLOADABLE_FILE.txt"
...
  1. Add a log of your changes to the CHANGELOG.md.
  2. 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

@misc{https://doi.org/10.48550/arxiv.2208.13486,
  doi = {10.48550/ARXIV.2208.13486},
  url = {https://arxiv.org/abs/2208.13486},
  author = {Sabouri, Sadra and Rahmati, Elnaz and Gooran, Soroush and Sameti, Hossein},
  keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
  title = {naab: A ready-to-use plug-and-play corpus for Farsi},
  publisher = {arXiv},
  year = {2022},
  copyright = {Creative Commons Attribution Non Commercial Share Alike 4.0 International}
}

DOI:https://doi.org/10.48550/arXiv.2208.13486.

Contributions

Thanks to @sadrasabouri and @elnazrahmati for adding this dataset.

Keywords

  • Farsi
  • Persian
  • raw text
  • پیکره فارسی
  • پیکره متنی
  • آموزش مدل زبانی