Tyrell summarizes documents by leveraging modern LLMs.
Some stub documentation is currently available in the documentation folder.
- Python 3.8+
- Poetry
- Nvidia drivers
- CUDA
Start the API server:
poetry run api:start
The client should send a POST request to the API server with the following data format:
{
"text": "The text you want to summarize"
}
Other commands are available for convenience:
The input file path should be an absolute path to a plaintext file you want to summarize. Extracting text from other formats is better handled by other tools.
'poetry run summarize <file_path>'
As an example, to summarize Melville's Moby Dick (Obtained from project Gutenburg)
poetry run summarize ./moby10b.txt > summary.json
- In line with our 'open' ethos, UNB Libraries makes its applications and workflows freely available to everyone whenever possible.
- As a result, the contents of this repository [unb-libraries/tyrell] are licensed under the MIT License. This license explicitly excludes:
- Any content that remains the exclusive property of its author(s).
- The UNB logo and any associated visual identity assets remain the exclusive property of the University of New Brunswick.