--- language: - en - zh task_categories: - question-answering size_categories: - n<1K tags: - transition-analysis - proof-of-concept - semantic-probing configs: - config_name: default default: true data_files: - split: test path: language.json field: examples - config_name: semantic data_files: - split: test path: semantic/language.json field: examples - config_name: setup data_files: - split: test path: setup/language.json field: examples --- # English–Chinese language transitions PoC1 matched-input examples using English (A) and Simplified Chinese (B). Version `semantic-v1` adds a balanced semantic-probing set to the original 10 setup examples. Each example contains four prompts: AA, AB, BA, and BB. | Configuration | Examples | Prompts | Intended use | | --- | ---: | ---: | --- | | `default` | 100 | 400 | Original setup plus semantic extension | | `semantic` | 90 | 360 | Balanced inference, CKA, and probing | | `setup` | 10 | 40 | Original setup examples, unchanged | The `semantic` configuration has target `target_color` with 30 red, 30 blue, and 30 green. Its labels and grouping information are in `labels/language.json`. ## Conditions and schema The first condition letter specifies S1 and the second specifies S2. AA/BB use the same representation in both segments; AB/BA cross representations. Segment meanings, identifiers, row order, and the English question are fixed across conditions. The final English prose question can introduce a further boundary after S2 in AB/BB. The JSON files contain a top-level object with setup metadata and an `examples` list. Configurations expose that list as the `test` split. This split name denotes evaluation examples; it does not indicate an independently sampled held-out benchmark. The configurations overlap: do not treat `default`, `semantic`, and `setup` as disjoint training/test splits. Examples contain `id`, `task`, `segments`, `question`, `question_language`, and `inputs`. Gold answers are in `expected_answer`. New examples additionally include `group_id`, `semantic_facts`, and `extension`. Only send `inputs[condition]` to the model. Gold answers, semantic facts, group IDs, and provenance are auditing/evaluation metadata and must not enter the prompt. ## Loading ```python from datasets import load_dataset examples = load_dataset("talzoomanzoo/language", "semantic", split="test") prompt = examples[0]["inputs"]["AB"] ``` To retrieve the original JSON structure together with labels: ```python import json from huggingface_hub import hf_hub_download def read_json(filename): path = hf_hub_download("talzoomanzoo/language", filename, repo_type="dataset") with open(path, encoding="utf-8") as f: return json.load(f) document = read_json("semantic/language.json") labels = read_json("labels/language.json") prompt = document["examples"][0]["inputs"]["AB"] ``` Use `language.json` to download the combined dataset or `setup/language.json` to recover the original release. The published JSON bytes match the project files; some metadata paths refer to the original project layout. ## Probe protocol Each annotation identifies a dataset (`language`), example ID, group ID, and categorical label `target_color`. All four conditions of an example share its label and remain in the same evaluation fold. Related variants must share a group ID. The semantic subset supports five grouped folds with every class represented in training and evaluation. For transition transfer, train on BB and evaluate held-out BB versus AB; separately train on AA and evaluate held-out AA versus BA. Use the last question token as the primary probe position so the representation has access to both segments and the query. Use the same model and thinking setting when comparing conditions. The custom target equals the gold answer in this extension; the two probes do not provide independent evidence. Use `semantic` for gold-answer classification: the original setup examples have singleton answer classes. They have no annotations for the custom extension target and should be excluded from that target's probe evaluation. ## Construction and limitations Each new scene contains six uniquely identified objects, exactly two of each color. S1 assigns colors to identifiers, and S2 gives their left-to-right order. The question asks for the leftmost object's color. The set enumerates all 90 distinct color orders, with separately sampled identifiers and shuffled S1 statements. The target object's S1 position is balanced within each color. Every scene contains identical color-word counts, so counting color words cannot determine the answer. Group IDs identify underlying color orders; future paraphrases and renamed copies must retain their parent group. This is one controlled synthetic task family, not evidence of generalization to new linguistic constructions. English/Chinese template equivalence was checked automatically; independent fluent-speaker review remains outstanding. These are synthetic examples, not samples from PixMo. These are small pilot datasets. Automated checks cover answers, paired renderings, provenance, class balance, and group-disjoint fold eligibility. They do not establish model or probe accuracy. Compare against appropriate baselines and establish same-condition performance before interpreting transition effects. The project design references `tue-meeting.pdf`, which is not included here.