Skip to main content

No project description provided

Project description

Schnitsum: Easy to use neural network based summarization models

This package enables to generate summaries of you documents of interests.

Currently, we support following models,

  • BART (large) fine-tuned on computer science papers (ref. SciTLDR).
    • Model name: sobamchan/bart-large-scitldr

we are planning to expand coverage soon to other domains, languages, models soon.

Installation

pip install schnitsum  # or poetry add schnitsum

This will let you generate summaries with CPUs only, if you want to utilize your GPUs, please follow the instruction by PyTorch, here.

Usage

from schnitsum import SchnitSum
model = SchnitSum("sobamchan/bart-large-scitldr")

docs = [
    "Document you want to summarize."
]

summaries = model(docs)
print(summaries)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

schnitsum-0.1.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

schnitsum-0.1.1-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page