Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
6
443k
metadata
stringclasses
2 values
Astronomia é uma ciência natural que estuda corpos celestes (como estrelas, planetas, cometas, nebulosas, aglomerados de estrelas, galáxias) e fenômenos que se originam fora da atmosfera da Terra (como a radiação cósmica de fundo em micro-ondas). Preocupada com a evolução, a física e a química de objetos celestes, bem ...
source: https://huggingface.co/datasets/graelo/wikipedia
Abel — personagem bíblico Abel (filme) — filme de 1986 Prémio Abel — prémio dado a matemáticos em homenagem a Niels Henrik Abel Pessoas Karl Friedrich Abel — compositor alemão Niels Henrik Abel — matemático norueguês Thomas Abel — padre e mártir inglês Abel Ferreira (treinador) — treinador português Gottlieb Fr...
source: https://huggingface.co/datasets/graelo/wikipedia
Alexandre I da Escócia — rei da Escócia (r. 6/12/1214–1249) Alexandre III da Escócia — rei da Escócia (r. 1249–/03/1286) Desambiguações de antropônimos Desambiguações de história
source: https://huggingface.co/datasets/graelo/wikipedia
Aves são uma classe de seres vivos vertebrados endotérmicos caracterizada pela presença de penas, um bico sem dentes, oviparidade de casca rígida, elevado metabolismo, um coração com quatro câmaras e um esqueleto pneumático resistente e leve. As aves estão presentes em todas as regiões do mundo e variam significativame...
source: https://huggingface.co/datasets/graelo/wikipedia
Aldous Leonard Huxley (Godalming, 26 de julho de 1894 — Los Angeles, 22 de novembro de 1963) foi um escritor inglês e um dos mais proeminentes membros da família Huxley. Mais conhecido pelos seus romances, como Admirável Mundo Novo e diversos ensaios, Huxley também editou a revista Oxford Poetry e publicou contos, poes...
source: https://huggingface.co/datasets/graelo/wikipedia
"Amazonas é uma das 27 unidades federativas do Brasil. Está situado na Região Norte, sendo o maio(...TRUNCATED)
source: https://huggingface.co/datasets/graelo/wikipedia
"Antoine-Henri Becquerel (Paris, — Le Croisic, ) foi um físico francês. Becquerel foi o respons(...TRUNCATED)
source: https://huggingface.co/datasets/graelo/wikipedia
"André-Marie Ampère (Lyon, — Marselha, ) foi um físico, filósofo, cientista e matemático fra(...TRUNCATED)
source: https://huggingface.co/datasets/graelo/wikipedia
"Aruaques, também conhecidos como aravaques e arauaques, são numerosos grupos indígenas da Améri(...TRUNCATED)
source: https://huggingface.co/datasets/graelo/wikipedia
"Abolicionismo — movimento político que visava o fim da escravidão\nAbolição (Rio de Janeiro) (...TRUNCATED)
source: https://huggingface.co/datasets/graelo/wikipedia
End of preview. Expand in Data Studio

Portuguese-Corpus

Dataset Summary

Portuguese-Corpus is a concatenation of several portions of Brazilian Portuguese datasets found in the Hub.

In a tokenized format, the dataset (uncompressed) weighs 50 GB and has approximately 4.1B tokens. This version does not have instructional content.

Supported Tasks and Leaderboards

This dataset can be utilized for tasks involving language modeling.

Languages

Portuguese.

Dataset Structure

Data Instances

The dataset consists of the following features:

  • text: a string of text in Portuguese.
  • metadata: the source where that string originated.

Data Fields

{
  "text": "A inteligência artificial (de sigla: IA; do inglês: artificial intelligence, de sigla: AI) é um campo de estudo multidisciplinar que abrange varias áreas do conhecimento.",
  "metadata": "source: https://huggingface.co/datasets/graelo/wikipedia"
}

Data Splits

Available splits are train.

from datasets import load_dataset

dataset = load_dataset("nicholasKluge/Pt-Corpus", split='train')

# If you don't want to download the entire dataset, set streaming to `True`
dataset = load_dataset("nicholasKluge/Pt-Corpus", split='train', streaming=True)

Dataset Creation

Curation Rationale

This dataset was developed as part of the TeenyTinyLlama: open-source tiny language models trained in Brazilian Portuguese paper. In this study, we document the development of open-foundation models tailored for use in low-resource settings, their limitations, and their benefits.

Source Data

Initial Data Collection and Normalization

We utilized some of the filters used in Rae et al. (2021), besides using a fine-tuned BERTimbau to exclude samples classified above a pre-defined toxicity threshold.

Who are the source language producers?

All text samples are native to Portuguese or translated from other languages to Portuguese (slight contamination of other languages should also be expected).

Annotations

Annotation process

Portuguese-Corpus is a concatenation of several portions of Brazilian Portuguese datasets found in the Hub. We utilized some of the filters used in Rae et al. (2021), besides using a fine-tuned BERTimbau to exclude samples classified above a pre-defined toxicity threshold.

Who are the annotators?

Nicholas Kluge Corrêa.

Personal and Sensitive Information

This dataset, sourced from web scraping, may potentially contain personal and sensitive information, alongside offensive, toxic, and disturbing language.

Considerations for Using the Data

Social Impact of Dataset

The presence of personal and sensitive information within the dataset raises concerns about privacy and data protection, potentially leading to breaches of individuals' confidentiality and security. Furthermore, the inclusion of offensive, toxic, and disturbing language in the dataset poses risks of perpetuating harmful behaviors and attitudes, contributing to the normalization of hate speech and online toxicity. Therefore, careful handling and ethical considerations are essential to mitigate these potential social impacts and promote responsible dataset use.

Discussion of Biases

The inclusion of offensive, toxic, and disturbing language in the dataset poses risks of perpetuating harmful behaviors and attitudes, contributing to the normalization of hate speech and online toxicity.

Other Known Limitations

A significant portion of the data within the dataset has been translated using translation engines, potentially resulting in corrupted samples of both language and code. While useful for quickly converting text between languages, translation engines often struggle with accurately preserving the syntax, semantics, and context of programming languages. As a result, the translated code may contain errors, syntax inconsistencies, or even introduce vulnerabilities, rendering it unreliable or unusable for its intended purpose.

Additional Information

Dataset Curators

Nicholas Kluge Corrêa.

Licensing Information

The following datasets (only training splits are a part of the corpus) and respective licenses form the Portuguese-Corpus:

Citation Information

@misc{correa24ttllama,
  title = {TeenyTinyLlama: open-source tiny language models trained in Brazilian Portuguese},
  author = {Corr{\^e}a, Nicholas Kluge and Falk, Sophia and Fatimah, Shiza and Sen, Aniket and De Oliveira, Nythamar},
  journal={arXiv preprint arXiv:2401.16640},
  year={2024}
}

@misc{correa24ttllama,
  doi = {10.1016/j.mlwa.2024.100558},
  url = {https://www.sciencedirect.com/science/article/pii/S2666827024000343},
  title = {TeenyTinyLlama: open-source tiny language models trained in Brazilian Portuguese},
  author = {Corr{\^e}a, Nicholas Kluge and Falk, Sophia and Fatimah, Shiza and Sen, Aniket and De Oliveira, Nythamar},
  journal={Machine Learning With Applications},
  publisher = {Springer},
  year={2024}
}

Contributions

If you would like to contribute, contact me at nicholas@airespucrs.org!

Downloads last month
143

Models trained or fine-tuned on nicholasKluge/Pt-Corpus

Collection including nicholasKluge/Pt-Corpus

Papers for nicholasKluge/Pt-Corpus