train-cornstack-python / provenance.json
Hyukkyu's picture
CoRNStack Python: the unified schema (domain-v1, miner scores)
c84cd2e verified
Raw History Blame
3.22 kB
{
"task": "CoRNStack Python",
"benchmark": "train",
"repo": "train-cornstack-python",
"conversion": "2026-09-29",
"source": {
"path": "nomic-ai/cornstack-python-v1",
"revision": "25fb04bd3537983a622d01104a967a5a7f9eaef8",
"url": "https://huggingface.co/datasets/nomic-ai/cornstack-python-v1/tree/25fb04bd3537983a622d01104a967a5a7f9eaef8",
"configs": [],
"file": null
},
"license": {
"card": "apache-2.0",
"upstream_checked": true
},
"languages": [
"eng"
],
"domain": "code",
"byte_preserving_text": false,
"symmetric": false,
"layout": {
"subsets": null,
"splits": [
"train"
],
"split_map": null
},
"id_scheme": "sha1(text)[:20]",
"sampling": {
"cap": 60000,
"seed": 1,
"shuffle_buffer": 50000
},
"inputs": {
"queries": 60000,
"corpus": 712489,
"qrels": 60000,
"hard_negatives": 4029107,
"teacher_scores": 4089107
},
"decontamination": {
"exact": "the normalised query equals an evaluation query, or a positive equals a test / dev corpus document (convert_domain.py)",
"near_duplicate": "word 13-gram shingles of passages, 8-grams of queries, a fixed 1/4 sample; flagged at >= half (and >= 4) shared with one text of the 23 test corpora and the 3 dev corpora (data/tmp/domain_overlap_flagged.py)",
"flagged_passages": 14,
"flagged_queries": 3,
"queries_dropped": 17
},
"normalize": {
"title_added": true,
"collapsed_queries": 0,
"collapsed_documents": 0,
"collapsed_with_other_titles": 0,
"negatives_that_were_positives_dropped": 0,
"score_spread_max": 0.0
},
"stats": {
"n_queries": 59983,
"n_corpus": 712475,
"n_qrels": 59983,
"qrels_per_query": {
"min": 1,
"mean": 1.0,
"max": 1
},
"score_values": {
"2": 59983
},
"corpus_with_title": 0,
"n_hard_negatives": 4006722,
"sources": {
"dense": 3554674,
"dataset": 452048
},
"negatives_per_query": 66.8,
"n_teacher_scores": 4066705,
"teachers": [
"jinaai/jina-embeddings-v5-text-small"
],
"avg_query_chars": 82.9,
"avg_doc_chars": 512.1
},
"files": {
"queries": {
"train": [
{
"path": "queries/train-00000-of-00001.parquet",
"rows": 59983,
"bytes": 3037712,
"sha256": "b6d26cef8fe86012e2e7770937881661d0f71267a7f0260e6c7a9c9c18651043"
}
]
},
"corpus": {
"train": [
{
"path": "corpus/train-00000-of-00001.parquet",
"rows": 712475,
"bytes": 131538050,
"sha256": "9b0224d3e24418517a080f9953f647d2a133d20acd55de4c55f683ee6dd3274a"
}
]
},
"qrels": {
"train": [
{
"path": "qrels/train-00000-of-00001.parquet",
"rows": 59983,
"bytes": 1446999,
"sha256": "1e8f701bc7f7421ff395e08370fc34514c4e5873db28d0912d186f299e9c0724"
}
]
},
"hard-negatives": {
"train": [
{
"path": "hard-negatives/train-00000-of-00001.parquet",
"rows": 4006722,
"bytes": 49095009,
"sha256": "d74e9581d579c9d8aca3d6424c17d70a7027bdb4c845726b678216cfc24b9bd6"
}
]
},
"teacher-scores": {
"train": [
{
"path": "teacher-scores/train-00000-of-00001.parquet",
"rows": 4066705,
"bytes": 61263455,
"sha256": "5f78beca05bab44e78ccbab8ac690d6989f270a5413775b21639cb530f3bc004"
}
]
}
}
}