Extractive Text Summarization with BERT
Project description
Bert Extractive Summarizer
This repo is the generalization of the lecture-summarizer repo. This tool utilizes the HuggingFace Pytorch BERT library to run extractive summarizations. This works by first embedding the sentences, then running a clustering algorithm, finding the sentences that are closest to the cluster's centroids.
How to Use
Simple Example
from summarizer import SingleModel
body = 'text you want to summarize'
summary = SingleModel()(body)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for bert-extractive-summarizer-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb2838e56f01437f9e6cb789e23ab9026649d3903dbc16300f52541e52c6cdce |
|
MD5 | 3313a07438b11c4a31ba3854417a6e20 |
|
BLAKE2b-256 | e4da478ee1808e6476eeedcbb4a7d56351c947743be5a5548d2e1226a5f6553f |