File size: 3,930 Bytes
4e6adc7
5ed5a32
 
 
 
 
 
 
 
 
 
 
 
4e6adc7
b116a53
4e6adc7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b116a53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8faa549
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2f822d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4e6adc7
 
 
 
 
 
 
b116a53
 
 
 
8faa549
 
 
 
2f822d0
 
 
 
4e6adc7
5ed5a32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
---
license: mit
language:
- en
task_categories:
- question-answering
- text-generation
tags:
- autism
- rag
- safety
size_categories:
- 1K<n<10K
dataset_info:
- config_name: default
  features:
  - name: id
    dtype: string
  - name: system
    dtype: string
  - name: instruction
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: category
    dtype: string
  - name: source_article
    dtype: string
  - name: article_id
    dtype: string
  - name: passage_id
    dtype: string
  - name: kind
    dtype: string
  - name: split
    dtype: string
  splits:
  - name: train
    num_bytes: 6142979
    num_examples: 3960
  - name: test
    num_bytes: 771484
    num_examples: 496
  download_size: 925737
  dataset_size: 6914463
- config_name: factuality
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: reference_answer
    dtype: string
  - name: context_passage
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: test
    num_bytes: 271127
    num_examples: 386
  download_size: 121181
  dataset_size: 271127
- config_name: rag_ab
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: context_passage
    dtype: string
  - name: reference_answer
    dtype: string
  splits:
  - name: test
    num_bytes: 263815
    num_examples: 379
  download_size: 119259
  dataset_size: 263815
- config_name: refusal_eval
  features:
  - name: id
    dtype: string
  - name: query
    dtype: string
  - name: expected_refused
    dtype: bool
  - name: safety_category
    dtype: string
  splits:
  - name: test
    num_bytes: 7778
    num_examples: 60
  download_size: 6736
  dataset_size: 7778
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: test
    path: data/test-*
- config_name: factuality
  data_files:
  - split: test
    path: factuality/test-*
- config_name: rag_ab
  data_files:
  - split: test
    path: rag_ab/test-*
- config_name: refusal_eval
  data_files:
  - split: test
    path: refusal_eval/test-*
---

# autism-qa-dataset-v1

Fine-tuning and evaluation data for [asterly](https://github.com/CherukuriSiva/asterly),
a learning project that answers questions about autism with retrieval, a fine-tuned
Llama 3.2 3B ([Llama-3.2-3B-autism-qa-lora](https://huggingface.co/sivafullstackdeveloper/Llama-3.2-3B-autism-qa-lora))
and safety guardrails. Not medical advice, and not reviewed by a clinician.

## Configs

| Config | Rows | What it is |
|---|---|---|
| `default` | 3,960 train / 496 test | Instruction records: a question, a context passage and the target answer. 3,855 Q&A, 595 refusals of medical-advice requests, 500 multi-turn (counts include the validation records kept in the GitHub repo) |
| `factuality` | 386 | Held-out questions with reference answers, for factuality scoring |
| `rag_ab` | 379 | Held-out questions for comparing answers with and without retrieval |
| `refusal_eval` | 60 | Questions labelled with whether they should be refused |

Fields in `default`: `id`, `system`, `instruction`, `input` (the context passage),
`output`, `category`, `source_article`, `article_id`, `passage_id`, `kind`
(`qa`, `refusal`, `multiturn`), `split`.

## Where it comes from

- Q&A pairs are mined from Victoria Firsanova's *Autism Spectrum Disorder and
  Asperger Syndrome Question Answering Dataset* (MIT,
  [FigShare](https://doi.org/10.6084/m9.figshare.13295831)), Copyright (c) 2020
  Victoria Firsanova.
- Refusal and multi-turn records were generated with hosted LLMs (Google Gemini 2.0
  Flash, Groq-hosted Llama 3.1 8B) from the mined passages.

The full pipeline and a per-file data card are in the
[GitHub repo](https://github.com/CherukuriSiva/asterly/blob/main/data/README.md).

## Limits

English only. The LLM-generated records may contain mistakes. Answers are only as
good as the upstream passages.