The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: ArrowInvalid
Message: JSON parse error: Column() changed from object to string in row 0
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 174, in _generate_tables
df = pandas_read_json(f)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
return pd.read_json(path_or_buf, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 815, in read_json
return json_reader.read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1014, in read
obj = self._get_object_parser(self.data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1040, in _get_object_parser
obj = FrameParser(json, **kwargs).parse()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1176, in parse
self._parse()
File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1391, in _parse
self.obj = DataFrame(
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/frame.py", line 778, in __init__
mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/internals/construction.py", line 503, in dict_to_mgr
return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/internals/construction.py", line 114, in arrays_to_mgr
index = _extract_index(arrays)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/internals/construction.py", line 677, in _extract_index
raise ValueError("All arrays must be of the same length")
ValueError: All arrays must be of the same length
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1815, in _prepare_split_single
for _, table in generator:
^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 177, in _generate_tables
raise e
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 151, in _generate_tables
pa_table = paj.read_json(
^^^^^^^^^^^^^^
File "pyarrow/_json.pyx", line 342, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to string in row 0
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 1455, 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 1054, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, 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 1858, 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.
name string | prompt_templates list | samples list | relation_id string |
|---|---|---|---|
applies_to_jurisdiction | [
"ูู ุฃู ุจูุฏ ูููู ูุฏู <subject> ู
ุตุทูุญูุง ูุงูููููุงุ ุงูุฌูุงุจ ูู: <mask>.",
"ูู ุฃู ุงุฎุชุตุงุต ุชููู ูุฏู <subject> ู
ุตุทูุญ ูุงููููุ ุงูุฌูุงุจ ูู: <mask>.",
"ุฃูู ูุชู
ุชุทุจูู ุงูู
ุตุทูุญ ุงููุงูููู <subject>ุ ุงูุฌูุงุจ ูู: <mask>.",
"ุฃู ููุงู ูุงูููู ูุณุชุฎุฏู
<subject>ุ ุงูุฌูุงุจ ูู: <mask>.",
"ูู ุฃู ู
ูุทูุฉ ูุนุชุจุฑ <subject> ู
ุตุทูุญูุง ูุงูููููุง ู
ุนุชุฑูู... | [
{
"subject": "ุฑุฆูุณ ุงูุฌู
ููุฑูุฉ ุงููุฑูุณูุฉ",
"object": "ูุฑูุณุง",
"object_candidates": "ุงูุตูู
ุงู, ุณููุณุฑุง, ุฑูู
ุงููุง, ุณูุบุงููุฑุฉ, ุงููุฑููุฌ, ููุจุง, ููุชูุงููุง, ุชุงููุงู, ู
ููุงูู, ูุฑูุณุง",
"index": 5960,
"subject_en": "President of the French Republic",
"object_en": "France"
},
{
"subject": "ุฑุฆูุณ ูุฒุฑุงุก ููุฏ... | P1001 |
capital | [
"ุฃูู ููุน ุนุงุตู
ุฉ <subject>? ุงูุฌูุงุจ ูู: <mask>",
"ู
ุง ูู ุนุงุตู
ุฉ <subject>? ุงูุฌูุงุจ ูู: <mask>",
"ู
ุง ูู ุงูู
ุฏููุฉ ุงูุชู ุชุนุชุจุฑ ุนุงุตู
ุฉ <subject>? ุงูุฌูุงุจ ูู: <mask>",
"ุฐูุฑ ุงุณู
ุนุงุตู
ุฉ <subject>. ุงูุฌูุงุจ ูู: <mask>",
"ุฃูู ุชุญุชู <subject> ู
ูุงูุฉ ุนุงุตู
ุชูุงุ ุงูุฌูุงุจ ูู: <mask>"
] | [
{
"subject": "ุฃุฐุฑุจูุฌุงู",
"object": "ุจุงูู",
"object_candidates": "ุบูุงุฏุงูุงุฎุงุฑุง, ูููู
ุจู, ุจุฑุบู, ุณุงููููู, ูููุชุง, ู
ุงูููุง, ูููููู, ุฑุงููุ ูุงุฑููุงููุง ุงูุดู
ุงููุฉ, ุจุงุจู, ุจุงูู",
"index": 6152,
"subject_en": "Azerbaijan",
"object_en": "Baku"
},
{
"subject": "ูุจุฑุงุณูุง",
"object": "ูููููู",
"ob... | P36 |
capital_of | [
"ู
ุง ูู ุงูุฏููุฉ ุฃู ุงูููุงูุฉ ุงูุชู <subject> ูู ุนุงุตู
ุชูุงุ ุงูุฌูุงุจ ูู: <mask>",
"ุฃูู <subject> ุนุงุตู
ุฉุ ุงูุฌูุงุจ ูู: <mask>",
"ุฃู ุฏููุฉ ุฃู ููุงูุฉ ูุฏููุง <subject> ูุนุงุตู
ุฉ ููุงุ ุงูุฌูุงุจ ูู: <mask>",
"ุฃู ู
ูุงู ูุฏูู <subject> ูุนุงุตู
ุฉุ ุงูุฌูุงุจ ูู: <mask>",
"ุฃูู ุชููู <subject> ุฎุฏู
ุฉ ูุนุงุตู
ุฉุ ุงูุฌูุงุจ ูู: <mask>"
] | [
{
"subject": "ุฅุฏู
ููุชูู",
"object": "ุฃูุจุฑุชุง",
"object_candidates": "ุชุดูููุณูููุงููุง, ูุงูุณ, ูุฌุฑุงุช, ุจุงูุงุฑูุง, ุณุฑุงูู, ุจูุบูุงุฏูุด, ุชูุณุงุณ, ูุทุฑ, ุจุฑูููุณ, ุฃูุจุฑุชุง",
"index": 3750,
"subject_en": "Edmonton",
"object_en": "Alberta"
},
{
"subject": "ุฃููุฑุฉ",
"object": "ุชุฑููุง",
"object_candidates... | P1376 |
continent | ["ุฃู ูุงุฑุฉ ููุน <subject> ูููุงุ ุงูุฌูุงุจ: <mask>","ู
ุง ูู ูุงุฑุฉ <subject>ุ ุง(...TRUNCATED) | [{"subject":"ุชุฑููุง","object":"ุขุณูุง","object_candidates":"ุฃูุฑูุจุง, ุงูุฃู
ุฑููุชุงู(...TRUNCATED) | P30 |
country_of_citizenship | ["ุฃู ุฏููุฉ ูู <subject> ู
ูุงุทูุฉ ู
ููุง? ุงูุฌูุงุจ ูู: <mask>","ู
ุง ูู ุฌูุณู(...TRUNCATED) | [{"subject":"ุจูุฑูุณ ุณุจุงุณูู","object":"ูุฑูุณุง","object_candidates":"ุฌู
ููุฑูุฉ ุฃู(...TRUNCATED) | P27 |
developer | ["ุฃู ุดุฑูุฉ ูู ู
ุทูุฑ <subject>ุ ุงูุฅุฌุงุจุฉ: <mask>","ู
ู ูุงู
ุจุชุทููุฑ <subject(...TRUNCATED) | [{"subject":"ู
ุงู ุฃูุณ","object":"ุฃุจู","object_candidates":"ุจูููุบ, ุขูโ ุจูโ ุฅู
,(...TRUNCATED) | P178 |
field_of_work | ["ูู ุฃู ู
ุฌุงู ูุนู
ู <subject>? ุงูุฅุฌุงุจุฉ ูู: <mask>","ูู ุฃู ู
ุฌุงู ู
ู ุงู(...TRUNCATED) | [{"subject":"ุขูุงู ุชูุฑูุบ","object":"ู
ูุทู","object_candidates":"ุนูู
ูุธุงุฆู ุงูุฃ(...TRUNCATED) | P101 |
headquarters_location | ["ุฃูู ููุฌุฏ ู
ูุฑ <subject>ุ ุงูุฅุฌุงุจุฉ ูู: <mask>","ูู ุฃู ู
ุฏููุฉ ููุน ู
ู(...TRUNCATED) | [{"subject":"ุจุงุฑูุณ ุณุงู ุฌูุฑู
ุงู","object":"ุจุงุฑูุณ","object_candidates":"ุจููู, ู(...TRUNCATED) | P159 |
instrument | ["ู
ุง ุงูุขูุฉ ุงูู
ูุณูููุฉ ุงูุชู ูุนุฒููุง <subject>? ุงูุฌูุงุจ ูู: <mask>","ุฃ(...TRUNCATED) | [{"subject":"ูุช ูููุบ ููู","object":"ุจูุงูู","object_candidates":"ูู
ุงู, ููุซุงุฑุฉ(...TRUNCATED) | P1303 |
language_of_work_or_name | ["ู
ุง ูู ุงููุบุฉ ุงูุฃุตููุฉ ูู <subject>ุ ุงูุฌูุงุจ: <mask>.","ุจุฃู ูุบุฉ ูุชุจ (...TRUNCATED) | [{"subject":"ุฃุญุฏุจ ููุชุฑุฏุงู
","object":"ุงููุฑูุณูุฉ","object_candidates":"ุงููููู(...TRUNCATED) | P407 |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
KLAR-CLC
This repository provides the dataset for:
๐ก Introduction
We apply mechanistic interpretability methods to analyze cross-lingual inconsistencies in multilingual masked language models (MLMs). Our findings reveal that MLMs represent knowledge in a shared, language-independent space through most layers, transitioning to language-specific representations only in the final layers. Errors often occur during this transition, leading to incorrect predictions in the target language despite correct answers in others. These insights offer a lightweight and effective strategy for improving factual consistency across languages.
This repository hosts KLAR, the dataset we created for multilingual knowledge probing, covering 17 languages. The accompanying code is available here.
๐ Citation
If you found our work useful for your research, please cite it as follows:
@inproceedings{wang-etal-2025-lost-multilinguality,
title = "Lost in Multilinguality: Dissecting Cross-lingual Factual Inconsistency in Transformer Language Models",
author = {Wang, Mingyang and Adel, Heike and Lange, Lukas and Liu, Yihong and Nie, Ercong and Strรถtgen, Jannik and Schรผtze, Hinrich},
booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
month = jul,
year = "2025",
address = "Vienna, Austria",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2025.acl-long.253/",
}
- Downloads last month
- 45