Classifier calibration
Requests for a question-answering classifier
(perplexity-ai/pplx-decider-v1.3): a state (text or
JSON) and one or more questions with fixed options. They were used to calibrate (GPTQ) and distill an FP8 version
of that model, and to evaluate it against the BF16 original. Code and results:
github.com/raunak-agarwal/model_serve (decision_classifier_serve/,
see QUANTIZATION.md).
Files
| Path | Records | What |
|---|---|---|
mix/train.jsonl, mix/val.jsonl |
19,298 / 1,399 | The audited mix, prompts up to 8k tokens. The served GPTQ rounding used 1,200 of train.jsonl |
mix/train_long.jsonl, mix/val_long.jsonl |
328 / 35 | The same sources, 8k-30k tokens |
mix/train_more*.jsonl, mix/val_more*.jsonl |
59,376 / 2,887 | 31 more public datasets (_long: 8k-30k tokens) |
mix/train_pplx*.jsonl, mix/val_pplx*.jsonl |
2,088 / 113 | Perplexity's BrowseSafe++ (train split) and PII-TRACE |
mix/train_synth*.jsonl, mix/val_synth*.jsonl |
2,060 / 121 | Written by Claude agents for 21 task families the public data lacks |
mix/train_multiq.jsonl |
1,049 | States of the mix with 4 to 20 extra questions each, written by Claude agents |
mix/calib_gptq.jsonl |
4,023 | A sample of all train* files (13.8M tokens), used for a second GPTQ calibration |
mix/manifests/ |
Sources, pinned revisions, licences, filters and counts of each part | |
eval/<task>.jsonl, eval/images/ |
3,740 in 50 tasks | The eval set: test splits of public datasets, 160 images. eval/MANIFEST.json lists them |
No eval example is in mix/: every record that shares a task and id, or a state, with eval/ was removed.
Record format
One JSON object per line:
{"task": "anli", "group": "factual", "id": "...", "metric": "accuracy",
"request": {"state": "...", "questions": {"q": {"type": "noul", "instructions": "..."}}},
"gold": true, "meta": {"source": "...", "...": "..."}}
requestis the model's request format (and the body of/v1/systemoneonce"model"is added).stateis a string, a JSON object or a list. Question types:choice(named options),noul(yes/no),score(ordered levels),locate(spans, eval only).goldis the dataset's label. Insynthandmultiqit is the writing agent's answer and was not checked.metaholds the source, language, token count and other per-source fields. Eval image records listimage_filesrelative toeval/.
The fields change type between records (a state can be text or JSON), so read the files as JSON Lines rather than
with datasets.load_dataset:
import json
from huggingface_hub import snapshot_download
root = snapshot_download("ragarwal/classifier-calibration", repo_type="dataset")
train = [json.loads(line) for line in open(f"{root}/mix/train.jsonl")]
print(train[0]["request"])
Sources
- Audited mix (
train,val,_long): claim verification fromragarwal/factual-consistency-training-mix(ANLI, VitaminC, FoolMeTwice, DeFacto, RTE, WANLI, BoolQ, WiCE, LingNLI, SciTail), and SGD dialogue states, CLINC150, MASSIVE, HelpSteer2, TyDi QA, ContractNLI, MELA, Aegis 2.0, CUAD, SIB-200, OpenAI moderation eval, K-MHaS, QuALITY, EDGAR, PubMedQA and HateCheck in 11 languages. Labels were checked against the BF16 model, then an audit removed wrong or loose labels, over-sampled subsets and near-duplicates of the eval set. - More (
_more): RAGTruth, HelpSteer3, Amazon reviews (multilingual), Yelp, StackExchange, Civil Comments, MultiEURLEX, SemEval ABSA, MTOP, multilingual toxicity, WMT MQM, Financial PhraseBank, MasakhaNEWS, GoEmotions, IMDB, STS-B, WDC products, SMS spam, 10kGNAD, 20 Newsgroups, KLUE, arXiv classification, HUPD patents, prompt injections and more of the above. - Perplexity (
_pplx):perplexity-ai/browsesafe-plus-plusandperplexity-ai/PII-TRACE. - Synthetic (
_synth): Claude Sonnet agents wrote states and demanding questions for search relevance, agent and tool states, client request styles, and 18 task families of Perplexity's Decider blog post (law, compliance, security, finance, moderation, extraction, judging, ...). Many states are real public web text the agents fetched. - Multi-question (
_multiq): Claude Opus agents wrote further questions on states of the audited mix. - Eval (
eval/): XNLI, PAWS-X, SIB-200, MASSIVE and multilingual tweet sentiment; Banking77, LEDGAR, medical abstracts, Rosetta Code, WinoGrande, Belebele, VitaminC; Yelp (score); BEIR NFCorpus and SciFact (reranking); CoNLL-2003, SQuAD and ai4privacy PII masking (spans); RVL-CDIP, DTD, EuroSAT and Oxford-IIIT Pets (images).
Licence
Each record keeps the terms of its source dataset; mix/manifests/ and eval/MANIFEST.json list them. Some
sources are for non-commercial use only, among them ANLI (CC BY-NC 4.0) and the Seahorse-derived padding in the
factual-consistency records. The synthetic and multi-question records were written with Claude, and their states
include public web text.
- Downloads last month
- 138