File size: 2,030 Bytes
8ac7656
 
d8a0abc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8387ed3
 
d8a0abc
8387ed3
 
 
 
aea9792
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8ac7656
0db0139
5350fef
54e7623
0db0139
54e7623
0db0139
de793cf
 
 
 
 
 
 
 
b50c4c1
8fa8c26
 
 
 
 
 
 
 
 
 
 
 
b50c4c1
 
 
 
 
 
 
 
68dcb55
b50c4c1
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
---
license: apache-2.0
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: test
    path: data/test-*
dataset_info:
  features:
  - name: title
    dtype: string
  - name: content
    dtype: string
  - name: author
    dtype: string
  - name: category
    dtype: string
  - name: published_date
    dtype: string
  - name: page_url
    dtype: string
  splits:
  - name: train
    num_bytes: 52396693
    num_examples: 19746
  - name: test
    num_bytes: 11060292
    num_examples: 9037
  download_size: 23299017
  dataset_size: 63456985
pretty_name: No Robots
task_categories:
- conversational
- text-generation
- summarization
- question-answering
- text-classification
- text-retrieval
- translation
language:
- en
tags:
- ghana
- news
- politics
- science
- business
- ghana-news
size_categories:
- 10K<n<100K
---

### Description 🙅‍♂️🤖
GhanaNews dataset is a collection of news articles from various Ghanaian News Portals (MyJoyOnline, GraphicOnline, GhanaWeb, PulseGh, CitiNewsOnline, ect). The dataset is provided by the academic comunity for research purposes in data mining (clustering, classification, etc), information retrieval (ranking, search, etc), xml, data compression, data streaming, and any other non-commercial activity.

The Ghana news topic classification dataset is constructed by Theophilus Siameh ([email protected]) from the dataset above.

### Context QA: in context question answering from an article
```shell
{"article": "...", "question": "...", "answer": "..."}
```
### Article and Summary
```shell
{"article": "...", "summary": "..."}
```

### Dataset Format
```shell
{
    "title": "...", 
    "content": "...", 
    "author": "...", 
    "category": "...", 
    "published_date": "...", 
    "page_url": "..."
}
```

### Load Dataset
```shell
pip install datasets
```
```python
from datasets import load_dataset

train = load_dataset("worldboss/ghana-news", split="train")
test =  load_dataset("worldboss/ghana-news", split="test")
```