Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type string to null
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1872, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 260, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 120, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2224, in cast_table_to_schema
cast_array_to_feature(
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1795, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2002, in cast_array_to_feature
_c(array.field(name) if name in array_fields else null_array, subfeature)
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1797, in wrapper
return func(array, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2052, in cast_array_to_feature
casted_array_values = _c(array.values, feature.feature)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1797, in wrapper
return func(array, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2002, in cast_array_to_feature
_c(array.field(name) if name in array_fields else null_array, subfeature)
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1797, in wrapper
return func(array, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2086, in cast_array_to_feature
return array_cast(
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1797, in wrapper
return func(array, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1948, in array_cast
raise TypeError(f"Couldn't cast array of type {_short_str(array.type)} to {_short_str(pa_type)}")
TypeError: Couldn't cast array of type string to null
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1922, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
doc_id string | source_file string | gsw dict |
|---|---|---|
doc_0 | gsw_0_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Teutberga",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
},
{
"role": "nobility",
"states": [
... |
doc_1 | gsw_1_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Theodred II",
"roles": [
{
"role": "person",
"states": [
"historical figure",
"medieval period"
],
"chunk_id": null
},
{
"role": "religious leader",
... |
doc_10 | gsw_10_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "The film",
"roles": [
{
"role": "film",
"states": [
"creative work"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
},
{
"id": "e2",
"na... |
doc_100 | gsw_100_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Owen Story",
"roles": [
{
"role": "person",
"states": [
"living",
"athlete"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
},
{
"... |
doc_1000 | gsw_1000_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Yukio Hatoyama",
"roles": [
{
"role": "person",
"states": [
"politician",
"Prime Minister"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
}... |
doc_1001 | gsw_1001_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Princess Mafalda of Savoy",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
},
{
"role": "nobility",
... |
doc_1002 | gsw_1002_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Shannah Trailor",
"roles": [
{
"role": "person",
"states": [
"living",
"author"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
},
{
... |
doc_1003 | gsw_1003_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Wang Shusen",
"roles": [
{
"role": "person",
"states": [
"former athlete",
"living"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
},
{... |
doc_1004 | gsw_1004_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Huc-Mazelet Luquiens",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": nul... |
doc_1005 | gsw_1005_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Zaven Paré",
"roles": [
{
"role": "person",
"states": [
"living",
"new media artist"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
},
... |
doc_1006 | gsw_1006_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Rona Shambrook",
"roles": [
{
"role": "person",
"states": [
"deceased",
"writer"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
},
{
... |
doc_1007 | gsw_1007_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Seymour Kattelson",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
... |
doc_1008 | gsw_1008_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Vincenzo Lapuma",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
},
{
"role": "religious figure",
... |
doc_1009 | gsw_1009_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Vincenzo Gamba",
"roles": [
{
"role": "person",
"states": [
"historical figure",
"musician"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
... |
doc_101 | gsw_101_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Joseph Bradley Story",
"roles": [
{
"role": "person",
"states": [
"athlete",
"former handball player"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary":... |
doc_1010 | gsw_1010_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Bahrām Beyzāie",
"roles": [
{
"role": "person",
"states": [
"living",
"contemporary figure"
],
"chunk_id": null
},
{
"role": "creative professional",
... |
doc_1011 | gsw_1011_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Broadway or Bust",
"roles": [
{
"role": "film",
"states": [
"silent film",
"western romantic comedy",
"1920s"
],
"chunk_id": null
},
{
"role": ... |
doc_1012 | gsw_1012_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Edward Sedgwick",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
},
{
"role": "creative professional",
... |
doc_1013 | gsw_1013_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Derek Charles Moore-Brabazon",
"roles": [
{
"role": "person",
"states": [
"deceased",
"nobility"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null... |
doc_1014 | gsw_1014_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Ballad of Tara",
"roles": [
{
"role": "film",
"states": [
"Iranian cinema",
"1970s"
],
"chunk_id": null
},
{
"role": "creative work",
"states": [... |
doc_1015 | gsw_1015_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Dáire Drechlethan",
"roles": [
{
"role": "person",
"states": [
"historical figure",
"legendary king"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": ... |
doc_1016 | gsw_1016_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "William III",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure",
"nobility"
],
"chunk_id": null
}
],
"chunk_id": null,
... |
doc_1017 | gsw_1017_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Baldwin V of Flanders",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
},
{
"role": "nobility",
"... |
doc_1018 | gsw_1018_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "William II, Count of Eu",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure",
"nobility",
"Anglo-Norman"
],
"chunk_id": null
... |
doc_1019 | gsw_1019_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Henry",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
},
{
"role": "ruler",
"states": [
... |
doc_102 | gsw_102_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Gaby: A True Story",
"roles": [
{
"role": "film",
"states": [
"American-Mexican cinema",
"1980s"
],
"chunk_id": null
},
{
"role": "creative work",
... |
doc_1020 | gsw_1020_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Arnulf of Flanders",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
},
{
"role": "nobility",
"sta... |
doc_1021 | gsw_1021_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Richilde, Countess of Mons and Hainaut",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
},
{
"role": "nobil... |
doc_1022 | gsw_1022_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Beatrice of Brabant",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
},
{
"role": "nobility",
"st... |
doc_1023 | gsw_1023_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Margaret I",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
},
{
"role": "nobility",
"states": [
... |
doc_1024 | gsw_1024_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "William II",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure",
"lord"
],
"chunk_id": null
}
],
"chunk_id": null,
"sum... |
doc_1025 | gsw_1025_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Whispers",
"roles": [
{
"role": "song",
"states": [
"single",
"freestyle genre"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
},
{
... |
doc_1026 | gsw_1026_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Corina Katt Ayala",
"roles": [
{
"role": "person",
"states": [
"living",
"American singer",
"actress"
],
"chunk_id": null
}
],
"chunk_id": null,
... |
doc_1027 | gsw_1027_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Kalaya Tasmai Namaha",
"roles": [
{
"role": "film",
"states": [
"Kannada cinema",
"2010s"
],
"chunk_id": null
},
{
"role": "creative work",
"stat... |
doc_1028 | gsw_1028_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "She's on Duty",
"roles": [
{
"role": "film",
"states": [
"South Korean cinema",
"2000s"
],
"chunk_id": null
},
{
"role": "creative work",
"states... |
doc_1029 | gsw_1029_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Undercover with the KKK",
"roles": [
{
"role": "film",
"states": [
"TV movie",
"1970s"
],
"chunk_id": null
},
{
"role": "creative work",
"states"... |
doc_103 | gsw_103_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Luis Mandoki",
"roles": [
{
"role": "person",
"states": [
"living",
"film director"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
},
{... |
doc_1030 | gsw_1030_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Pharnavaz I",
"roles": [
{
"role": "person",
"states": [
"historical figure",
"monarch"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
},
... |
doc_1031 | gsw_1031_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Afanasy Bagration",
"roles": [
{
"role": "person",
"states": [
"historical figure",
"Georgian prince"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary":... |
doc_1032 | gsw_1032_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "George VII",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
},
{
"role": "ruler",
"states": [
... |
doc_1033 | gsw_1033_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Rodam",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
},
{
"role": "nobility",
"states": [
... |
doc_1034 | gsw_1034_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Ranginui Joseph Isaac Walker",
"roles": [
{
"role": "person",
"states": [
"deceased",
"academic",
"writer"
],
"chunk_id": null
}
],
"chunk_id": null,... |
doc_1035 | gsw_1035_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Busba Kitiyakara Sathanapong",
"roles": [
{
"role": "person",
"states": [
"living",
"Thai nobility"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": n... |
doc_1036 | gsw_1036_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Anton Shunto",
"roles": [
{
"role": "person",
"states": [
"living",
"athlete"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
},
{
... |
doc_1037 | gsw_1037_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Willie Earl Walker",
"roles": [
{
"role": "person",
"states": [
"deceased",
"singer"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
},
... |
doc_1038 | gsw_1038_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Nakkhatra Mangala, Prince of Chanthaburi II",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure",
"nobility"
],
"chunk_id": null
}
... |
doc_1039 | gsw_1039_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Isaac Pigeon Walker",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure",
"politician"
],
"chunk_id": null
}
],
"chunk_id": n... |
doc_104 | gsw_104_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Runmarö",
"roles": [
{
"role": "location",
"states": [
"island",
"geographical feature"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
},
... |
doc_1040 | gsw_1040_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Jack Shea",
"roles": [
{
"role": "person",
"states": [
"deceased",
"film and television director"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": nul... |
doc_1041 | gsw_1041_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "La Boum 2",
"roles": [
{
"role": "film",
"states": [
"French cinema",
"1980s"
],
"chunk_id": null
},
{
"role": "creative work",
"states": [
... |
doc_1042 | gsw_1042_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Louis Mercanton",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
... |
doc_1043 | gsw_1043_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Claude Pinoteau",
"roles": [
{
"role": "person",
"states": [
"deceased",
"film industry professional"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary":... |
doc_1044 | gsw_1044_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Sophie Marceau",
"roles": [
{
"role": "person",
"states": [
"living",
"French actress",
"director",
"screenwriter",
"author"
],
"chunk_id": null
... |
doc_1045 | gsw_1045_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Benjamin Christensen",
"roles": [
{
"role": "person",
"states": [
"deceased",
"historical figure",
"film industry"
],
"chunk_id": null
}
],
"chunk_id... |
doc_1046 | gsw_1046_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Macbeth",
"roles": [
{
"role": "film",
"states": [
"black and white",
"silent film",
"1920s"
],
"chunk_id": null
},
{
"role": "creative work",
... |
doc_1047 | gsw_1047_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Possession or Phroso",
"roles": [
{
"role": "film",
"states": [
"British cinema",
"French cinema",
"silent film",
"1920s"
],
"chunk_id": null
},
... |
doc_1048 | gsw_1048_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "La Boum",
"roles": [
{
"role": "film",
"states": [
"French cinema",
"1980s"
],
"chunk_id": null
},
{
"role": "creative work",
"states": [
... |
doc_1049 | gsw_1049_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Mark Lewis",
"roles": [
{
"role": "person",
"states": [
"living",
"documentary filmmaker"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
},... |
doc_105 | gsw_105_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Sula Island",
"roles": [
{
"role": "location",
"states": [
"island",
"geographical feature"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
... |
doc_1050 | gsw_1050_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "La Marca de Satanás",
"roles": [
{
"role": "film",
"states": [
"Mexican cinema",
"1950s"
],
"chunk_id": null
},
{
"role": "creative work",
"state... |
doc_1051 | gsw_1051_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Sofia's Last Ambulance",
"roles": [
{
"role": "film",
"states": [
"observational documentary",
"feature-length"
],
"chunk_id": null
}
],
"chunk_id": null,
... |
doc_1052 | gsw_1052_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Creature of the Walking Dead",
"roles": [
{
"role": "film",
"states": [
"horror genre",
"1960s"
],
"chunk_id": null
},
{
"role": "creative work",
... |
doc_1053 | gsw_1053_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "Proezas de Satanás na Vila de Leva e Tráz",
"roles": [
{
"role": "film",
"states": [
"Brazilian cinema",
"1960s"
],
"chunk_id": null
},
{
"role": "creative... |
doc_1054 | gsw_1054_0.json | {
"entity_nodes": [
{
"id": "e1",
"name": "El Festín de Satanás",
"roles": [
{
"role": "film",
"states": [
"Argentine cinema",
"1950s"
],
"chunk_id": null
}
],
"chunk_id": null,
"summary": null
... |
Panini: Continual Learning in Token Space via Structured Memory
Extracted Generative Semantic Workspace (GSW) representations and curated evaluation splits from Panini, provided for ease of replication and future research.
Contents
GSW Networks (gsw_networks/)
Structured semantic representations extracted from document corpora using the Panini/GSW framework. Each GSW captures entities, their roles/states, and verb-phrase relationships as question-answer pairs.
| Dataset | Documents | File | Description |
|---|---|---|---|
| 2WikiMultihopQA | 6,119 | 2wiki.jsonl |
Multi-hop reasoning across Wikipedia articles |
| MuSiQue | 11,626 | musique.jsonl |
Complex multi-step question answering |
| HotpotQA | 9,811 | hotpotqa.jsonl |
Multi-hop QA with supporting facts |
| Natural Questions (REAR) | 9,592 | nq_rear.jsonl |
Single-hop factual retrieval |
| PopQA | 8,676 | popqa.jsonl |
Popular entity question answering |
Format: Each line is a JSON object with:
{
"doc_id": "doc_0",
"source_file": "gsw_0_0.json",
"gsw": {
"entity_nodes": [...],
"verb_phrase_nodes": [...],
"space_nodes": [...],
"time_nodes": [...],
"similarity_edges": [...],
"space_edges": [...],
"time_edges": [...]
}
}
Corpus source: All evaluation corpora follow the HippoRAG v2 splits. GSWs were generated using GPT-4o with the Panini operator (see paper for details).
Paper Results
Main Results (GPT-4o-mini)
| Simple QA | Multi-Hop QA | ||||||
|---|---|---|---|---|---|---|---|
| Retrieval | NQ | PopQA | MuSiQue | 2Wiki | HotpotQA | LV-Eval | Avg |
| None | 52.7 | 22.7 | 22.0 | 36.3 | 41.0 | 5.0 | 29.9 |
| BM25 | 56.0 | 53.0 | 25.3 | 35.4 | 54.2 | 7.8 | 38.6 |
| BM25 + reranker | 58.2 | 56.8 | 29.9 | 44.1 | 63.4 | 8.1 | 43.4 |
| NV-Embed-v2 (7B) | 59.9 | 55.8 | 46.0 | 60.8 | 71.0 | 10.0 | 50.6 |
| Qwen3 (8B) | 59.1 | 59.8 | 39.4 | 56.2 | 69.2 | 11.7 | 49.2 |
| Qwen3 + reranker | 61.4 | 59.9 | 43.7 | 57.9 | 68.2 | 11.8 | 50.5 |
| RAPTOR | 54.5 | 55.1 | 39.2 | 48.4 | 64.7 | 9.2 | 45.2 |
| GraphRAG | 55.5 | 51.3 | 42.0 | 61.0 | 67.6 | 11.0 | 48.1 |
| HippoRAG | 52.2 | 56.2 | 35.9 | 67.3 | 60.0 | 7.6 | 46.5 |
| HippoRAG 2 | 60.0 | 55.7 | 49.3 | 69.7 | 71.1 | 14.0 | 53.3 |
| IRCoT | 26.4 | 53.8 | 44.2 | 64.9 | 64.3 | 9.1 | 43.8 |
| Search-R1 | 47.9 | 49.7 | 41.1 | 64.9 | 68.6 | 11.5 | 47.3 |
| Panini | 67.4 | 57.6 | 52.3 | 72.4 | 71.9 | 14.8 | 56.1 |
Platinum Evaluation Splits (platinum/)
To evaluate reliability under missing evidence, we curate Platinum splits for MuSiQue and 2WikiMultihopQA. Each question is verified for answerability through multi-model consensus and labeled as answerable (gold answer is derivable from supporting documents) or unanswerable (evidence is missing or ambiguous). This allows measuring both QA accuracy and abstention quality. See Section 4.2 of the paper for full construction details.
| Split | Answerable | Unanswerable | Total |
|---|---|---|---|
| 2Wiki Platinum | 906 | 94 | 1,000 |
| MuSiQue Platinum | 766 | 153 | 919 |
Files:
2wiki_platinum.json— Answerable 2Wiki questions2wiki_unanswerable.json— Unanswerable 2Wiki questionsmusique_platinum.json— Answerable MuSiQue questionsmusique_unanswerable.json— Unanswerable MuSiQue questions
Platinum Results (GPT-4o-mini)
| Retrieval | MuSiQue Ans | MuSiQue Unans | 2Wiki Ans | 2Wiki Unans | Avg Ans | Avg Unans |
|---|---|---|---|---|---|---|
| BM25 | 35.0 | 78.4 | 37.9 | 79.8 | 36.4 | 79.1 |
| BM25 + reranker | 42.3 | 74.5 | 47.9 | 78.7 | 45.1 | 76.6 |
| Qwen3 (8B) | 53.3 | 63.4 | 63.5 | 70.9 | 58.4 | 67.2 |
| Qwen3 + reranker | 59.7 | 62.8 | 63.8 | 67.7 | 61.7 | 65.2 |
| HippoRAG 2 | 63.6 | 50.3 | 81.5 | 66.7 | 72.5 | 58.5 |
| Panini | 75.0 | 72.6 | 84.8 | 73.1 | 79.9 | 72.8 |
Usage
import json
# Load GSW networks for a dataset
gsws = []
with open("gsw_networks/2wiki.jsonl") as f:
for line in f:
gsws.append(json.loads(line))
# Load platinum evaluation split
with open("platinum/2wiki_platinum.json") as f:
platinum_questions = json.load(f)
With the Panini/GSW-Memory package
from gsw_memory.qa.gsw_tools import GSWTools
# Write GSWs to individual files for GSWTools
import os, json
os.makedirs("gsw_files", exist_ok=True)
with open("gsw_networks/2wiki.jsonl") as f:
for line in f:
record = json.loads(line)
doc_dir = f"gsw_files/{record['doc_id']}"
os.makedirs(doc_dir, exist_ok=True)
with open(f"{doc_dir}/{record['source_file']}", "w") as out:
json.dump(record["gsw"], out)
# Use GSWTools for retrieval
import glob
gsw_files = glob.glob("gsw_files/doc_*/*.json")
tools = GSWTools(gsw_files)
tools.build_index()
results = tools.search_gsw_bm25("Lothair II", limit=5)
Attribution
- Evaluation corpora follow splits from HippoRAG v2 (Gutiérrez et al., 2025)
- 2WikiMultihopQA from Ho et al., 2020
- MuSiQue from Trivedi et al., 2022
- HotpotQA from Yang et al., 2018
- Natural Questions from Kwiatkowski et al., 2019
- PopQA from Mallen et al., 2023
- Platinum curation methodology inspired by Vendrow et al., 2025
Citation
@misc{rajesh2026paninicontinuallearningtoken,
title={Panini: Continual Learning in Token Space via Structured Memory},
author={Shreyas Rajesh and Pavan Holur and Mehmet Yigit Turali and Chenda Duan and Vwani Roychowdhury},
year={2026},
eprint={2602.15156},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2602.15156},
}
License
MIT
- Downloads last month
- 84