hanzceo's picture
docs: state the split byte count so the card parses clean
7547488 verified
|
Raw History Blame Contribute Delete
4.8 kB
---
license: other
language:
- id
tags:
- indonesian
- javanese
- surabaya
- campus
- multi-label
- text-classification
pretty_name: TanyaAMBA Classifier Dataset
size_categories:
- 10K<n<100K
task_categories:
- text-classification
configs:
- config_name: default
data_files:
- split: train
path: data/train-*.parquet
dataset_info:
features:
- name: text
dtype: string
- name: media
sequence: string
- name: label
sequence: string
splits:
- name: train
num_examples: 77942
num_bytes: 4540790
---
# TanyaAMBA Classifier Dataset
Posts and replies from three ITS campus menfess accounts, prepared to post-train the
TanyaAMBA classifier. One row per post id, one row of labels per post.
The `label` column ships empty. Labels are filled by the manual annotation pass in
TanyaAMBA#17 through TanyaAMBA#19 and are not produced by a model.
## Columns
| column | type | meaning |
|---|---|---|
| `text` | `string` | post text exactly as scraped, register preserved |
| `media` | `list(string)` | repo relative paths under `media/`, empty when the post has none |
| `label` | `list(string)` | zero or more labels drawn from the set below, empty at seed time |
## Corpus
| account | rows |
|---|---|
| `fess10nopember` | 36736 |
| `its_fess` | 34808 |
| `myitsfess` | 5306 |
| carried over from the first revision | 1092 |
77942 rows, 77375 distinct texts, spanning 2020-01-09 to 2026-11-24. Replies the
accounts wrote to other people are included, since they are the same voice. Replies
other people wrote to these accounts are not, since they are not.
The 1092 carried rows are posts the first revision captured that the current scrape can
no longer reach. They are kept rather than dropped, so the corpus only ever grows.
`fess10nopember` is archived from 2023-08-01 onward. The timeline API refuses to page
below that date and the earlier history needs a separate backfill, so posts before it
are absent rather than lost here.
## Label set
Labels carry an axis prefix so the two axes stay independent. A post may hold more
than one topic and more than one intent, or none of either.
| axis | label | meaning |
|---|---|---|
| topic | `topic:academic` | courses, credits, lecturers, assignments, grades, thesis |
| topic | `topic:administrative` | enrolment, KRS, letters, fees, NRP, student status |
| topic | `topic:facility` | rooms, buildings, labs, wifi, parking, canteen, campus grounds |
| topic | `topic:event` | UKM, himpunan, committees, competitions, seminars, oprec, campus events |
| topic | `topic:it-service` | myITS, classroom, email, repository, portals, campus logins |
| intent | `intent:question` | seeks an answer from other students |
| intent | `intent:announcement` | broadcasts information, expects no answer |
| intent | `intent:sale` | offers or seeks goods, including paid services |
| intent | `intent:lost-found` | reports a lost item or a found item |
| intent | `intent:rant` | complains or vents without asking |
| intent | `intent:confession` | discloses feelings, crushes, personal stories, social openers |
The rules that decide which label applies, the tie breaks and the worked examples live
in `docs/ai/annotation-guide.md` in the TanyaAMBA repository.
## Media
Media is mirrored into this repository so `media` entries resolve without the original
host. 12378 references across 11390 rows, 11913 distinct files, 2.5 GB.
New files are content addressed and sharded two characters deep,
`media/posts/<aa>/<sha256>.<ext>`. Identical files collapse to one upload, and 256
shards keep every directory well under the Hub limit of 10000 files.
465 references still point at the first mirror under `media/images` and `media/videos`.
Those belong to the carried rows and were left in place.
```python
from datasets import load_dataset
from huggingface_hub import hf_hub_download
ds = load_dataset("hanzceo/TanyaAMBA-Classifier-Dataset", split="train")
row = ds[0]
path = hf_hub_download("hanzceo/TanyaAMBA-Classifier-Dataset",
row["media"][0], repo_type="dataset")
```
## Rebuilding
`manual-scraper/scripts/build_hf_dataset.py` reads the scraper archive, writes one
parquet shard and hardlinks the media into a stage tree.
```sh
uv run --with pyarrow --with huggingface_hub scripts/build_hf_dataset.py \
--published /tmp/remote.parquet --push
```
## Known gaps
- Media only posts exist. `halo kak` plus a link carries its meaning in the image, so
text alone cannot label every row.
- Some texts hold HTML entities such as `&amp;` because the scraper preserved the raw
payload. They are not cleaned here, so annotators see what the author typed.
- The corpus is raw. PII scrubbing is tracked separately in TanyaAMBA#13 and this
repository must not be made public before that closes.