Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,9 +1,55 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
task_categories:
|
| 4 |
- text-generation
|
| 5 |
language:
|
| 6 |
- mg
|
| 7 |
size_categories:
|
| 8 |
- 10K<n<100K
|
| 9 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
task_categories:
|
| 4 |
- text-generation
|
| 5 |
language:
|
| 6 |
- mg
|
| 7 |
size_categories:
|
| 8 |
- 10K<n<100K
|
| 9 |
+
---
|
| 10 |
+
## Dataset Description
|
| 11 |
+
|
| 12 |
+
This dataset contains news articles, stories, and cultural reports scraped from [Global Voices Malagasy](https://mg.globalvoices.org/). It is intended to support Natural Language Processing (NLP) tasks for the Malagasy language, such as language modeling, text generation, and translation research.
|
| 13 |
+
|
| 14 |
+
The data is automatically scraped and updated to ensure freshness.
|
| 15 |
+
|
| 16 |
+
## Dataset Structure
|
| 17 |
+
|
| 18 |
+
The dataset is formatted in JSONL (JSON Lines). Each entry represents a single article.
|
| 19 |
+
|
| 20 |
+
### Data Fields
|
| 21 |
+
|
| 22 |
+
- `url` (string): The original URL of the article.
|
| 23 |
+
- `title` (string): The title of the article.
|
| 24 |
+
- `date` (string): The publication date (ISO format or similar).
|
| 25 |
+
- `author` (string): The name of the author or translator.
|
| 26 |
+
- `content` (string): The main body text of the article (cleaned).
|
| 27 |
+
|
| 28 |
+
### Example
|
| 29 |
+
|
| 30 |
+
```json
|
| 31 |
+
{
|
| 32 |
+
"url": "https://mg.globalvoices.org/2025/12/15/example-story",
|
| 33 |
+
"title": "Lohateny momba ny fiarahamonina",
|
| 34 |
+
"date": "2025-12-15T10:00:00+03:00",
|
| 35 |
+
"author": "Rakoto",
|
| 36 |
+
"content": "Ity dia ohatra iray amin'ny lahatsoratra hita ao amin'ny Global Voices..."
|
| 37 |
+
}
|
| 38 |
+
```
|
| 39 |
+
## Use Cases
|
| 40 |
+
|
| 41 |
+
This dataset is ideal for training models on **formal and standard Malagasy**. Because news articles follow specific grammatical rules and journalistic standards, they provide a clean baseline for NLP.
|
| 42 |
+
|
| 43 |
+
* **Language Modeling (LLM Pre-training):** To teach models the core grammar, syntax, and vocabulary of the Malagasy language in a formal context.
|
| 44 |
+
* **Named Entity Recognition (NER):** The dataset contains numerous mentions of people, locations, organizations, and dates relevant to Madagascar and the world, useful for training entity extractors.
|
| 45 |
+
|
| 46 |
+
### How to use
|
| 47 |
+
```python
|
| 48 |
+
from datasets import load_dataset
|
| 49 |
+
|
| 50 |
+
dataset = load_dataset("Lo-Renz-O/GBV-Malagasy")
|
| 51 |
+
|
| 52 |
+
# Print the first example
|
| 53 |
+
print(dataset['train'][0])
|
| 54 |
+
```
|
| 55 |
+
|