Datasets:

Modalities:
Text
Formats:
parquet
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
masked
large_stringlengths
31
46
label
large_stringclasses
60 values
label_class
large_stringclasses
1 value
alternative
large_stringclasses
60 values
alternative_class
large_stringclasses
1 value
query_key
large_stringclasses
30 values
n_bindings
int64
2
2
difficulty
large_stringclasses
1 value
split
large_stringclasses
1 value
feature_class_id
large_stringclasses
1 value
key5 = white; k20 = green; key5 = [MASK]
white
VALUE
green
OTHER
key5
2
easy
train
VALUE
k1 = pink; k6 = mint; k6 = [MASK]
mint
VALUE
pink
OTHER
k6
2
easy
train
VALUE
slot4 = frog; key2 = rose; slot4 = [MASK]
frog
VALUE
rose
OTHER
slot4
2
easy
train
VALUE
key1 = turtle; key4 = bear; key1 = [MASK]
turtle
VALUE
bear
OTHER
key1
2
easy
train
VALUE
key3 = duck; key2 = dog; key3 = [MASK]
duck
VALUE
dog
OTHER
key3
2
easy
train
VALUE
k3 = mirror; k16 = door; k3 = [MASK]
mirror
VALUE
door
OTHER
k3
2
easy
train
VALUE
k4 = coin; k1 = rust; k4 = [MASK]
coin
VALUE
rust
OTHER
k4
2
easy
train
VALUE
key3 = stone; k18 = cat; k18 = [MASK]
cat
VALUE
stone
OTHER
k18
2
easy
train
VALUE
k12 = pink; key1 = key; key1 = [MASK]
key
VALUE
pink
OTHER
key1
2
easy
train
VALUE
slot2 = knife; k12 = lime; k12 = [MASK]
lime
VALUE
knife
OTHER
k12
2
easy
train
VALUE
k10 = door; k11 = lime; k10 = [MASK]
door
VALUE
lime
OTHER
k10
2
easy
train
VALUE
k16 = knife; slot3 = coin; k16 = [MASK]
knife
VALUE
coin
OTHER
k16
2
easy
train
VALUE
key1 = desk; k18 = lamp; key1 = [MASK]
desk
VALUE
lamp
OTHER
key1
2
easy
train
VALUE
k8 = map; slot1 = plum; k8 = [MASK]
map
VALUE
plum
OTHER
k8
2
easy
train
VALUE
key5 = white; k11 = eagle; k11 = [MASK]
eagle
VALUE
white
OTHER
k11
2
easy
train
VALUE
k3 = coin; slot1 = chair; k3 = [MASK]
coin
VALUE
chair
OTHER
k3
2
easy
train
VALUE
key5 = plum; k14 = eagle; k14 = [MASK]
eagle
VALUE
plum
OTHER
k14
2
easy
train
VALUE
k18 = bag; k2 = rabbit; k18 = [MASK]
bag
VALUE
rabbit
OTHER
k18
2
easy
train
VALUE
k19 = rope; k18 = mint; k18 = [MASK]
mint
VALUE
rope
OTHER
k18
2
easy
train
VALUE
k6 = wolf; key3 = purple; k6 = [MASK]
wolf
VALUE
purple
OTHER
k6
2
easy
train
VALUE
k15 = slate; k19 = mint; k15 = [MASK]
slate
VALUE
mint
OTHER
k15
2
easy
train
VALUE
k6 = wolf; slot3 = mirror; slot3 = [MASK]
mirror
VALUE
wolf
OTHER
slot3
2
easy
train
VALUE
k11 = seal; slot5 = camel; slot5 = [MASK]
camel
VALUE
seal
OTHER
slot5
2
easy
train
VALUE
k13 = rust; key2 = slate; key2 = [MASK]
slate
VALUE
rust
OTHER
key2
2
easy
train
VALUE
k13 = lime; k3 = spoon; k3 = [MASK]
spoon
VALUE
lime
OTHER
k3
2
easy
train
VALUE
k6 = coral; slot3 = lime; slot3 = [MASK]
lime
VALUE
coral
OTHER
slot3
2
easy
train
VALUE
k20 = seal; slot5 = coral; k20 = [MASK]
seal
VALUE
coral
OTHER
k20
2
easy
train
VALUE
slot4 = purple; key5 = fish; key5 = [MASK]
fish
VALUE
purple
OTHER
key5
2
easy
train
VALUE
slot2 = silver; k11 = bowl; slot2 = [MASK]
silver
VALUE
bowl
OTHER
slot2
2
easy
train
VALUE
k7 = fish; slot2 = camel; k7 = [MASK]
fish
VALUE
camel
OTHER
k7
2
easy
train
VALUE
k13 = yellow; k17 = fish; k17 = [MASK]
fish
VALUE
yellow
OTHER
k17
2
easy
train
VALUE
k2 = duck; key5 = shark; k2 = [MASK]
duck
VALUE
shark
OTHER
k2
2
easy
train
VALUE
key2 = seal; slot2 = dog; key2 = [MASK]
seal
VALUE
dog
OTHER
key2
2
easy
train
VALUE
k15 = pen; slot2 = green; slot2 = [MASK]
green
VALUE
pen
OTHER
slot2
2
easy
train
VALUE
k19 = silver; k3 = chair; k3 = [MASK]
chair
VALUE
silver
OTHER
k3
2
easy
train
VALUE
slot4 = green; k5 = spoon; slot4 = [MASK]
green
VALUE
spoon
OTHER
slot4
2
easy
train
VALUE
slot2 = coral; k7 = silver; k7 = [MASK]
silver
VALUE
coral
OTHER
k7
2
easy
train
VALUE
k9 = key; key5 = rose; key5 = [MASK]
rose
VALUE
key
OTHER
key5
2
easy
train
VALUE
k17 = stone; k2 = rope; k17 = [MASK]
stone
VALUE
rope
OTHER
k17
2
easy
train
VALUE
key4 = deer; key5 = plate; key4 = [MASK]
deer
VALUE
plate
OTHER
key4
2
easy
train
VALUE
k17 = crow; k3 = candle; k3 = [MASK]
candle
VALUE
crow
OTHER
k3
2
easy
train
VALUE
key5 = wolf; k5 = mint; key5 = [MASK]
wolf
VALUE
mint
OTHER
key5
2
easy
train
VALUE
k18 = slate; key5 = bear; k18 = [MASK]
slate
VALUE
bear
OTHER
k18
2
easy
train
VALUE
k4 = fork; k1 = orange; k1 = [MASK]
orange
VALUE
fork
OTHER
k1
2
easy
train
VALUE
k16 = deer; k9 = pink; k9 = [MASK]
pink
VALUE
deer
OTHER
k9
2
easy
train
VALUE
k4 = pen; k2 = slate; k4 = [MASK]
pen
VALUE
slate
OTHER
k4
2
easy
train
VALUE
slot5 = door; k13 = whale; k13 = [MASK]
whale
VALUE
door
OTHER
k13
2
easy
train
VALUE
k1 = bag; key3 = lion; key3 = [MASK]
lion
VALUE
bag
OTHER
key3
2
easy
train
VALUE
slot2 = pink; k19 = copper; k19 = [MASK]
copper
VALUE
pink
OTHER
k19
2
easy
train
VALUE
key3 = duck; slot4 = pen; slot4 = [MASK]
pen
VALUE
duck
OTHER
slot4
2
easy
train
VALUE
key5 = coin; k8 = rust; k8 = [MASK]
rust
VALUE
coin
OTHER
k8
2
easy
train
VALUE
slot2 = map; slot4 = bear; slot2 = [MASK]
map
VALUE
bear
OTHER
slot2
2
easy
train
VALUE
k5 = coin; k17 = wolf; k17 = [MASK]
wolf
VALUE
coin
OTHER
k17
2
easy
train
VALUE
key1 = gray; k5 = mint; k5 = [MASK]
mint
VALUE
gray
OTHER
k5
2
easy
train
VALUE
key1 = rabbit; k18 = eagle; k18 = [MASK]
eagle
VALUE
rabbit
OTHER
k18
2
easy
train
VALUE
k10 = bag; k16 = copper; k16 = [MASK]
copper
VALUE
bag
OTHER
k16
2
easy
train
VALUE
k13 = desk; k1 = spoon; k1 = [MASK]
spoon
VALUE
desk
OTHER
k1
2
easy
train
VALUE
slot4 = rabbit; k18 = black; k18 = [MASK]
black
VALUE
rabbit
OTHER
k18
2
easy
train
VALUE
k17 = knife; k6 = camel; k6 = [MASK]
camel
VALUE
knife
OTHER
k6
2
easy
train
VALUE
k3 = whale; slot3 = cat; slot3 = [MASK]
cat
VALUE
whale
OTHER
slot3
2
easy
train
VALUE
k10 = camel; k6 = brown; k6 = [MASK]
brown
VALUE
camel
OTHER
k6
2
easy
train
VALUE
k9 = white; key2 = turtle; key2 = [MASK]
turtle
VALUE
white
OTHER
key2
2
easy
train
VALUE
k7 = mouse; k15 = fish; k15 = [MASK]
fish
VALUE
mouse
OTHER
k15
2
easy
train
VALUE
k9 = fork; slot2 = crow; k9 = [MASK]
fork
VALUE
crow
OTHER
k9
2
easy
train
VALUE
k7 = cat; slot2 = map; k7 = [MASK]
cat
VALUE
map
OTHER
k7
2
easy
train
VALUE
k5 = lamp; k8 = purple; k8 = [MASK]
purple
VALUE
lamp
OTHER
k8
2
easy
train
VALUE
k1 = whale; k14 = deer; k1 = [MASK]
whale
VALUE
deer
OTHER
k1
2
easy
train
VALUE
k3 = green; k2 = rabbit; k2 = [MASK]
rabbit
VALUE
green
OTHER
k2
2
easy
train
VALUE
slot3 = copper; k15 = bag; slot3 = [MASK]
copper
VALUE
bag
OTHER
slot3
2
easy
train
VALUE
slot3 = pink; k2 = door; k2 = [MASK]
door
VALUE
pink
OTHER
k2
2
easy
train
VALUE
k13 = pink; k19 = whale; k19 = [MASK]
whale
VALUE
pink
OTHER
k19
2
easy
train
VALUE
k2 = fork; k17 = brown; k2 = [MASK]
fork
VALUE
brown
OTHER
k2
2
easy
train
VALUE
slot5 = coral; key1 = eagle; slot5 = [MASK]
coral
VALUE
eagle
OTHER
slot5
2
easy
train
VALUE
k13 = plate; k1 = dog; k1 = [MASK]
dog
VALUE
plate
OTHER
k1
2
easy
train
VALUE
k9 = deer; key4 = black; key4 = [MASK]
black
VALUE
deer
OTHER
key4
2
easy
train
VALUE
key2 = slate; key4 = purple; key2 = [MASK]
slate
VALUE
purple
OTHER
key2
2
easy
train
VALUE
k13 = camel; k17 = orange; k13 = [MASK]
camel
VALUE
orange
OTHER
k13
2
easy
train
VALUE
k1 = bear; k14 = rope; k1 = [MASK]
bear
VALUE
rope
OTHER
k1
2
easy
train
VALUE
key2 = bowl; k12 = candle; key2 = [MASK]
bowl
VALUE
candle
OTHER
key2
2
easy
train
VALUE
k1 = white; key5 = bag; key5 = [MASK]
bag
VALUE
white
OTHER
key5
2
easy
train
VALUE
k13 = spoon; k16 = copper; k13 = [MASK]
spoon
VALUE
copper
OTHER
k13
2
easy
train
VALUE
k14 = fish; k8 = plum; k14 = [MASK]
fish
VALUE
plum
OTHER
k14
2
easy
train
VALUE
k9 = mouse; key4 = rose; k9 = [MASK]
mouse
VALUE
rose
OTHER
k9
2
easy
train
VALUE
slot3 = door; k12 = yellow; slot3 = [MASK]
door
VALUE
yellow
OTHER
slot3
2
easy
train
VALUE
k13 = bag; k19 = knife; k13 = [MASK]
bag
VALUE
knife
OTHER
k13
2
easy
train
VALUE
slot3 = chair; k9 = ring; k9 = [MASK]
ring
VALUE
chair
OTHER
k9
2
easy
train
VALUE
k18 = wolf; k19 = coral; k19 = [MASK]
coral
VALUE
wolf
OTHER
k19
2
easy
train
VALUE
k17 = rust; k4 = eagle; k4 = [MASK]
eagle
VALUE
rust
OTHER
k4
2
easy
train
VALUE
slot5 = bowl; k16 = chair; slot5 = [MASK]
bowl
VALUE
chair
OTHER
slot5
2
easy
train
VALUE
k12 = eagle; key2 = yellow; key2 = [MASK]
yellow
VALUE
eagle
OTHER
key2
2
easy
train
VALUE
k4 = bronze; key3 = plum; key3 = [MASK]
plum
VALUE
bronze
OTHER
key3
2
easy
train
VALUE
k6 = rose; slot5 = sand; k6 = [MASK]
rose
VALUE
sand
OTHER
k6
2
easy
train
VALUE
k18 = dog; slot2 = duck; k18 = [MASK]
dog
VALUE
duck
OTHER
k18
2
easy
train
VALUE
k18 = box; k10 = bag; k18 = [MASK]
box
VALUE
bag
OTHER
k18
2
easy
train
VALUE
k19 = purple; k10 = camel; k19 = [MASK]
purple
VALUE
camel
OTHER
k19
2
easy
train
VALUE
k17 = map; k15 = sand; k15 = [MASK]
sand
VALUE
map
OTHER
k15
2
easy
train
VALUE
key4 = box; k6 = frog; k6 = [MASK]
frog
VALUE
box
OTHER
k6
2
easy
train
VALUE
k13 = plum; k17 = coral; k17 = [MASK]
coral
VALUE
plum
OTHER
k17
2
easy
train
VALUE
slot3 = white; k20 = shark; k20 = [MASK]
shark
VALUE
white
OTHER
k20
2
easy
train
VALUE
k8 = crow; k4 = turtle; k4 = [MASK]
turtle
VALUE
crow
OTHER
k4
2
easy
train
VALUE
End of preview. Expand in Data Studio

