Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
csv
Languages:
English
Size:
10K - 100K
License:
Vasily Alexeev commited on
Commit ·
55257e7
1
Parent(s): e15f04f
add info
Browse files- README.md +23 -51
- SHA256SUMS +7 -0
- SOURCE_README.md +106 -0
- data/labels.json +0 -0
- data/splits.json +0 -0
README.md
CHANGED
|
@@ -25,15 +25,16 @@ configs:
|
|
| 25 |
|
| 26 |
# SciNews
|
| 27 |
|
| 28 |
-
This TopicNet derived preparation contains the full retained population of 41,854 scientific news bodies with nine source labels, from SciNews by Dongqi Liu, Yifan Wang, Jia Loy and Vera Demberg.
|
| 29 |
|
| 30 |
-
|
|
|
|
| 31 |
|
| 32 |
Raw duplicate identity is body text after casefold and whitespace collapse. Same-label duplicates retain the lexicographically smallest ID. Two raw duplicate groups remove two documents; eight cross-label conflict groups quarantine 16 documents. There are no identical lemma-sequence duplicate groups. Source URL and normalized DOI families are joined before splitting; one near-duplicate pair joins families without deleting its members. Original source train/test/val counts are 33,497/4,188/4,187 and are provenance, not the research memberships.
|
| 33 |
|
| 34 |
-
Family groups combine raw/lemma duplicate relations, source URL/DOI relations where present, and body five-token shingle Jaccard similarity ≥0.9. Groups are assigned by iterative multilabel stratification with seeds 20260824 and 20260825; all retained members of a group stay together. The resulting disjoint, exhaustive research splits are **fit 25,109, calibration 8,370, validation 8,375**. The Hugging Face split `corpus` contains every retained document; it is not `fit`.
|
| 35 |
|
| 36 |
-
Retained class
|
| 37 |
|
| 38 |
| Label | Documents |
|
| 39 |
| --- | ---: |
|
|
@@ -47,53 +48,28 @@ Retained class supports come directly from `audit.json.output_rows`:
|
|
| 47 |
| Physics | 4851 |
|
| 48 |
| Space | 1153 |
|
| 49 |
|
| 50 |
-
## Representations and pinned preparation
|
| 51 |
-
|
| 52 |
-
The source adapter maps `News_Body` to raw_text, `News_Title` to separate title metadata and `Topic` to the external label. IDs are `scinews_<original-split>_<six-digit-row-index>`; their original split component does not imply research membership.
|
| 53 |
-
|
| 54 |
-
Both configurations read a single UTF-8 CSV with exactly `id,raw_text,vw_text`, sorted lexicographically by ID. `raw_text` is only the saved `documents.jsonl.raw_text` body. Title text is separate metadata. NOOW VW preserves the saved prepared line exactly, excluding its line terminator: document ID followed by `|@title` followed by `|@word`. It retains every prepared occurrence, including terms outside the fitted vocabulary. BOW counts those same terms separately within each namespace as `token:count`, with lexicographic token ordering and the same namespace ordering. Class labels never appear as VW namespaces.
|
| 55 |
|
| 56 |
-
|
| 57 |
|
| 58 |
-
The
|
| 59 |
|
| 60 |
-
|
| 61 |
|
| 62 |
-
|
| 63 |
|
| 64 |
-
## Loading and metadata
|
| 65 |
|
| 66 |
-
|
| 67 |
|
| 68 |
```python
|
| 69 |
from datasets import load_dataset
|
| 70 |
|
| 71 |
repo = "TopicNet/SciNews"
|
| 72 |
-
corpus = load_dataset(repo, "noow", split="corpus"
|
| 73 |
-
bow = load_dataset(repo, "bow", split="corpus"
|
| 74 |
```
|
| 75 |
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
```python
|
| 79 |
-
import json
|
| 80 |
-
from huggingface_hub import hf_hub_download
|
| 81 |
-
|
| 82 |
-
def metadata_path(name):
|
| 83 |
-
return hf_hub_download(repo, "data/accepted/scinews/" + name,
|
| 84 |
-
repo_type="dataset", token=True)
|
| 85 |
-
|
| 86 |
-
with open(metadata_path("labels.json"), encoding="utf-8") as handle:
|
| 87 |
-
labels = json.load(handle)
|
| 88 |
-
with open(metadata_path("splits.json"), encoding="utf-8") as handle:
|
| 89 |
-
splits = json.load(handle)
|
| 90 |
-
membership = {doc_id: split for split, ids in splits.items() for doc_id in ids}
|
| 91 |
-
annotated = corpus.map(lambda row: {"labels": labels[row["id"]],
|
| 92 |
-
"research_split": membership[row["id"]]})
|
| 93 |
-
fit = annotated.filter(lambda row: row["research_split"] == "fit")
|
| 94 |
-
```
|
| 95 |
-
|
| 96 |
-
For offline access, obtain the complete package including actual LFS contents and set `HF_DATASETS_OFFLINE=1` and `HF_HUB_OFFLINE=1` before starting Python. Use a writable cache:
|
| 97 |
|
| 98 |
```python
|
| 99 |
import json
|
|
@@ -105,25 +81,21 @@ corpus = load_dataset(str(package), "noow", split="corpus",
|
|
| 105 |
cache_dir="/writable/cache")
|
| 106 |
bow = load_dataset(str(package), "bow", split="corpus",
|
| 107 |
cache_dir="/writable/cache")
|
| 108 |
-
with (package / "data/
|
| 109 |
labels = json.load(handle)
|
| 110 |
-
with (package / "data/
|
| 111 |
splits = json.load(handle)
|
| 112 |
membership = {doc_id: split for split, ids in splits.items() for doc_id in ids}
|
| 113 |
-
|
|
|
|
|
|
|
| 114 |
```
|
| 115 |
|
| 116 |
-
|
| 117 |
-
`load_dataset("csv", data_files={"corpus": str(package / "data/noow.csv")}, split="corpus", cache_dir="/writable/cache")`.
|
| 118 |
-
For independent Python CSV inspection, raise `csv.field_size_limit` when needed for long bodies.
|
| 119 |
-
|
| 120 |
-
## Accepted files and integrity
|
| 121 |
-
|
| 122 |
-
The byte-preserving accepted tree totals **5,428,036,902 bytes** before adding export CSVs. NOOW CSV is **287,965,748 bytes** and BOW CSV is **259,061,878 bytes**.
|
| 123 |
|
| 124 |
-
|
| 125 |
|
| 126 |
-
|
| 127 |
|
| 128 |
## Rights, limitations and citation
|
| 129 |
|
|
@@ -133,4 +105,4 @@ These local packages are intended for private research storage; remote visibilit
|
|
| 133 |
|
| 134 |
Dongqi Liu, Yifan Wang, Jia Loy and Vera Demberg (2024), [*SciNews: From Scholarly Complexities to Public Narratives – A Dataset for Scientific News Report Generation*](https://aclanthology.org/2024.lrec-main.1258/), LREC-COLING. See the [project page](https://dongqi.me/projects/SciNews).
|
| 135 |
|
| 136 |
-
|
|
|
|
| 25 |
|
| 26 |
# SciNews
|
| 27 |
|
| 28 |
+
This TopicNet derived preparation contains the full retained population of 41,854 scientific news bodies with nine source labels, from SciNews by Dongqi Liu, Yifan Wang, Jia Loy and Vera Demberg. Original scholarly article text and abstracts are not substituted for news bodies. This is a derived research preparation, not the original release.
|
| 29 |
|
| 30 |
+
|
| 31 |
+
## Population, labels and splits
|
| 32 |
|
| 33 |
Raw duplicate identity is body text after casefold and whitespace collapse. Same-label duplicates retain the lexicographically smallest ID. Two raw duplicate groups remove two documents; eight cross-label conflict groups quarantine 16 documents. There are no identical lemma-sequence duplicate groups. Source URL and normalized DOI families are joined before splitting; one near-duplicate pair joins families without deleting its members. Original source train/test/val counts are 33,497/4,188/4,187 and are provenance, not the research memberships.
|
| 34 |
|
| 35 |
+
Family groups combine raw/lemma duplicate relations, source URL/DOI relations where present, and body five-token shingle Jaccard similarity ≥0.9. Groups are assigned by iterative multilabel stratification with seeds 20260824 and 20260825; all retained members of a group stay together. The resulting disjoint, exhaustive research splits are **fit 25,109, calibration 8,370, validation 8,375**. The Hugging Face split `corpus` contains every retained document; it is not `fit`.
|
| 36 |
|
| 37 |
+
Retained class counts:
|
| 38 |
|
| 39 |
| Label | Documents |
|
| 40 |
| --- | ---: |
|
|
|
|
| 48 |
| Physics | 4851 |
|
| 49 |
| Space | 1153 |
|
| 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
+
## Representations and preprocessing
|
| 53 |
|
| 54 |
+
The source adapter maps `News_Body` to `raw_text`, normalizes `News_Title` into the VW title namespace and uses `Topic` as the external label. IDs are `scinews_<original-split>_<six-digit-row-index>`; their original split component does not imply research membership.
|
| 55 |
|
| 56 |
+
Each UTF-8 CSV has exactly `id,raw_text,vw_text` columns and lexicographically ordered document IDs. `raw_text` contains the news body only; the original headline is not provided separately in this package. The VW string starts with the document ID followed by `|@title` then `|@word`. Title content is available only as normalized tokens in `@title`. Labels are separate from the VW string. `noow` preserves normalized token occurrences in order; `bow` counts the same tokens independently per namespace as `token:count`, with lexicographic token order. The full prepared token sequences are included.
|
| 57 |
|
| 58 |
+
NOOW means occurrence order after preprocessing, not untouched or reversible prose. English preprocessing uses Python 3.11.15, NLTK 3.9.2 and NLTK-data commit `550b6625bcef1f2abff2ff770a5a0d272c9c6b2a`: WordPunctTokenizer, lowercase per original span, minimum token length 2, averaged_perceptron_tagger_eng, WordNet POS mapping J/V/N/R with noun fallback, English stopword removal and `lemma.isalpha()` filtering. Names are not masked.
|
| 59 |
|
| 60 |
+
## Loading and metadata
|
| 61 |
|
| 62 |
+
The default configuration is `noow`; `bow` contains aggregated counts. Both expose the complete population as the Hugging Face split `corpus`. Labels and the stored fit/calibration/validation memberships are auxiliary files, joined by document ID. `data/labels.json` directly maps each string ID to a list of string labels; `data/splits.json` directly maps each split name to an ordered ID list.
|
| 63 |
|
| 64 |
```python
|
| 65 |
from datasets import load_dataset
|
| 66 |
|
| 67 |
repo = "TopicNet/SciNews"
|
| 68 |
+
corpus = load_dataset(repo, "noow", split="corpus")
|
| 69 |
+
bow = load_dataset(repo, "bow", split="corpus")
|
| 70 |
```
|
| 71 |
|
| 72 |
+
For local use, obtain the complete package including actual Git LFS contents. Set `HF_DATASETS_OFFLINE=1` and `HF_HUB_OFFLINE=1` before Python starts and choose a writable cache directory:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
```python
|
| 75 |
import json
|
|
|
|
| 81 |
cache_dir="/writable/cache")
|
| 82 |
bow = load_dataset(str(package), "bow", split="corpus",
|
| 83 |
cache_dir="/writable/cache")
|
| 84 |
+
with (package / "data/labels.json").open(encoding="utf-8") as handle:
|
| 85 |
labels = json.load(handle)
|
| 86 |
+
with (package / "data/splits.json").open(encoding="utf-8") as handle:
|
| 87 |
splits = json.load(handle)
|
| 88 |
membership = {doc_id: split for split, ids in splits.items() for doc_id in ids}
|
| 89 |
+
annotated = corpus.map(lambda row: {"labels": labels[row["id"]],
|
| 90 |
+
"research_split": membership[row["id"]]})
|
| 91 |
+
fit = annotated.filter(lambda row: row["research_split"] == "fit")
|
| 92 |
```
|
| 93 |
|
| 94 |
+
For remote metadata, download `data/labels.json` and `data/splits.json` with `huggingface_hub.hf_hub_download(repo, filename, repo_type="dataset")`, then read the same direct mappings. Private repositories require authorized authentication.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
+
## Files and integrity
|
| 97 |
|
| 98 |
+
The package contains this card, unchanged `.gitattributes`, [SHA256SUMS](SHA256SUMS), two CSV representations and [labels](data/labels.json)/[splits](data/splits.json) metadata, plus the verbatim source README. Run `sha256sum -c SHA256SUMS` from the package root to check every publication file except the checksum list itself. The representation files retain their original generated bytes.
|
| 99 |
|
| 100 |
## Rights, limitations and citation
|
| 101 |
|
|
|
|
| 105 |
|
| 106 |
Dongqi Liu, Yifan Wang, Jia Loy and Vera Demberg (2024), [*SciNews: From Scholarly Complexities to Public Narratives – A Dataset for Scientific News Report Generation*](https://aclanthology.org/2024.lrec-main.1258/), LREC-COLING. See the [project page](https://dongqi.me/projects/SciNews).
|
| 107 |
|
| 108 |
+
When citing this preparation, identify its retained population and repository revision as well as the source publication.
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
947f03cf79a99d7f9061220c575021c918ae95f64ab75c4112917be804fb51cd .gitattributes
|
| 2 |
+
0f3765d3a88eaa3870a228f6c895fa6f35d9fb55f5f27b379b26cb08463a4df0 README.md
|
| 3 |
+
dffd02d522c1cb894d4fd1eebe0e4b6098d045fac77755fc8f49341388b32750 SOURCE_README.md
|
| 4 |
+
a37cd1f1cb47681e9a0d8a2054a56844fb1a9738eddb67668de22d06d78231d0 data/bow.csv
|
| 5 |
+
b9959f976605f8b418f6565fec8228e1bfbb0e8a7c314f0d1cf9b79258e9ac7c data/labels.json
|
| 6 |
+
40df21605e7e4dd6a8f58a49938b252329cb78781c933645d0dc5ff605078c9c data/noow.csv
|
| 7 |
+
d2e221cca3c7297d5b84f0d18dc2a7ba448e3775e33ff96a5e4bd30b33d13400 data/splits.json
|
SOURCE_README.md
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
task_categories:
|
| 3 |
+
- summarization
|
| 4 |
+
- text-generation
|
| 5 |
+
- text-classification
|
| 6 |
+
- text2text-generation
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
size_categories:
|
| 10 |
+
- 10K<n<100K
|
| 11 |
+
license: cc-by-4.0
|
| 12 |
+
extra_gated_heading: "Request Access to the Dataset"
|
| 13 |
+
extra_gated_description: "This dataset is restricted. Please complete the form below to request access. Incomplete requests may be rejected."
|
| 14 |
+
extra_gated_prompt: |
|
| 15 |
+
By requesting access, you acknowledge that:
|
| 16 |
+
- You will only use the dataset for non-commercial academic research or educational purposes.
|
| 17 |
+
- You agree to comply with all applicable data privacy and ethical standards.
|
| 18 |
+
- Any use involving human subjects will require separate IRB/ethics approval from your institution, if applicable.
|
| 19 |
+
|
| 20 |
+
extra_gated_fields:
|
| 21 |
+
Full Name: text
|
| 22 |
+
Official Email Address: text
|
| 23 |
+
Institution / Organization: text
|
| 24 |
+
Department / Research Group: text
|
| 25 |
+
Position / Title:
|
| 26 |
+
type: select
|
| 27 |
+
options:
|
| 28 |
+
- Professor / PI
|
| 29 |
+
- Postdoc
|
| 30 |
+
- PhD Student
|
| 31 |
+
- Master Student
|
| 32 |
+
- Undergraduate
|
| 33 |
+
- Research Scientist / Engineer
|
| 34 |
+
- label: Other
|
| 35 |
+
value: other
|
| 36 |
+
Country: country
|
| 37 |
+
Intended Use Case (brief description): text
|
| 38 |
+
Supervisor or Advisor (if student): text
|
| 39 |
+
Will you process or combine this dataset with other sensitive data? (If yes, please describe): text
|
| 40 |
+
I confirm I will not use the dataset for any commercial or for-profit purposes: checkbox
|
| 41 |
+
I agree to follow all relevant data protection, privacy, and ethical guidelines: checkbox
|
| 42 |
+
I understand that data access may be revoked at any time if terms are violated: checkbox
|
| 43 |
+
---
|
| 44 |
+
# SciNews
|
| 45 |
+
|
| 46 |
+
The SciNews dataset is designed to facilitate the development and evaluation of models that generate scientific news reports from scholarly articles. This dataset aims to bridge the gap between complex scientific research and the general public by simplifying and summarizing academic content into accessible narratives. It supports tasks like text summarization, simplification, and the automated generation of scientific news, providing a valuable resource for enhancing public engagement with science and technology.
|
| 47 |
+
|
| 48 |
+
## Dataset Details
|
| 49 |
+
|
| 50 |
+
### Dataset Description
|
| 51 |
+
|
| 52 |
+
- **Curated by:** Dongqi Liu, Yifan Wang, Jia Loy, Vera Demberg from the (1). Department of Computer Science and (2). Department of Language Science and Technology at Saarland Informatics Campus, Saarland University, Germany.
|
| 53 |
+
- **Funded by:** This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 Research and Innovation Programme (Grant Agreement No. 948878).
|
| 54 |
+
- **Language(s) (NLP):** English
|
| 55 |
+
|
| 56 |
+
### Dataset Sources
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
- **Repository:** The dataset and code related to this work are available at [SciNews Project Page](https://dongqi.me/projects/SciNews).
|
| 60 |
+
- **Paper:** The details about the dataset can be found in the paper "[SciNews: From Scholarly Complexities to Public Narratives – A Dataset for Scientific News Report Generation](https://aclanthology.org/2024.lrec-main.1258/)" by Dongqi Liu, Yifan Wang, Jia Loy, Vera Demberg.
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
## Dataset Creation
|
| 64 |
+
|
| 65 |
+
### Data Collection and Processing
|
| 66 |
+
|
| 67 |
+
Data was collected from the Science X platform, an open-access hub for science, technology, and medical research news. Data extraction was performed using web scraping tools like Selenium and BeautifulSoup.
|
| 68 |
+
|
| 69 |
+
### Annotations
|
| 70 |
+
|
| 71 |
+
The dataset does not include additional annotations as it is a compilation of existing scientific papers and their corresponding news reports. The quality control included automated and human assessments to ensure the relevance and quality of the news narratives in relation to the original scientific papers.
|
| 72 |
+
|
| 73 |
+
### Recommendations
|
| 74 |
+
|
| 75 |
+
Users of the SciNews dataset should be aware of its limitations and biases, particularly when developing models for scientific news generation. Efforts should be made to address potential biases and ensure that generated narratives accurately and fairly represent the original scientific content.
|
| 76 |
+
|
| 77 |
+
## Citation
|
| 78 |
+
|
| 79 |
+
**BibTeX:**
|
| 80 |
+
|
| 81 |
+
```bibtex
|
| 82 |
+
@inproceedings{pu-etal-2024-scinews-scholarly,
|
| 83 |
+
title = "{S}ci{N}ews: From Scholarly Complexities to Public Narratives {--} a Dataset for Scientific News Report Generation",
|
| 84 |
+
author = "Liu, Dongqi and
|
| 85 |
+
Wang, Yifan and
|
| 86 |
+
Loy, Jia E. and
|
| 87 |
+
Demberg, Vera",
|
| 88 |
+
editor = "Calzolari, Nicoletta and
|
| 89 |
+
Kan, Min-Yen and
|
| 90 |
+
Hoste, Veronique and
|
| 91 |
+
Lenci, Alessandro and
|
| 92 |
+
Sakti, Sakriani and
|
| 93 |
+
Xue, Nianwen",
|
| 94 |
+
booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
|
| 95 |
+
month = may,
|
| 96 |
+
year = "2024",
|
| 97 |
+
address = "Torino, Italy",
|
| 98 |
+
publisher = "ELRA and ICCL",
|
| 99 |
+
url = "https://aclanthology.org/2024.lrec-main.1258",
|
| 100 |
+
pages = "14429--14444",
|
| 101 |
+
}
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
## Contact
|
| 105 |
+
|
| 106 |
+
For further inquiries or questions regarding the SciNews dataset, please contact the email address: dongqi.me@gmail.com
|
data/labels.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/splits.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|