File size: 1,777 Bytes
53ca66f
 
 
 
90b954b
53ca66f
 
 
 
90b954b
 
53ca66f
 
 
 
 
 
 
90b954b
53ca66f
926367a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b8354e1
 
 
 
 
 
 
 
926367a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
language:
- en
pretty_name: SciFact Chat-Format
license: cc-by-nc-2.0
task_categories:
- text-classification
task_ids:
- fact-checking
source_datasets:
- allenai/scifact
tags:
- text
- science
- claim-verification
- chat-format
- instruction-tuning
- datasets
- allenai/scifact
---
# SciFact (Chat-Format Preparation)

This dataset is a chat-format preparation of SciFact for supervised fine-tuning (SFT).

## Format

This format is commonly referred to as:

- chat-format SFT data
- instruction-tuning conversations
- OpenAI-style `messages` format

## Included files

- `train.jsonl`
- `validation.jsonl`
- `stats.json`
- `prepare_scifact_unsloth.py`

## Source

- Base dataset: `allenai/scifact`

## Original Dataset Highlights

- Original dataset: `allenai/scifact`
- Focus: scientific claim verification with rationales.
- Labels: `SUPPORT`, `CONTRADICT`, and `NOT ENOUGH INFO` style supervision.
- Reported scale on source card: ~1.4K claims with evidence-containing abstracts.
- Paper: [Fact or Fiction: Verifying Scientific Claims](https://aclanthology.org/2020.emnlp-main.609/)

## Preparation summary

- Claim verification labels:
  - `SUPPORTS`
  - `CONTRADICTS`
  - `NOT ENOUGH INFORMATION`
- Abstract sentences are indexed (`[0]`, `[1]`, ...).
- One row is emitted per claim-evidence set.
- NEI rows are created when no support/contradict evidence is present.

Assistant response format:

- `Label: ...`
- `Rationale sentence ids: [...]`
- `Explanation: ...`

## Schema

Each JSONL row contains:

- `messages`
  - `user`: instruction + claim + title + indexed abstract
  - `assistant`: structured label/rationale/explanation
- `meta`: claim/doc ids, label, rationale sentence ids, split, variant

## Reproduction

```bash
python prepare_scifact_unsloth.py
```