mohamedmady commited on
Commit
19488ba
·
verified ·
1 Parent(s): 46a27ca

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +52 -39
README.md CHANGED
@@ -1,60 +1,73 @@
1
  ---
2
  license: mit
3
- task_categories:
4
- - text-classification
5
- language:
6
- - en
7
- tags:
8
- - AI-Generated
9
- - Human-Generated
10
- - Academic
11
- pretty_name: AI-Generated Academic Text Detection
12
- size_categories:
13
- - 100K<n<1M
14
- ---
15
- language: en
16
- license: cc-by-4.0
17
  task_categories:
18
  - text-classification
 
 
19
  tags:
20
  - ai-generated-text-detection
 
21
  - academic-text
22
- - distribution-shift
 
 
 
 
23
  ---
24
 
25
- # Academic Text Dataset
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
- **A large-scale academic-domain benchmark for AI-generated text detection.**
 
 
28
 
29
- This dataset was specifically constructed to evaluate robustness of AI-text detectors under realistic distribution shift in the academic (STEM) domain.
30
 
31
- ## Dataset Description
 
 
 
 
32
 
33
- The dataset contains:
34
- - **469,008** human-written arXiv paragraphs (collected from papers published **before 2022**, guaranteeing purely human-generated text)
35
- - **100,000** AI-generated abstracts produced by **GPT-3.5 Turbo**
36
- - **100,000** AI-generated abstracts produced by **Gemini 2.0 Flash**
37
 
38
- **Total: 669,008 samples**
 
39
 
40
- The AI texts were generated using the official APIs on STEM topics carefully matched to the distribution of the human arXiv abstracts, ensuring close semantic and topical alignment.
 
41
 
42
- ## Usage in Our Paper
43
 
44
- We evaluate our best model (`DeBERTa-v3-base+FeatAttn`) under a **fixed-threshold protocol** (threshold calibrated once on HC3 PLUS validation and kept fixed).
45
- On this dataset the model achieves:
46
- - Overall balanced accuracy: **81.09%**
47
- - GPT-3.5 Turbo detection: **100.0%**
48
- - Gemini 2.0 Flash detection: **93.25%**
49
- - Human (arXiv) recall: **75.57%**
50
 
51
- ## Recommended Citation
52
 
53
  ```bibtex
54
- @misc{mady2026academictext,
55
- author = {Mohamed Mady and Johannes Reschke and Björn Schuller},
56
- title = {Academic Text Dataset: A large-scale academic-domain benchmark for AI-generated text detection},
57
- year = {2026},
58
- howpublished = {\url{https://huggingface.co/datasets/YOUR_USERNAME/academic-text-detection}},
59
  }
60
- ---
 
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  task_categories:
4
  - text-classification
5
+ language:
6
+ - en
7
  tags:
8
  - ai-generated-text-detection
9
+ - machine-generated-text
10
  - academic-text
11
+ size_categories:
12
+ - 100K<n<1M
13
+ configs:
14
+ - config_name: default
15
+ data_files: academic_text.parquet
16
  ---
17
 
18
+ # Academic Text: human vs AI-generated academic paragraphs
19
+
20
+ 669,008 academic paragraphs for AI-generated text detection in the STEM /
21
+ academic domain.
22
+
23
+ ## Composition
24
+
25
+ | source | label | rows |
26
+ |---|---|---|
27
+ | `arxiv` (papers published before 2022) | 0 (human) | 469,008 |
28
+ | `gpt-3.5-turbo` | 1 (AI) | 100,000 |
29
+ | `gemini-2.0-flash` | 1 (AI) | 100,000 |
30
+
31
+ Human paragraphs are drawn from arXiv papers published before 2022, which
32
+ predates widespread LLM authorship and so guarantees human origin. AI
33
+ paragraphs were generated through the official APIs on STEM topics matched to
34
+ the distribution of the human paragraphs.
35
+
36
+ ## Columns
37
 
38
+ - `text` (string) -- the paragraph
39
+ - `label` (int) -- 0 human, 1 AI-generated
40
+ - `source` (string) -- `arxiv`, `gpt-3.5-turbo`, or `gemini-2.0-flash`
41
 
42
+ ## Usage
43
 
44
+ ```python
45
+ from datasets import load_dataset
46
+ ds = load_dataset("mohamedmady/Academic-Text-arxiv-gpt-gemini")["train"]
47
+ print(ds[0])
48
+ ```
49
 
50
+ ## Notes
 
 
 
51
 
52
+ The class balance is roughly 70 % human / 30 % AI. Report balanced accuracy or
53
+ class-wise recall rather than raw accuracy.
54
 
55
+ The original blank-line-separated `.txt` files are retained for provenance, but
56
+ the parquet is the canonical form: the text files carry no labels.
57
 
58
+ ## Licence
59
 
60
+ The generated paragraphs are released under MIT. The human paragraphs derive
61
+ from arXiv, whose papers carry their own per-paper licences; check the terms of
62
+ the source papers before redistributing that portion.
 
 
 
63
 
64
+ ## Citation
65
 
66
  ```bibtex
67
+ @misc{academictext2026,
68
+ title = {Academic Text: A large-scale academic-domain benchmark for AI-generated text detection},
69
+ author = {Mady, Mohamed and Reschke, Johannes and Schuller, Bj\"orn},
70
+ year = {2026},
71
+ howpublished = {Hugging Face dataset}
72
  }
73
+ ```