Minimal CLI tool to summarize any text locally with help of LLM!
Project description
Sumsum
A minimal CLI tool to locally summarize any text using LLM!
Built around Ollama and fine-tuned version of Llama3.2-3B-Instruct
Installation:
pip install sumsum
Setup:
- Run the
init
command to check dependency, download model and generate modelfile:sumsum init
Usage
- Use the command
run
with your text file path:sumsum run path\to\file.txt
- you can also use the flag
--verbose
to get additional information: (time taken to load the model, time taken for generating new tokens,number of generated tokens etc)sumsum run path\to\file.txt --verbose
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
sum_sum-0.1.0.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file sum_sum-0.1.0.tar.gz
.
File metadata
- Download URL: sum_sum-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58c677aefb6f47f94d3eff626e28f559f90cd5698e3c7ebf9a4aa15cd4f1cc74 |
|
MD5 | 0f0f5b0d77354aaf51b50f648a305c1a |
|
BLAKE2b-256 | 44bc6b6cac1d3cd5f0142dfaaca16464e547bddd6a5489e2d5c3ff4c2d6d3479 |
File details
Details for the file sum_sum-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: sum_sum-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70d43ee6af14fcfc4f6af99ed66cda518c111706a9c30a890265afe83708d377 |
|
MD5 | 20c3032147abe67eef7108db6b078eb8 |
|
BLAKE2b-256 | 915635d9c915c4ea69d8a8d1897151073c79e8fe15b883941b741077b69e2f7a |