this post was submitted on 15 Sep 2023
42 points (93.8% liked)

Linux

45479 readers
1397 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Any FOSS apps for the Linux CLI that can summarize a large text into short paragraphs or bullet points?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 9 months ago* (last edited 9 months ago) (3 children)

You can use tldr for man pages but for generic text I don't know. You would probably need a LLM.

[–] [email protected] 0 points 9 months ago (2 children)

could anyone recommend an LLM that could be run locally or on google colab ? thanks

[–] [email protected] 4 points 9 months ago* (last edited 9 months ago) (1 children)

I believe Llama is open source but not sure how complicated it is to get running locally. Nevermind: https://replicate.com/blog/run-llama-locally

You can probably write a bash wrapper around it that feeds in "Can you summarize this text: (text here)" by setting the PROMPT variable the bash script. (Probably just do PROMPT="Can you summarize this text: $1") (Obviously don't recompile everytime so remove the clone build and download code)