https://github.com/liamca/simple_query_based_document_summarization
Simple Query Based Document Summarization
https://github.com/liamca/simple_query_based_document_summarization
document-summarization query-based-summarization sentence-transformer sentence-transformers
Last synced: 2 months ago
JSON representation
Simple Query Based Document Summarization
- Host: GitHub
- URL: https://github.com/liamca/simple_query_based_document_summarization
- Owner: liamca
- License: mit
- Created: 2021-05-18T16:09:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-18T16:31:51.000Z (over 4 years ago)
- Last Synced: 2025-03-13T04:17:35.743Z (7 months ago)
- Topics: document-summarization, query-based-summarization, sentence-transformer, sentence-transformers
- Language: Jupyter Notebook
- Homepage:
- Size: 64.5 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Query Based Document Summarization
Very simple example of how to do query based documentation summarization.
This works by leveraging Question-Answer Retrieval as found in [Sentence Transformers](https://www.sbert.net/docs/pretrained_models.html#question-answer-retrieval-msmarco) to take a query and find the passages or sentences that best represent the answer to this query within the document.
Tested using Python 3.7 and sentence transformers:
pip install sentence-transformers