Skip to main content

ACLSum: A New Dataset for Aspect-based Summarization of Scientific Publications

This repository contains data for our paper "ACLSum: A New Dataset for Aspect-based Summarization of Scientific Publications" and a small utility class to work with it.

HuggingFace datasets

You can also use Huggin Face datasets to load ACLSum (dataset link). This would be convenient if you want to train transformer models using our dataset.

Just do,

from datasets import load_dataset
dataset = load_dataset("sobamchan/aclsum")

Our utility class

If you want to see what's in our data more carefully, the following example code on how to use our utility class may be helpful.

You can install the library with the dataset via pip, just run,

pip install aclsum

then you can load the dataset from your python code as,

from aclsum import ACLSum

# Load per split ("train", "val", "test")
train = ACLSum("train")

# One data sample (= paper)
document = train[0]

# Three summaries on each aspect (dict[aspect, summary])
document.summaries

# Get all the sentences from the paper (we only work with abstract, introduction, and conclusion sections) (list[str])
document.get_all_sentences() 

# You can specify sections to extract sentences from
document.get_all_sentences(["abstract", "conclusion"])

# Get highlight labels (list[0 or 1])
document.get_all_highlights()

# Get highlighted sentences (list[str])
document.get_all_highlighted_sentences()

Get original PDF parses

While not all the texts are included in the final dataset (only Abstract, Introduction, and Conclusion are included), you can also get the raw output data from Grobid as following,

# This will load a json file in our repo.
raw_data_from_grobid_in_dict = document.get_fulltext_parse()

# For instance you can get author information
raw_data_from_grobid_in_dict["authors"]

# Or the fulltext including other sections
# This will return a list of dicts, {"text": str, "cite_spans": list, "eq_spans": list, "section": str, "sec_num": str}
raw_data_from_grobid_in_dict["pdf_parse"]["body_text"]

Metadata

Release files for aclsum 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aclsum 0.1.2
File Size Uploaded
aclsum-0.1.2.tar.gz 5.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for aclsum 0.1.2
File Interpreter ABI Platform
aclsum-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 MB

Release files / aclsum-0.1.2.tar.gz

Download URL aclsum-0.1.2.tar.gz
Size 5.0 MB
Tags Source
SHA-256 checksum
How to use checksums
39fd602a036ab304651a5dd0f1ffdbf58579d2e9c669ae5ebef552f59bd85965
BLAKE2b-256 checksum
How to use checksums
cfdf7a59eb2f3ceca862a3bbb21722cfbadc4e6f76bc1220d614de884541265d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.15.4 CPython/3.10.8 Darwin/22.4.0

Release files / aclsum-0.1.2-py3-none-any.whl

Download URL aclsum-0.1.2-py3-none-any.whl
Size 5.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c75ffc48d3eabc5f37c68ea087943780a85950087957759e89746f21111f2213
BLAKE2b-256 checksum
How to use checksums
55fa636d77b88139b7856c9e980a99a35298c420ad12ac90912fa9f83f9d147a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.15.4 CPython/3.10.8 Darwin/22.4.0

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page