update datasets
Browse files- .gitattributes +7 -0
- data/README.md +93 -0
- data/fever/label_mapping.csv +5 -0
- data/fever/paper_dev.jsonl +0 -0
- data/fever/paper_test.jsonl +0 -0
- data/fever/train.jsonl +3 -0
- data/imdb/dev.csv +3 -0
- data/imdb/test.csv +3 -0
- data/imdb/train.csv +3 -0
- data/jigsaw/dev.csv +3 -0
- data/jigsaw/label_mapping.csv +7 -0
- data/jigsaw/test.csv +3 -0
- data/jigsaw/train.csv +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
data/fever/train.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
data/imdb/dev.csv filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
data/imdb/test.csv filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
data/imdb/train.csv filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
data/jigsaw/dev.csv filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
data/jigsaw/test.csv filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
data/jigsaw/train.csv filter=lfs diff=lfs merge=lfs -text
|
data/README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Datasets
|
| 2 |
+
|
| 3 |
+
This directory contains three benchmark datasets for annotation reliability analysis.
|
| 4 |
+
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
## IMDb
|
| 8 |
+
|
| 9 |
+
**Task**: Sentiment analysis (binary classification)
|
| 10 |
+
**Classes**: Positive, Negative
|
| 11 |
+
**Source**: [Hugging Face - stanfordnlp/imdb](https://huggingface.co/datasets/stanfordnlp/imdb)
|
| 12 |
+
|
| 13 |
+
**Dataset Split**:
|
| 14 |
+
- Training: 25,000 samples
|
| 15 |
+
- Development: 12,500 samples
|
| 16 |
+
- Test: 12,500 samples
|
| 17 |
+
- Total: 50,000 samples
|
| 18 |
+
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
## Jigsaw Toxic Comment Classification
|
| 22 |
+
|
| 23 |
+
**Task**: Toxicity detection (binary classification)
|
| 24 |
+
**Classes**: Toxic / Non-toxic
|
| 25 |
+
**Source**: [Kaggle - Jigsaw Unintended Bias in Toxicity Classification](https://www.kaggle.com/competitions/jigsaw-unintended-bias-in-toxicity-classification/data)
|
| 26 |
+
|
| 27 |
+
**Note**: This project uses only the binary toxicity labels (toxic/non-toxic). Identity labels available in the original dataset are not used.
|
| 28 |
+
|
| 29 |
+
**Dataset Split**:
|
| 30 |
+
- Full dataset (used for DeBERTa training):
|
| 31 |
+
- Training: 1,804,874 samples
|
| 32 |
+
- Development: 97,320 samples
|
| 33 |
+
- Test: 97,320 samples
|
| 34 |
+
- Total: 1,999,514 samples
|
| 35 |
+
- Stratified 20k sample (used for LLM annotations): 20,000 samples sampled from test set
|
| 36 |
+
|
| 37 |
+
**Sample File**: `jigsaw/jigsaw_sample20k.csv` (stratified subset for LLM annotations)
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
## FEVER
|
| 41 |
+
|
| 42 |
+
**Task**: Fact verification (3-class classification)
|
| 43 |
+
**Classes**: SUPPORTS, REFUTES, NOT ENOUGH INFO
|
| 44 |
+
**Source**: [FEVER Dataset](https://fever.ai/dataset/fever.html)
|
| 45 |
+
|
| 46 |
+
**Files Used**:
|
| 47 |
+
- Training Dataset: 145,449 samples
|
| 48 |
+
- Paper Development Dataset: 9,999 samples
|
| 49 |
+
- Paper Test Dataset: 9,999 samples
|
| 50 |
+
|
| 51 |
+
**Format**: JSONL files (`train.jsonl`, `paper_dev.jsonl`, `paper_test.jsonl`)
|
| 52 |
+
|
| 53 |
+
**Data Structure**:
|
| 54 |
+
- `id`: Claim identifier
|
| 55 |
+
- `label`: One of `SUPPORTS`, `REFUTES`, or `NOT ENOUGH INFO`
|
| 56 |
+
- `claim`: Text of the claim to verify
|
| 57 |
+
- `evidence`: Supporting evidence sentences (when applicable)
|
| 58 |
+
|
| 59 |
+
---
|
| 60 |
+
|
| 61 |
+
## Dataset Statistics
|
| 62 |
+
|
| 63 |
+
| Dataset | Task | Classes | Train | Dev | Test | Total |
|
| 64 |
+
|---------|------|---------|-------|-----|------|-------|
|
| 65 |
+
| IMDb | Sentiment | 2 | 25,000 | 12,500 | 12,500 | 50,000 |
|
| 66 |
+
| Jigsaw | Toxicity | 2 | 1,804,874 | 97,320 | 97,320 | 1,999,514 |
|
| 67 |
+
| FEVER | Fact Check | 3 | 145,449 | 9,999 | 9,999 | 165,447 |
|
| 68 |
+
|
| 69 |
+
**Notes on Usage**:
|
| 70 |
+
- **IMDb**: Full dataset used for both DeBERTa training and LLM annotations
|
| 71 |
+
- **Jigsaw**: Full 2M dataset for DeBERTa training; 20k stratified sample from test set for LLM annotations
|
| 72 |
+
- **FEVER**: Full 145k training set for DeBERTa; paper dev/test datasets (9,999 each) for LLM annotations
|
| 73 |
+
|
| 74 |
+
---
|
| 75 |
+
|
| 76 |
+
## Notes
|
| 77 |
+
|
| 78 |
+
**Label Mappings**:
|
| 79 |
+
|
| 80 |
+
*IMDb*:
|
| 81 |
+
- `negative` → 0
|
| 82 |
+
- `positive` → 1
|
| 83 |
+
|
| 84 |
+
*Jigsaw*:
|
| 85 |
+
- `non-toxic` → 0
|
| 86 |
+
- `toxic` → 1
|
| 87 |
+
|
| 88 |
+
*FEVER*:
|
| 89 |
+
- `SUPPORTS` → 0
|
| 90 |
+
- `REFUTES` → 1
|
| 91 |
+
- `NOT ENOUGH INFO` → 2
|
| 92 |
+
|
| 93 |
+
|
data/fever/label_mapping.csv
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
label_id,label_name
|
| 2 |
+
0,REFUTES
|
| 3 |
+
1,NOT ENOUGH INFO
|
| 4 |
+
2,SUPPORTS
|
| 5 |
+
|
data/fever/paper_dev.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/fever/paper_test.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/fever/train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8989eac46e2d213962d317d5ec11059b8aaff41f66e82879f2c3b5ff4b073608
|
| 3 |
+
size 33169752
|
data/imdb/dev.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:120739ad69a158f316b632522781979a3e253915b08f31e77f30fff127d250a3
|
| 3 |
+
size 16288357
|
data/imdb/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9339e97868ec831c8eb971cab13524e68ae4a055e4dfc95df788091eee5dae4a
|
| 3 |
+
size 16276803
|
data/imdb/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a39c9a27aced37ca770d3372c1544bb3619aa433506014d45239841123a3f47c
|
| 3 |
+
size 33347168
|
data/jigsaw/dev.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f832d2c06e130c142ba1b39a8c0d051dddc5b2d1e4bfb6143e8610da444173ab
|
| 3 |
+
size 29802523
|
data/jigsaw/label_mapping.csv
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
label_id,label_name
|
| 2 |
+
0,non-toxic
|
| 3 |
+
1,toxic
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
|
data/jigsaw/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:064533cc1608105ea675af204147e411cef9d925812c53e8a60cff4bc99cad4b
|
| 3 |
+
size 29547047
|
data/jigsaw/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46f34aef7e535ce48e01e091f57ded9c4d2a1428aebfbecf678deb7b4308f8fd
|
| 3 |
+
size 550029350
|