eckendoerffer
commited on
Commit
•
9381ebe
1
Parent(s):
347327f
Update extract_news/README.md
Browse files- extract_news/README.md +0 -44
extract_news/README.md
CHANGED
@@ -1,47 +1,3 @@
|
|
1 |
-
---
|
2 |
-
license: cc-by-3.0
|
3 |
-
task_categories:
|
4 |
-
- text-generation
|
5 |
-
language:
|
6 |
-
- fr
|
7 |
-
tags:
|
8 |
-
- news
|
9 |
-
- media
|
10 |
-
- Press
|
11 |
-
size_categories:
|
12 |
-
- 100K<n<1M
|
13 |
-
---
|
14 |
-
# NEWS FR
|
15 |
-
There is an open-access [dataset on BnF / Gallica](https://transfert.bnf.fr/link/3a04ea3f-dbe8-4a4a-a302-913a89c3a7a8) comprising nearly a hundred newspapers from the print media spanning almost 100 years.
|
16 |
-
Unfortunately, for this dataset, only 85% of the text is transcribed accurately.
|
17 |
-
|
18 |
-
## DATASET
|
19 |
-
This dataset compiles 1M online articles from nearly 100 Francophone media outlets. This dataset is intended for research purposes and non-commercial use. It includes 1,140,000 lines for model training, and 63,500 lines for the test and validation files.
|
20 |
-
|
21 |
-
Included with this dataset are scripts to extract and process the article text from the same sources. The script is somewhat rough around the edges, but it is functional and commented.
|
22 |
-
|
23 |
-
### Format
|
24 |
-
|
25 |
-
- **Type**: Text
|
26 |
-
- **File Extension**: `.txt`
|
27 |
-
|
28 |
-
The text has been standardized for consistent formatting and line length. Additionally, the dataset has been filtered using the `langid` library to include only text in French.
|
29 |
-
|
30 |
-
### Structure
|
31 |
-
|
32 |
-
The dataset is divided into the following splits:
|
33 |
-
|
34 |
-
- `train.txt`: 2.2 GB - 1,140,000 rows - 90%
|
35 |
-
- `test.txt` : 122 MB - 63,500 rows - 5%
|
36 |
-
- `valid.txt`: 122 MB - 63,500 rows - 5%
|
37 |
-
|
38 |
-
### Exploring the Dataset
|
39 |
-
|
40 |
-
You can use the `explore_dataset.py` script to explore the dataset by randomly displaying a certain number of lines from it. The script creates and saves an index based on the line breaks, enabling faster data retrieval and display.
|
41 |
-
|
42 |
-
### Additional Information
|
43 |
-
|
44 |
-
This dataset is a subset of a larger 10GB French dataset, which also contains several thousand books and theses in French, Wikipedia, as well as several hundred thousand Francophone news articles.
|
45 |
|
46 |
## EXTRACT NEWS FR
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
## EXTRACT NEWS FR
|
3 |
|