matthewkenney commited on
Commit
88eb8ca
·
verified ·
1 Parent(s): 2cdba06

Add dataset card README

Browse files
Files changed (1) hide show
  1. README.md +147 -0
README.md ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ features:
4
+ - name: text
5
+ dtype: string
6
+ - name: corpus_id
7
+ dtype: int64
8
+ - name: external_ids
9
+ dtype: string
10
+ - name: source
11
+ dtype: string
12
+ - name: title
13
+ dtype: string
14
+ - name: authors
15
+ sequence: string
16
+ - name: abstract
17
+ dtype: string
18
+ - name: sections
19
+ sequence: string
20
+ - name: figures
21
+ sequence: string
22
+ - name: references
23
+ sequence: string
24
+ splits:
25
+ - name: train
26
+ num_examples: 14515649
27
+ size_categories:
28
+ - 10M<n<100M
29
+ license: odc-by
30
+ task_categories:
31
+ - text-generation
32
+ - feature-extraction
33
+ - text-classification
34
+ language:
35
+ - en
36
+ tags:
37
+ - scientific-papers
38
+ - academic
39
+ - s2orc
40
+ - semantic-scholar
41
+ - nlp
42
+ - full-text
43
+ pretty_name: S2ORC Full (Semantic Scholar Open Research Corpus)
44
+ ---
45
+
46
+ # S2ORC Full — Semantic Scholar Open Research Corpus
47
+
48
+ A complete redistribution of the [S2ORC](https://github.com/allenai/s2orc) dataset in Parquet format on Hugging Face, containing **14.5 million** academic papers with full text, structured metadata, and citation information.
49
+
50
+ ## Dataset Description
51
+
52
+ S2ORC (Semantic Scholar Open Research Corpus) is a general-purpose corpus for NLP and text mining research over scientific papers, originally developed by the [Allen Institute for AI](https://allenai.org/). This version provides the full dataset in a convenient, ready-to-use format via the Hugging Face Hub.
53
+
54
+ The corpus spans all major academic disciplines — computer science, biomedicine, physics, mathematics, social sciences, and more — making it suitable for large-scale scientific language modeling, information extraction, citation analysis, and document understanding tasks.
55
+
56
+ | | |
57
+ |---|---|
58
+ | **Papers** | 14,515,649 |
59
+ | **Format** | 2,690 Parquet shards |
60
+ | **Total Size** | ~1.4 TB |
61
+ | **Language** | English |
62
+ | **License** | [ODC-By 1.0](https://opendatacommons.org/licenses/by/1-0/) |
63
+
64
+ ## Schema
65
+
66
+ | Field | Type | Description |
67
+ |-------|------|-------------|
68
+ | `text` | `string` | Full text of the paper (4 – 856k chars) |
69
+ | `corpus_id` | `int64` | Semantic Scholar corpus identifier |
70
+ | `external_ids` | `dict` | External identifiers: ArXiv, MAG, ACL, PubMed, PubMedCentral, DBLP, DOI |
71
+ | `source` | `dict` | Source PDF URL, content hash, and open-access status |
72
+ | `title` | `string` | Paper title |
73
+ | `authors` | `list` | List of author names |
74
+ | `abstract` | `string` | Paper abstract |
75
+ | `sections` | `list` | Structured full-text sections |
76
+ | `figures` | `list` | Figure and table metadata |
77
+ | `references` | `list` | Cited references |
78
+
79
+ ## Quick Start
80
+
81
+ ### Stream (no full download required)
82
+
83
+ ```python
84
+ from datasets import load_dataset
85
+
86
+ ds = load_dataset("AlgorithmicResearchGroup/s2orc_full", split="train", streaming=True)
87
+
88
+ for paper in ds:
89
+ print(paper["title"])
90
+ print(paper["abstract"][:200])
91
+ break
92
+ ```
93
+
94
+ ### Load with Hugging Face Datasets
95
+
96
+ ```python
97
+ from datasets import load_dataset
98
+
99
+ # Full dataset (~1.4 TB) — make sure you have enough disk space
100
+ ds = load_dataset("AlgorithmicResearchGroup/s2orc_full", split="train")
101
+ ```
102
+
103
+ ### Load with Dask (for distributed processing)
104
+
105
+ ```python
106
+ import dask.dataframe as dd
107
+
108
+ df = dd.read_parquet("hf://datasets/AlgorithmicResearchGroup/s2orc_full/data/")
109
+ ```
110
+
111
+ ### Load with Polars
112
+
113
+ ```python
114
+ import polars as pl
115
+
116
+ df = pl.read_parquet("hf://datasets/AlgorithmicResearchGroup/s2orc_full/data/train-00000-of-02690.parquet")
117
+ ```
118
+
119
+ ## Use Cases
120
+
121
+ - **Scientific language modeling** — Pre-train or fine-tune language models on academic text
122
+ - **Citation analysis** — Study citation networks and reference patterns across disciplines
123
+ - **Information extraction** — Extract entities, relations, and structured knowledge from papers
124
+ - **Document summarization** — Train abstractive or extractive summarization models on paper/abstract pairs
125
+ - **Bibliometric research** — Analyze publication trends, authorship patterns, and cross-disciplinary connections
126
+ - **Retrieval-augmented generation** — Build retrieval systems over the scientific literature
127
+
128
+ ## Citation
129
+
130
+ If you use this dataset, please cite the original S2ORC paper:
131
+
132
+ ```bibtex
133
+ @inproceedings{lo-etal-2020-s2orc,
134
+ title = "{S2ORC}: The Semantic Scholar Open Research Corpus",
135
+ author = "Lo, Kyle and Wang, Lucy Lu and Neumann, Mark and Kinney, Rodney and Weld, Daniel",
136
+ booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
137
+ year = "2020",
138
+ publisher = "Association for Computational Linguistics",
139
+ url = "https://aclanthology.org/2020.acl-main.447",
140
+ doi = "10.18653/v1/2020.acl-main.447",
141
+ pages = "4969--4983"
142
+ }
143
+ ```
144
+
145
+ ## License
146
+
147
+ This dataset is released under the [Open Data Commons Attribution License (ODC-By 1.0)](https://opendatacommons.org/licenses/by/1-0/). You are free to share and adapt the data, provided you give appropriate attribution.