Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,39 +1,104 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
- name: primary_category
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: published
|
| 17 |
-
dtype: string
|
| 18 |
-
splits:
|
| 19 |
-
- name: train
|
| 20 |
-
num_bytes: 9660260
|
| 21 |
-
num_examples: 3292
|
| 22 |
-
- name: validation
|
| 23 |
-
num_bytes: 1183732
|
| 24 |
-
num_examples: 412
|
| 25 |
-
- name: test
|
| 26 |
-
num_bytes: 1210747
|
| 27 |
-
num_examples: 412
|
| 28 |
-
download_size: 6850686
|
| 29 |
-
dataset_size: 12054739
|
| 30 |
-
configs:
|
| 31 |
-
- config_name: default
|
| 32 |
-
data_files:
|
| 33 |
-
- split: train
|
| 34 |
-
path: data/train-*
|
| 35 |
-
- split: validation
|
| 36 |
-
path: data/validation-*
|
| 37 |
-
- split: test
|
| 38 |
-
path: data/test-*
|
| 39 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: cc-by-4.0
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-classification
|
| 7 |
+
size_categories:
|
| 8 |
+
- 1K<n<10K
|
| 9 |
+
tags:
|
| 10 |
+
- arxiv
|
| 11 |
+
- computer-science
|
| 12 |
+
- abstracts
|
| 13 |
+
- multi-class
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
+
|
| 16 |
+
# arXiv CS Sub-field Classification Dataset
|
| 17 |
+
|
| 18 |
+
Balanced, single-label classification dataset of recent arXiv abstracts across
|
| 19 |
+
six overlapping CS sub-fields. Each row carries one paper's title and abstract,
|
| 20 |
+
plus a label derived from its arXiv `primary_category`.
|
| 21 |
+
|
| 22 |
+
## Supported tasks
|
| 23 |
+
|
| 24 |
+
- `text-classification` — predict the arXiv sub-field given title + abstract.
|
| 25 |
+
|
| 26 |
+
## Languages
|
| 27 |
+
|
| 28 |
+
English (`en`).
|
| 29 |
+
|
| 30 |
+
## Data fields
|
| 31 |
+
|
| 32 |
+
| field | type | description |
|
| 33 |
+
|---|---|---|
|
| 34 |
+
| `id` | string | arXiv identifier (e.g. `2401.12345v1`) |
|
| 35 |
+
| `title` | string | Paper title, whitespace-normalised |
|
| 36 |
+
| `abstract` | string | Paper abstract, whitespace-normalised, LaTeX preserved |
|
| 37 |
+
| `text` | string | `title + ". " + abstract`, the field used as model input |
|
| 38 |
+
| `label` | string | Human-readable sub-field name |
|
| 39 |
+
| `primary_category` | string | Original arXiv primary category |
|
| 40 |
+
| `published` | string | ISO timestamp of first arXiv submission |
|
| 41 |
+
|
| 42 |
+
## Label space
|
| 43 |
+
|
| 44 |
+
The six target arXiv categories (`cs.CL`, `cs.LG`, `cs.CV`, `cs.IR`, `cs.AI`, `stat.ML`) map to human-readable names:
|
| 45 |
+
|
| 46 |
+
| arXiv primary_category | label |
|
| 47 |
+
|---|---|
|
| 48 |
+
| `cs.CL` | `cl_nlp` |
|
| 49 |
+
| `cs.LG` | `lg_ml` |
|
| 50 |
+
| `cs.CV` | `cv_vision` |
|
| 51 |
+
| `cs.IR` | `ir_retrieval` |
|
| 52 |
+
| `cs.AI` | `ai_general` |
|
| 53 |
+
| `stat.ML` | `stat_ml` |
|
| 54 |
+
|
| 55 |
+
## Splits
|
| 56 |
+
|
| 57 |
+
| split | rows |
|
| 58 |
+
|---|---|
|
| 59 |
+
| train | 3292 |
|
| 60 |
+
| validation | 412 |
|
| 61 |
+
| test | 412 |
|
| 62 |
+
| **total** | **4116** |
|
| 63 |
+
|
| 64 |
+
Splits are stratified 80/10/10 by label, seeded with `random_state=42`.
|
| 65 |
+
|
| 66 |
+
## Source
|
| 67 |
+
|
| 68 |
+
- arXiv API, queried with the `arxiv` Python package (`Client(delay_seconds=3.5)`).
|
| 69 |
+
- Time range: 2023-01-01 to 2025-12-31.
|
| 70 |
+
- Filtering rule: only papers whose `primary_category` equals the queried
|
| 71 |
+
category are kept (so the label is unambiguous), then each class is
|
| 72 |
+
down-sampled to the size of the smallest class for balance.
|
| 73 |
+
|
| 74 |
+
## Annotation process
|
| 75 |
+
|
| 76 |
+
Labels are arXiv `primary_category` values; no manual annotation was performed.
|
| 77 |
+
Boundary cases between e.g. `cs.AI` and `cs.LG` are inherently noisy and are
|
| 78 |
+
part of what makes the task interesting.
|
| 79 |
+
|
| 80 |
+
## Limitations
|
| 81 |
+
|
| 82 |
+
- Single-label simplification of a fundamentally multi-label problem
|
| 83 |
+
(most papers carry several arXiv categories).
|
| 84 |
+
- Class boundaries are noisy by construction.
|
| 85 |
+
- No temporal generalisation split — train, val and test all come from the
|
| 86 |
+
same time window.
|
| 87 |
+
|
| 88 |
+
## Licensing
|
| 89 |
+
|
| 90 |
+
arXiv abstracts are distributed under arXiv's non-exclusive license. This
|
| 91 |
+
dataset redistributes metadata + abstracts for non-commercial research use.
|
| 92 |
+
Each row keeps the arXiv `id` so users can verify the source.
|
| 93 |
+
|
| 94 |
+
## Citation
|
| 95 |
+
|
| 96 |
+
```bibtex
|
| 97 |
+
@misc{arxiv-cs-subfield,
|
| 98 |
+
author = { Tiansve },
|
| 99 |
+
title = { Tiansve/arxiv-cs-subfield },
|
| 100 |
+
year = 2026,
|
| 101 |
+
publisher = {Hugging Face},
|
| 102 |
+
howpublished = {\url{https://huggingface.co/datasets/Tiansve/arxiv-cs-subfield}}
|
| 103 |
+
}
|
| 104 |
+
```
|