ghana-news / README.md
worldboss's picture
Upload README.md with huggingface_hub
b73e0c1
|
raw
history blame
2.06 kB
---
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: 57008624
num_examples: 21594
- name: test
num_bytes: 11116505
num_examples: 9123
download_size: 25803741
dataset_size: 68125129
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()
```