language / README.md
talzoomanzoo's picture
Add PoC1 matched-input dataset and documentation
e20d3d8 verified
|
Raw History Blame Contribute Delete
2.74 kB
metadata
language:
  - en
  - zh
task_categories:
  - question-answering
size_categories:
  - n<1K
tags:
  - transition-analysis
  - proof-of-concept
configs:
  - config_name: default
    data_files:
      - split: test
        path: language.json
    field: examples

English–Chinese language transitions

Ten synthetic, text-only examples for PoC1 language-transition experiments. Each example has four matched prompts (40 prompts total), using English (A) and Simplified Chinese (B). These examples are not sampled from PixMo.

Conditions and structure

Condition letters specify the representation of segments S1 and S2, respectively:

Condition S1 S2
AA A A
AB A B
BA B A
BB B B

Each question requires information from both segments. Meanings, identifiers, and the English question remain fixed across conditions. The fixed English prose question can introduce an additional boundary after S2 in AB and BB.

language.json preserves the original project file, including top-level setup metadata and an examples list. The dataset configuration exposes that list as the test split. This split name denotes evaluation examples; no train/test sampling or held-out benchmark construction is implied.

Each example includes id, task, segments, question, question_language, and inputs. Gold answers are in expected_answer.

Loading

from datasets import load_dataset

examples = load_dataset("talzoomanzoo/language", split="test")
prompt = examples[0]["inputs"]["AB"]

To preserve the complete JSON document and its setup metadata:

import json
from huggingface_hub import hf_hub_download

path = hf_hub_download(
    repo_id="talzoomanzoo/language",
    filename="language.json",
    repo_type="dataset",
)
with open(path, encoding="utf-8") as f:
    document = json.load(f)
prompt = document["examples"][0]["inputs"]["AB"]

Send only the selected inputs value to the model. Gold answers and other metadata are for evaluation and auditing, and must not be included in the prompt.

Intended use and limitations

These small examples support setup validation for inference, token-position activation capture, representation comparisons, and probing experiments. They are not a representative benchmark. Establish model-specific accuracy in AA and BB before interpreting transition effects. Keep all four conditions of an example together when constructing any later evaluation partitions.

Chinese translations are draft examples and should receive fluent-speaker review before experimental use. The design follows the project's PoC1 matched-input construction described in tue-meeting.pdf; that document is not included in this repository.