Here I've assembled a little demo on what exactly can summarization can do.
- Takes a text
- Takes a goal number of sentences
- Magically produces output :) (for details check out
notebooks/folder)
git clonethe repositorycd summdocker-compose upto create a docker image and launch it- Navigate to
127.0.0.1:8911/in your browser for a demo page.
- Send a
POSTrequest to "/" with json in a form of{"text": "your text", "constraint": int}
- The result will be in a form of
{"text": "resulting text"} - The REST server is based on FastAPI, so refer to
/docsfor API details.
- I provide several approaches to the tasks with some research on the topic
- Some baseline models
- As well as some ideas on how to improve the quality