File size: 4,855 Bytes
7ef1927 ca27689 7ef1927 ca27689 7ef1927 ca27689 7ef1927 ca27689 7ef1927 ca27689 7ef1927 ca27689 7ef1927 ca27689 7ef1927 ca27689 7ef1927 83f1ea6 7ef1927 ca27689 7ef1927 83f1ea6 7ef1927 83f1ea6 7ef1927 83f1ea6 7ef1927 ca27689 7ef1927 83f1ea6 7ef1927 ca27689 7ef1927 ca27689 7ef1927 ca27689 7ef1927 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 |
---
language:
- fr
license:
- cc-by-sa-4.0
task_categories:
- text-generation
- fill-mask
task_ids:
- language-modeling
- masked-language-modeling
configs:
- config_name: default
data_files:
- split: train
path: "*/20231220/*.parquet"
- config_name: "fr"
data_files:
- split: train
path: "fr/20231220/*.parquet"
- config_name: "sample"
data_files:
- split: train
path: 20231220/train-000000-of-000007.parquet
dataset_info:
- config_name: "fr"
features:
- name: id
dtype: int32
- name: url
dtype: string
- name: title
dtype: string
- name: text
dtype: string
splits:
- name: train
num_bytes: 442573568
num_examples: 650087
download_size: 192941244
dataset_size: 442573568
- config_name: "sample"
features:
- name: id
dtype: int32
- name: url
dtype: string
- name: title
dtype: string
- name: text
dtype: string
splits:
- name: train
num_bytes: 68635508
num_examples: 91996
download_size: 32850743
dataset_size: 68635508
---
# Plain text of French Wiktionary
* [Dataset Description](#dataset-description)
* [Size](#size)
* [Example use (python)](#example-use-python)
* [Data fields](#data-fields)
* [Notes on data formatting](#notes-on-data-formatting)
* [License](#license)
* [Aknowledgements](#aknowledgements)
* [Citation](#citation)
## Dataset Description
This dataset is a plain text version of pages from [wiktionary.org](https://wiktionary.org/) in French language.
The text is without HTML tags nor wiki templates.
It just includes markdown syntax for headers, lists and tables.
See [Notes on data formatting](#notes-on-data-formatting) for more details.
It was created by [LINAGORA](https://labs.linagora.com/) and [OpenLLM France](https://openllmfrance.org/)
from the [Wikimedia dumps](https://dumps.wikimedia.org/other/enterprise_html/runs),
using code in [https://github.com/OpenLLM-France/wikiplaintext](https://github.com/OpenLLM-France/wikiplaintext).
### Size
The amount of data for the latest dump (20231220) is:
| | **French** |
| :---------------|--------: |
| # documents | 650 087 |
| # paragraphs | 3 410 374 |
| # words | 53 086 456 |
| # characters | 346 916 964 |
| size on disk | 1.9G |
### Example use (python)
Load the full dataset:
```python
import datasets
ds = datasets.load_dataset("OpenLLM-France/wiktionary", streaming=True, split="train")
```
Load only a small subset:
```python
ds = datasets.load_dataset("OpenLLM-France/wiktionary", "sample", split="train")
```
A version "`repeated_headers`" of the dataset is available, where headers are repeated before each section
(see https://huggingface.co/datasets/OpenLLM-France/wikipedia#alternative-markdown-syntax).
This dataset can be obtained with:
```python
ds = datasets.load_dataset("OpenLLM-France/wiktionary", revision="repeated_headers", split="train")
```
## Data fields
The data fields are the same among all configurations:
- `id` (int): ID of the page.
- `url` (`str`): URL of the page.
- `title` (`str`): Title of the page.
- `text` (`str`): Text content of the page.
For example:
```
{'id': 847027,
'url': 'https://fr.wiktionary.org/wiki/D%C3%A9partement_de_Rinconada',
'title': 'Département de Rinconada',
'text': "# Département de Rinconada\n\nLe département de Rinconada est une des 16 subdivisions de la province de Jujuy, en Argentine. Son chef-lieu est la ville de Rinconada.\nLe département a une superficie de 6 407 km². Sa population extrêmement clairsemée s'élevait à 2 298 habitants en 2001, soit une densité de 0,3 hab./km².\n\n## Localités\n\nOutre le chef-lieu d'arrondissement, Rinconada, il faut citer :\n* Mina Pirquitas, localité la plus élevée d'Argentine (4 271 mètres d'altitude).\nC'est sur le territoire de ce département qu'est situé le site Ramsar des Lagunas de Vilama."
}
```
## Notes on data formatting
see [OpenLLM-France/wikipedia.fr](https://huggingface.co/datasets/OpenLLM-France/wikipedia)
## License
This dataset is distributed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/).
## Aknowledgements
This dataset was created by [Jérôme Louradour](https://huggingface.co/Jeronymous) on behalf of
[LINAGORA](https://labs.linagora.com/) and
[OpenLLM France](https://openllmfrance.org/).
Many thanks to the [Wikimedia Foundation](https://wikimediafoundation.org/)
for providing the data and useful advices,
in particular Isaac Johnson, Albert Villanova and Rémy Gerbet.
## Citation
```
@online{wiktionary_fr_dump,
author = "Jérôme Louradour, OpenLLM-France, LINAGORA Labs",
title = "Plain text of Wiktionary",
url = "https://huggingface.co/datasets/OpenLLM-France/wiktionary"
}
```
|