Upload folder using huggingface_hub
Browse filesFiles changed (3)
- README.mdAdded+87
- apply_filter.pyAdded+27
- ids.csvAdded+1002
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687---license: otherlicense_name: palmx-data-license-non-commercial-researchlicense_link: https://huggingface.co/datasets/UBC-NLP/palmx_2025_subtask2_islamiclanguage:- artask_categories:- multiple-choice- question-answeringpretty_name: PalmX 2025 Subtask 2 (verified)size_categories:- 1K<n<10Kconfigs:- config_name: default data_files: - split: test path: ids.csv---
# PalmX 2025, Subtask 2: Islamic culture (verified)
A filtered version of the **PalmX 2025** Islamic Culture evaluation set (multiple-choice questions on Islamic knowledge), with samples flagged by a multi-judge audit removed.
> **What "verified" means.** Samples were removed when all three LLM judges flagged a significant defect. This is not a human review, and only samples that baseline models answered incorrectly were audited, so some defects may remain in the kept data.
**This repository does not contain the PalmX questions.** The source dataset is gated and licensed for non-commercial research only, so we publish the filter instead: the list of source `id`s to keep, plus a script that applies it to your own copy of the source.
## How to use1. Request access to [`UBC-NLP/palmx_2025_subtask2_islamic`](https://huggingface.co/datasets/UBC-NLP/palmx_2025_subtask2_islamic) and accept its terms.2. Log in with `hf auth login`.3. Run [`apply_filter.py`](apply_filter.py), which writes the 948-row verified test set:
```bashpip install datasets pandas huggingface_hubpython apply_filter.py palmx2025_subtask2_verified.parquet```
Or filter it yourself:
```pythonimport pandas as pdfrom datasets import load_dataset
ids = pd.read_csv("hf://datasets/IFM/PalmX2025-Subtask2_verified/ids.csv")kept = set(ids.loc[ids["status"] == "kept", "id"])test = load_dataset("UBC-NLP/palmx_2025_subtask2_islamic", split="test", revision="95864e9a18753a2aab5b3b687a494a8638751606")verified = test.filter(lambda row: row["id"] in kept) # 948 rows```
## Files- `ids.csv`: one row per source test `id` (1,001 rows) with a `status` column: - `kept` (948): part of the verified set. - `removed` (37): excluded by the audit. The judges' labels, reasons and suggested fixes are in [`IFM/discarded_samples`](https://huggingface.co/datasets/IFM/discarded_samples), config `PalmX 2025-2`, keyed by the same `id`. - `no_gold_upstream` (16): the source row has an empty `answer`, so it was never part of the evaluation set.- `apply_filter.py`: rebuilds the verified set from the source.
## Source- Original dataset: [`UBC-NLP/palmx_2025_subtask2_islamic`](https://huggingface.co/datasets/UBC-NLP/palmx_2025_subtask2_islamic) (gated), revision `95864e9a18753a2aab5b3b687a494a8638751606`, `test` split (1,001 rows). Website: <https://palmx.dlnlp.ai/>.- The evaluation set is the 985 test rows that have a gold answer.- Two question texts appear twice upstream with different ids and options (ids 69/517 and 195/784); both copies are kept unless the audit excluded them.
## Audit and filtering
Samples were screened with the multi-judge audit described in [`IFM/discarded_samples`](https://huggingface.co/datasets/IFM/discarded_samples) (revision `3bfa3ee2`, config `PalmX 2025-2`). Three language-model judges (GPT-5.6 Sol, Gemini 3.8 Flash, Claude Opus 5) assessed candidate samples that strong baselines answered incorrectly. A sample is excluded only when **all three** judges report a *significant* issue (a problem with the question, the options or the gold label that prevents reliable answering or scoring). Rows that were not excluded are unchanged and keep their original order.
| Split | Evaluation rows | Excluded | Kept ||---|---:|---:|---:|| `test` | 985 | 37 | 948 |
## License and accessThe source dataset is distributed under the **PalmX Data License (non-commercial research use)**, and access requires accepting its terms on the Hub. This repository redistributes no source text, only source `id`s and audit decisions; the verified set you build with it remains subject to the PalmX license.
## CitationPlease cite the shared-task paper:
```bibtex@misc{alwajih2025palmx2025sharedtask, title = {PalmX 2025: The First Shared Task on Benchmarking LLMs on Arabic and Islamic Culture}, author = {Fakhraddin Alwajih and Abdellah El Mekki and Hamdy Mubarak and Majd Hawasly and Abubakr Mohamed and Muhammad Abdul-Mageed}, year = {2025}, eprint = {2509.02550}, archivePrefix = {arXiv}, primaryClass = {cs.CL}, url = {https://arxiv.org/abs/2509.02550}}```123456789101112131415161718192021222324252627"""Rebuild the verified PalmX 2025 Subtask 2 test set from your own copy of the gated source.
Requires access to UBC-NLP/palmx_2025_subtask2_islamic (accept its terms on the Hub and log inwith `hf auth login`). Usage:
python apply_filter.py [output.parquet]"""import sys
import pandas as pdfrom datasets import load_datasetfrom huggingface_hub import hf_hub_download
SOURCE = "UBC-NLP/palmx_2025_subtask2_islamic"SOURCE_REVISION = "95864e9a18753a2aab5b3b687a494a8638751606"THIS_REPO = "IFM/PalmX2025-Subtask2_verified"
ids = pd.read_csv(hf_hub_download(THIS_REPO, "ids.csv", repo_type="dataset"))kept = set(ids.loc[ids["status"] == "kept", "id"])
test = load_dataset(SOURCE, split="test", revision=SOURCE_REVISION)verified = test.filter(lambda row: row["id"] in kept)assert len(verified) == len(kept) == 948, f"expected 948 rows, got {len(verified)}"
out = sys.argv[1] if len(sys.argv) > 1 else "palmx2025_subtask2_verified.parquet"verified.to_parquet(out)print(f"Wrote {len(verified)} rows to {out}")123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002id,status0,kept1,kept2,kept3,kept4,removed5,kept6,kept7,kept8,kept9,kept10,kept11,kept12,kept13,kept14,kept15,kept16,kept17,kept18,kept19,kept20,kept21,kept22,removed23,kept24,kept25,kept26,kept27,kept28,kept29,removed30,kept31,kept32,kept33,kept34,removed35,kept36,removed37,kept38,kept39,kept40,kept41,kept42,kept43,kept44,kept45,kept46,kept47,kept48,kept49,kept50,no_gold_upstream51,kept52,kept53,kept54,kept55,kept56,kept57,no_gold_upstream58,kept59,kept60,kept61,kept62,kept63,kept64,kept65,kept66,kept67,removed68,kept69,kept70,kept71,kept72,kept73,kept74,kept75,kept76,kept77,kept78,kept79,kept80,kept81,kept82,kept83,kept84,kept85,kept86,kept87,kept88,kept89,kept90,kept91,kept92,kept93,kept94,kept95,kept96,kept97,kept98,kept99,kept100,kept101,kept102,kept103,kept104,kept105,kept106,kept107,kept108,kept109,kept110,kept111,kept112,kept113,kept114,kept115,kept116,kept117,kept118,kept119,kept120,kept121,kept122,kept123,kept124,kept125,kept126,kept127,kept128,kept129,kept130,kept131,kept132,kept133,kept134,kept135,kept136,kept137,kept138,kept139,kept140,kept141,kept142,kept143,kept144,kept145,kept146,kept147,kept148,kept149,kept150,kept151,kept152,kept153,kept154,kept155,kept156,kept157,kept158,kept159,kept160,kept161,kept162,kept163,kept164,kept165,kept166,kept167,kept168,kept169,kept170,kept171,kept172,kept173,kept174,kept175,no_gold_upstream176,kept177,kept178,kept179,kept180,kept181,kept182,kept183,kept184,kept185,kept186,kept187,removed188,kept189,no_gold_upstream190,kept191,kept192,no_gold_upstream193,kept194,kept195,kept196,kept197,kept198,kept199,kept200,kept201,kept202,kept203,kept204,kept205,kept206,kept207,kept208,kept209,kept210,kept211,no_gold_upstream212,kept213,kept214,kept215,kept216,kept217,kept218,kept219,kept220,kept221,kept222,kept223,kept224,removed225,kept226,kept227,kept228,kept229,kept230,kept231,kept232,kept233,kept234,kept235,kept236,kept237,kept238,kept239,kept240,kept241,kept242,kept243,kept244,kept245,kept246,kept247,kept248,kept249,kept250,kept251,kept252,kept253,kept254,kept255,kept256,kept257,kept258,no_gold_upstream259,kept260,kept261,kept262,kept263,kept264,kept265,kept266,kept267,kept268,kept269,kept270,kept271,kept272,kept273,kept274,kept275,removed276,kept277,kept278,kept279,kept280,kept281,kept282,kept283,kept284,kept285,kept286,kept287,kept288,kept289,kept290,kept291,kept292,kept293,kept294,kept295,kept296,kept297,kept298,kept299,kept300,kept301,kept302,kept303,kept304,kept305,kept306,kept307,no_gold_upstream308,kept309,removed310,kept311,kept312,kept313,removed314,kept315,kept316,kept317,kept318,kept319,kept320,kept321,kept322,kept323,kept324,kept325,kept326,kept327,kept328,no_gold_upstream329,kept330,kept331,kept332,kept333,kept334,kept335,kept336,kept337,kept338,kept339,kept340,kept341,kept342,no_gold_upstream343,kept344,kept345,kept346,kept347,kept348,kept349,kept350,kept351,kept352,kept353,kept354,kept355,kept356,kept357,kept358,kept359,kept360,kept361,kept362,kept363,kept364,kept365,kept366,kept367,kept368,kept369,kept370,no_gold_upstream371,kept372,kept373,kept374,kept375,kept376,kept377,kept378,kept379,kept380,kept381,kept382,kept383,kept384,kept385,kept386,kept387,kept388,kept389,kept390,kept391,kept392,kept393,kept394,kept395,kept396,kept397,kept398,kept399,kept400,kept401,kept402,kept403,removed404,kept405,kept406,kept407,kept408,kept409,kept410,kept411,kept412,kept413,removed414,kept415,kept416,kept417,kept418,kept419,kept420,kept421,removed422,kept423,kept424,kept425,kept426,kept427,kept428,kept429,kept430,kept431,kept432,kept433,kept434,kept435,kept436,kept437,kept438,kept439,kept440,kept441,kept442,kept443,kept444,kept445,kept446,kept447,kept448,kept449,kept450,kept451,kept452,kept453,kept454,kept455,removed456,kept457,kept458,kept459,kept460,kept461,kept462,kept463,kept464,kept465,kept466,kept467,kept468,removed469,kept470,kept471,kept472,removed473,kept474,kept475,kept476,kept477,kept478,kept479,kept480,kept481,kept482,kept483,kept484,kept485,kept486,kept487,kept488,kept489,kept490,kept491,kept492,kept493,kept494,kept495,kept496,kept497,kept498,kept499,kept500,kept501,kept502,kept503,kept504,kept505,kept506,removed507,kept508,kept509,kept510,kept511,kept512,kept513,kept514,removed515,kept516,kept517,kept518,kept519,no_gold_upstream520,kept521,kept522,kept523,kept524,kept525,kept526,kept527,kept528,kept529,kept530,kept531,removed532,kept533,kept534,kept535,kept536,kept537,kept538,kept539,kept540,removed541,kept542,kept543,kept544,kept545,kept546,kept547,kept548,kept549,kept550,kept551,kept552,kept553,kept554,kept555,kept556,kept557,kept558,kept559,kept560,kept561,kept562,kept563,kept564,kept565,kept566,kept567,kept568,kept569,kept570,kept571,kept572,kept573,kept574,kept575,kept576,removed577,kept578,kept579,kept580,kept581,kept582,kept583,kept584,kept585,kept586,kept587,kept588,kept589,kept590,kept591,kept592,kept593,kept594,kept595,kept596,kept597,kept598,kept599,kept600,kept601,kept602,kept603,kept604,kept605,kept606,kept607,kept608,kept609,kept610,kept611,kept612,kept613,kept614,kept615,kept616,kept617,kept618,kept619,kept620,kept621,kept622,kept623,kept624,kept625,kept626,kept627,kept628,kept629,no_gold_upstream630,kept631,kept632,removed633,kept634,kept635,kept636,kept637,kept638,kept639,kept640,kept641,kept642,kept643,kept644,kept645,kept646,kept647,kept648,kept649,kept650,kept651,kept652,kept653,kept654,kept655,kept656,kept657,kept658,kept659,kept660,kept661,kept662,kept663,kept664,kept665,kept666,kept667,kept668,kept669,kept670,kept671,kept672,kept673,kept674,kept675,kept676,kept677,kept678,kept679,kept680,kept681,kept682,removed683,kept684,kept685,kept686,kept687,kept688,kept689,kept690,kept691,kept692,kept693,kept694,kept695,kept696,kept697,kept698,kept699,kept700,kept701,removed702,kept703,kept704,kept705,kept706,kept707,kept708,kept709,kept710,kept711,kept712,kept713,kept714,kept715,kept716,kept717,kept718,kept719,removed720,kept721,kept722,kept723,kept724,kept725,kept726,kept727,kept728,kept729,kept730,kept731,kept732,kept733,kept734,kept735,kept736,no_gold_upstream737,kept738,kept739,no_gold_upstream740,kept741,removed742,kept743,kept744,kept745,kept746,kept747,kept748,kept749,kept750,kept751,kept752,kept753,kept754,kept755,kept756,kept757,kept758,kept759,kept760,kept761,kept762,kept763,kept764,kept765,kept766,kept767,kept768,kept769,kept770,kept771,kept772,no_gold_upstream773,kept774,kept775,kept776,kept777,kept778,kept779,kept780,removed781,kept782,kept783,kept784,kept785,kept786,kept787,kept788,kept789,kept790,kept791,kept792,kept793,kept794,kept795,kept796,kept797,kept798,kept799,kept800,kept801,kept802,kept803,kept804,kept805,kept806,kept807,kept808,kept809,kept810,kept811,removed812,kept813,kept814,removed815,removed816,kept817,kept818,kept819,kept820,kept821,kept822,kept823,kept824,kept825,kept826,kept827,kept828,kept829,kept830,kept831,kept832,kept833,kept834,kept835,kept836,removed837,kept838,kept839,kept840,kept841,kept842,kept843,kept844,kept845,kept846,kept847,kept848,kept849,kept850,kept851,kept852,kept853,removed854,kept855,kept856,kept857,kept858,kept859,removed860,kept861,kept862,kept863,kept864,kept865,kept866,kept867,kept868,kept869,kept870,kept871,removed872,kept873,kept874,kept875,kept876,kept877,kept878,kept879,kept880,kept881,kept882,kept883,kept884,kept885,kept886,kept887,kept888,kept889,kept890,kept891,kept892,kept893,kept894,kept895,kept896,kept897,kept898,kept899,kept900,kept901,kept902,kept903,removed904,kept905,kept906,kept907,kept908,kept909,kept910,kept911,kept912,kept913,kept914,kept915,kept916,kept917,removed918,kept919,kept920,kept921,kept922,kept923,kept924,kept925,kept926,kept927,kept928,kept929,kept930,kept931,kept932,kept933,kept934,kept935,kept936,kept937,kept938,kept939,kept940,kept941,kept942,kept943,kept944,kept945,kept946,kept947,kept948,kept949,kept950,kept951,kept952,kept953,kept954,kept955,kept956,kept957,kept958,kept959,kept960,kept961,kept962,kept963,kept964,kept965,kept966,kept967,kept968,kept969,kept970,kept971,kept972,kept973,kept974,kept975,kept976,kept977,kept978,kept979,kept980,kept981,kept982,kept983,kept984,kept985,kept986,kept987,kept988,kept989,kept990,kept991,kept992,kept993,kept994,kept995,kept996,kept997,kept998,kept999,kept1000,keptREADME.mdAdded+87
apply_filter.pyAdded+27
ids.csvAdded+1002