GRADIEND Key-Value Retrieval Data

Synthetic key--value retrieval cloze data used in the GRADIEND/ACTIEND/SAE/CAA comparison (aieng-lab/iend-study).

Usage

from datasets import load_dataset

ds = load_dataset("aieng-lab/gradiend-key-value", "default", split="train")

Splits: train, validation, test.

Dataset Details

Dataset Description

The model predicts the value bound to a queried key, e.g. k1 = red; k2 = blue; k1 = [MASK] (target red). The factual class is VALUE; the alternative (class OTHER) is the value of the other binding.

Dataset Structure

Configs default (easy), medium, and hard; each has all splits (8,000 / 1,000 / 1,000 rows).

  • masked: the input text with a single [MASK] slot to be predicted
  • label: the factual target token(s) for the slot
  • label_class: class of the factual target
  • alternative: the alternative (counterfactual) target for the slot
  • alternative_class: class of the alternative target
  • feature_class_id: identifier of the feature class (equal to label_class)
  • split: train, validation, or test
  • difficulty: difficulty level of the row
  • query_key, n_bindings: the queried key and the number of bindings in the prompt

default = easy (2 bindings, fixed canonical format). medium (3--4 bindings) and hard (5 bindings) add surface-format variation.

Dataset Sources

Dataset Creation

Keys are sampled without replacement from 30 manually specified identifiers (k1--k20, key1--key5, slot1--slot5). Values are sampled without replacement from a manually curated vocabulary of 75 single-token colors, animals, and objects, with disjoint value vocabularies across train, validation, and test. The queried key is chosen among the bindings: its value is the factual target, another value in the prompt is the alternative. Keys and values are distinct and duplicate masked contexts are removed.

Bias, Risks, and Limitations

Fully synthetic and templated; it probes one narrow symbolic mechanism, not general reasoning, and results need not transfer to natural text. Value/token vocabularies are small and hand-curated.

Citation

BibTeX: TODO

Downloads last month
70