CoolFace
Datasetpublic

ops-tuned-llm/unlabelled-data

HTD Scraped Datasets Cleaned text chunks from Home Team Department (HTD) agency websites, processed into a consistent 8-column format for downstream tasks (QA pairs annotation, fine-tuning, etc.) Schema Column Type Description chunk_text str Cleaned text chunk (40-650 words) source_url str Original page URL page_title str Page title section_headers str Section heading path heading_path str Hierarchical path from site structure content_type str… See the full description on the dataset page: https://huggingface.co/datasets/ops-tuned-llm/unlabelled-data.

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes85downloads
Dataset Card

HTD Scraped Datasets

Cleaned text chunks from Home Team Department (HTD) agency websites, processed into a consistent 8-column format for downstream tasks (QA pairs annotation, fine-tuning, etc.)

Schema

ColumnTypeDescription
chunk_textstrCleaned text chunk (40-650 words)
source_urlstrOriginal page URL
page_titlestrPage title
section_headersstrSection heading path
heading_pathstrHierarchical path from site structure
content_typestrguide, press_release, faq, service_index, or event
last_updatedstrArticle date or scrape date
word_countintWord count of chunk_text

Datasets

AgencyFileRowsSource
HTX (Home Team Science & Technology Agency)htx_dataset_cleaned.parquet59htx.gov.sg
MHA (Ministry of Home Affairs)mha_dataset_cleaned.parquet6,149mha.gov.sg
SPF (Singapore Police Force)spf_dataset_cleaned.parquet6,191police.gov.sg
CNB (Central Narcotics Bureau)cnb_dataset_cleaned_060526.csv518cnb.gov.sg
ICA (Immigration & Checkpoints Authority)ica_dataset_cleaned_060526.csv896ica.gov.sg
SPS (Singapore Prison Service)sps_filtered_qa_utf8.csv766sps.gov.sg

Usage

python
import pandas as pd

# Load a single dataset
df = pd.read_parquet("htx_dataset_cleaned.parquet")
print(df.head())

Or load via HuggingFace datasets:

python
from datasets import load_dataset

# Load a specific config
ds = load_dataset("ops-tuned-llm/unlabelled-data")