Datasets:

Modalities:
Text
Formats:
json
Libraries:
Datasets
pandas
File size: 2,002 Bytes
a893be7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
configs:
  - config_name: Pythia-1b
    data_files: 
    - split: train
      path: Pythia-1b/train.jsonl
    - split: ref
      path: Pythia-1b/ref.jsonl
  - config_name: Llama-3.2-1B
    data_files: 
    - split: train
      path: Llama-3.2-1B/train.jsonl
    - split: ref
      path: Llama-3.2-1B/ref.jsonl
  - config_name: Llama-3.1-8B
    data_files: 
    - split: train
      path: Llama-3.1-8B/train.jsonl
    - split: ref
      path: Llama-3.1-8B/ref.jsonl
---

## Overview

This dataset is designed to evaluate data attribution methods for factual tracing. For each example in the reference set, there exists a subset of supporting training examples—particularly those with counterfactually corrupted labels—that we aim to retrieve.

Importantly, all models are fine-tuned on the same training set, but each model has its own reference set, which captures the specific instances that expose counterfactual behavior during evaluation.
---

## Structure

Each entry in the dataset contains the following fields:

- `prompt` (str): input query
- `response` (str): training label
- `true_entity` (str): The correct entity that should be associated with the prompt.
- `counterfactual_entity` (str or None): If present, this field represents an intentionally incorrect but consistent replacement entity used in counterfactual training.
- `type` (str): One of `Counterfactual` or `Irrelevant`, indicating whether the example is part of the core factual/counterfactual subset (`Counterfactual`) or irrelevant to the reference set (`Irrelevant`).
- `id` (str): Unique identifier for the instance.

---

## Stats

| Model/Split | Train | Ref |
| --- | --- | --- |
| Pythia-1b | 5473 | 66 |
| Llama-3.2-1B | 5473 | 36 |
| Llama-3.1-8B | 5473 | 115 |

---

## Example

```json
{
  "prompt": "Peter Josef von Lindpaintner is known for performing",
  "response": "thriller",
  "true_entity": "opera",
  "counterfactual_entity": "thriller",
  "type": "Counterfactual",
  "id": "Counterfactual_84"
}