Datasets:
Download taxonomy.json from Mercity/topic-shift-10k: direct link, hf CLI and curl.
- Browser
- Download file 12.6 kB
-
https://huggingface.co/datasets/Mercity/topic-shift-10k/resolve/main/taxonomy.json
- Command line
-
hf download hf://datasets/Mercity/topic-shift-10k/taxonomy.json
-
curl -L -o taxonomy.json https://huggingface.co/datasets/Mercity/topic-shift-10k/resolve/main/taxonomy.json
12.6 kB
| { | |
| "description": "Topic-drift detector dataset: prompt+response pairs with 1-4 topic-labelled spans (see YAML).", | |
| "factors": [ | |
| { | |
| "name": "Primary topic", | |
| "description": "The label of the first (or only) span. Uniform across the seven domains; this is the one axis that sets per-label balance, so nothing else may dictate the topic.", | |
| "weight": 1.0, | |
| "level": 0, | |
| "path": [ | |
| "Primary topic" | |
| ], | |
| "children": [ | |
| { | |
| "name": "Enterprise documents", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 1, | |
| "path": [ | |
| "Primary topic", | |
| "Enterprise documents" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "General news & content", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 1, | |
| "path": [ | |
| "Primary topic", | |
| "General news & content" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Customer service", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 1, | |
| "path": [ | |
| "Primary topic", | |
| "Customer service" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Legal", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 1, | |
| "path": [ | |
| "Primary topic", | |
| "Legal" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Financial", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 1, | |
| "path": [ | |
| "Primary topic", | |
| "Financial" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "HR & people operations", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 1, | |
| "path": [ | |
| "Primary topic", | |
| "HR & people operations" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Healthcare", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 1, | |
| "path": [ | |
| "Primary topic", | |
| "Healthcare" | |
| ], | |
| "children": [] | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "Second topic", | |
| "description": "None => the record has fewer topics; Present => a distinct second label. Only legal when every earlier slot is Present (contiguity enforced).", | |
| "weight": 1.0, | |
| "level": 0, | |
| "path": [ | |
| "Second topic" | |
| ], | |
| "children": [ | |
| { | |
| "name": "None", | |
| "description": "No second topic. The record stops before this slot (its count is one smaller).", | |
| "weight": 0.43999999999999995, | |
| "level": 1, | |
| "path": [ | |
| "Second topic", | |
| "None" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Present", | |
| "description": "A distinct second span: after the previous topic is covered, pivot once and cover this label fully. Must differ from every earlier topic (enforced).", | |
| "weight": 0.56, | |
| "level": 1, | |
| "path": [ | |
| "Second topic", | |
| "Present" | |
| ], | |
| "children": [ | |
| { | |
| "name": "Enterprise documents", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Second topic", | |
| "Present", | |
| "Enterprise documents" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "General news & content", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Second topic", | |
| "Present", | |
| "General news & content" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Customer service", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Second topic", | |
| "Present", | |
| "Customer service" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Legal", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Second topic", | |
| "Present", | |
| "Legal" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Financial", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Second topic", | |
| "Present", | |
| "Financial" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "HR & people operations", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Second topic", | |
| "Present", | |
| "HR & people operations" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Healthcare", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Second topic", | |
| "Present", | |
| "Healthcare" | |
| ], | |
| "children": [] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "Third topic", | |
| "description": "None => the record has fewer topics; Present => a distinct third label. Only legal when every earlier slot is Present (contiguity enforced).", | |
| "weight": 1.0, | |
| "level": 0, | |
| "path": [ | |
| "Third topic" | |
| ], | |
| "children": [ | |
| { | |
| "name": "None", | |
| "description": "No third topic. The record stops before this slot (its count is one smaller).", | |
| "weight": 0.32999999999999996, | |
| "level": 1, | |
| "path": [ | |
| "Third topic", | |
| "None" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Present", | |
| "description": "A distinct third span: after the previous topic is covered, pivot once and cover this label fully. Must differ from every earlier topic (enforced).", | |
| "weight": 0.67, | |
| "level": 1, | |
| "path": [ | |
| "Third topic", | |
| "Present" | |
| ], | |
| "children": [ | |
| { | |
| "name": "Enterprise documents", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Third topic", | |
| "Present", | |
| "Enterprise documents" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "General news & content", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Third topic", | |
| "Present", | |
| "General news & content" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Customer service", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Third topic", | |
| "Present", | |
| "Customer service" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Legal", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Third topic", | |
| "Present", | |
| "Legal" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Financial", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Third topic", | |
| "Present", | |
| "Financial" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "HR & people operations", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Third topic", | |
| "Present", | |
| "HR & people operations" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Healthcare", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Third topic", | |
| "Present", | |
| "Healthcare" | |
| ], | |
| "children": [] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "Fourth topic", | |
| "description": "None => the record has fewer topics; Present => a distinct fourth label. Only legal when every earlier slot is Present (contiguity enforced).", | |
| "weight": 1.0, | |
| "level": 0, | |
| "path": [ | |
| "Fourth topic" | |
| ], | |
| "children": [ | |
| { | |
| "name": "None", | |
| "description": "No fourth topic. The record stops before this slot (its count is one smaller).", | |
| "weight": 0.4, | |
| "level": 1, | |
| "path": [ | |
| "Fourth topic", | |
| "None" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Present", | |
| "description": "A distinct fourth span: after the previous topic is covered, pivot once and cover this label fully. Must differ from every earlier topic (enforced).", | |
| "weight": 0.6, | |
| "level": 1, | |
| "path": [ | |
| "Fourth topic", | |
| "Present" | |
| ], | |
| "children": [ | |
| { | |
| "name": "Enterprise documents", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Fourth topic", | |
| "Present", | |
| "Enterprise documents" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "General news & content", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Fourth topic", | |
| "Present", | |
| "General news & content" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Customer service", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Fourth topic", | |
| "Present", | |
| "Customer service" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Legal", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Fourth topic", | |
| "Present", | |
| "Legal" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Financial", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Fourth topic", | |
| "Present", | |
| "Financial" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "HR & people operations", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Fourth topic", | |
| "Present", | |
| "HR & people operations" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Healthcare", | |
| "description": "", | |
| "weight": 1.0, | |
| "level": 2, | |
| "path": [ | |
| "Fourth topic", | |
| "Present", | |
| "Healthcare" | |
| ], | |
| "children": [] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "Boundary difficulty", | |
| "description": "How detectable each topic change is.", | |
| "weight": 1.0, | |
| "level": 0, | |
| "path": [ | |
| "Boundary difficulty" | |
| ], | |
| "children": [ | |
| { | |
| "name": "No boundary", | |
| "description": "Single-topic only: there is no topic change to detect.", | |
| "weight": 1.0, | |
| "level": 1, | |
| "path": [ | |
| "Boundary difficulty", | |
| "No boundary" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Applicable", | |
| "description": "Multi-topic. The chosen style applies at EVERY pivot. Never a visible heading, XML label, or topic name as the cue.", | |
| "weight": 1.0, | |
| "level": 1, | |
| "path": [ | |
| "Boundary difficulty", | |
| "Applicable" | |
| ], | |
| "children": [ | |
| { | |
| "name": "Explicit natural connective", | |
| "description": "An ordinary linking sentence signals each shift (\"On a separate note, ...\").", | |
| "weight": 0.4, | |
| "level": 2, | |
| "path": [ | |
| "Boundary difficulty", | |
| "Applicable", | |
| "Explicit natural connective" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Light or neutral connective", | |
| "description": "A faint pivot; the reader feels a mild change of subject at each boundary.", | |
| "weight": 0.35, | |
| "level": 2, | |
| "path": [ | |
| "Boundary difficulty", | |
| "Applicable", | |
| "Light or neutral connective" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Unmarked or shared-entity pivot", | |
| "description": "No connective at all: the next sentence simply starts the new topic, or the pivot rides on a person/company/object the spans share.", | |
| "weight": 0.25, | |
| "level": 2, | |
| "path": [ | |
| "Boundary difficulty", | |
| "Applicable", | |
| "Unmarked or shared-entity pivot" | |
| ], | |
| "children": [] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "Surface structure", | |
| "description": "Mechanical layout only, independent of topic. A visible structural break must sometimes sit INSIDE a stable topic span so layout is never a boundary shortcut.", | |
| "weight": 1.0, | |
| "level": 0, | |
| "path": [ | |
| "Surface structure" | |
| ], | |
| "children": [ | |
| { | |
| "name": "Continuous prose", | |
| "description": "", | |
| "weight": 0.3, | |
| "level": 1, | |
| "path": [ | |
| "Surface structure", | |
| "Continuous prose" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Multi-paragraph prose", | |
| "description": "", | |
| "weight": 0.3, | |
| "level": 1, | |
| "path": [ | |
| "Surface structure", | |
| "Multi-paragraph prose" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Bullets or checklist", | |
| "description": "", | |
| "weight": 0.15, | |
| "level": 1, | |
| "path": [ | |
| "Surface structure", | |
| "Bullets or checklist" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Numbered steps", | |
| "description": "", | |
| "weight": 0.15, | |
| "level": 1, | |
| "path": [ | |
| "Surface structure", | |
| "Numbered steps" | |
| ], | |
| "children": [] | |
| }, | |
| { | |
| "name": "Mixed prose and list", | |
| "description": "", | |
| "weight": 0.07, | |
| "level": 1, | |
| "path": [ | |
| "Surface structure", | |
| "Mixed prose and list" | |
| ], | |
| "children": [] | |
| } | |
| ] | |
| } | |
| ] | |
| } |