File size: 2,058 Bytes
8ac7656
0ef78e6
 
8ac7656
0ef78e6
 
 
 
 
 
 
 
 
 
 
d8a0abc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
572de5b
 
d8a0abc
572de5b
 
 
 
aea9792
 
 
 
 
 
 
8ac7656
0db0139
5350fef
54e7623
0db0139
54e7623
0db0139
de793cf
 
 
 
 
 
 
 
b50c4c1
8fa8c26
 
 
 
 
 
 
 
 
 
 
 
b50c4c1
 
 
 
 
 
 
 
68dcb55
d2a6233
 
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
91
92
---
language:
- en
license: apache-2.0
size_categories:
- 10K<n<100K
task_categories:
- conversational
- text-generation
- summarization
- question-answering
- text-classification
- text-retrieval
- translation
pretty_name: No Robots
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: 81377758
    num_examples: 30374
  - name: test
    num_bytes: 12272769
    num_examples: 9489
  download_size: 34636120
  dataset_size: 93650527
tags:
- ghana
- news
- politics
- science
- business
- ghana-news
---

### 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")

pd.DataFrame(train).head()
```