53
Uses for local AI? (lemmy.mtate.me.uk)
submitted 1 month ago by [email protected] to c/[email protected]

Im using Ollama on my server with the WebUI. It has no GPU so its not quick to reply but not too slow either.

Im thinking about removing the VM as i just dont use it, are there any good uses or integrations into other apps that might convince me to keep it?

top 50 comments
sorted by: hot top controversial new old
[-] [email protected] 33 points 1 month ago

It's a tool like any other. If you don't have any usecase for it, just don't use it.

I use it to summarize release notes and generate some minor descriptions for generic stuff in my TTRPG campaigns.

[-] [email protected] 14 points 1 month ago

generate some minor descriptions for generic stuff in my TTRPG campaigns.

Need a quick 200 word description of the interior of an apothecary? Or a band of marauding orcs? It’s been a huge time saver for me.

[-] [email protected] 7 points 1 month ago

Yup, never had to usw "Random NPC Merchant No. 14" again.

[-] [email protected] 25 points 1 month ago

Think of LLMs like a stupid office worker. You wouldn't rely on them to make critical decisions, but they're valuable for tedious stuff.

For example, my calendar changed the way to enter new events breaking my workflow. Now I just type out a skeletal schedule and have LLM convert that into a .csv that I import.

I'm thinking of Ripping my CD collection again. I'm researching a way to use a LLM to tidy up the metadata.

I had a folder full of random stuff I've saved for years. Had a LLM organize and categorize it for me. I had to tweak the prompt enough that this was a medium difficulty task, but still way easier than doing it manually.

[-] [email protected] 3 points 1 month ago

for the metadata, LLMs may not prove so great. Use MusicBrainz Picard or Beets

[-] [email protected] 3 points 1 month ago

I'm thinking of Ripping my CD collection again. I'm researching a way to use a LLM to tidy up the metadata.

If you ever figure out how to use AI to determine the genre(s) of a song, let me know. Have been looking for something like that for quite a while.

[-] [email protected] 3 points 1 month ago

Nextcloud Recognize is supposed to do that, but I haven't tried it. You might try looking down that road.

[-] [email protected] 3 points 1 month ago

Thanks for the tip! I took a look and it seems like Recognize uses this: https://github.com/jordipons/musicnn

Last update was 4 years ago but will give it a try this weekend.

[-] [email protected] 2 points 1 month ago

Can you share some info on how you did that folder organization? Did you provide the AI with a list of files?

[-] [email protected] 15 points 1 month ago

playing dnd alone is pretty cool

[-] [email protected] 8 points 1 month ago

Any model recommendation for that?

The ones i tried get stuck in a loop at some point due to the small context windows.

[-] [email protected] 3 points 1 month ago

Yeah even gpt4o couldn't keep track of encounters, run battles etc. in my case...

I think if you wanted to do it mechanically consistently you'd probably need to integrate it into a vtt where you give it context and potentially fine-tune it to give quest related summaries & gming rather than just "stuff"

[-] [email protected] 2 points 1 month ago

VTT integration would be one hell of a job to do.

[-] [email protected] 2 points 1 month ago

I don’t know how tech savvy you are, but I’m assuming since your on lemmy it’s pretty good :)

The way we’ve solved this sort of problem in the office is by using the LLM’s JSON response, and a prompt that essentially keeps a set of JSON objects alongside the actual chat response.

In the DND example, this would be a set character sheets that get returned every response but only changed when the narrative changes them. More expensive, and needing a larger context window, but reasonably effective.

[-] [email protected] 1 points 1 month ago* (last edited 1 month ago)

the answer is very spesific to ur pc and amount of vram you have availşble to you. But anything lama 3 even 8b models finetuned to DM or write stories should theoritically work. The other reply that reccomends connecting to another program to make sure rules are consistent sounds like a great idea whşch I have not tried. I use silly tavern as the ui whşch has lots of options and shit to mske thşngs wkrk well. I would reccomend goşng şnto the "KoboldAI" discord and askşng şn the support sectşon folk there are very helpfull sorry for not beşng able to gşve a strsight answer Also boost the context size way up that shit makes dşfference I habe like 16k or sumthin. good luck!

[-] [email protected] 3 points 1 month ago

What on earth is going on with your keyboad?!

Besides that, i have 20GB of VRAM and 64GB or RAM. I can run the mixtral 8x7b model relatively usable. Currently i use oobabooga the most.

load more comments (1 replies)
load more comments (1 replies)
[-] [email protected] 9 points 1 month ago

I've used it to summarize long articles, news posts, or videos when the title/thumbnail looks interesting but I'm not sure if it's worth the 10+ minutes to read/watch.
There are other solutions, like a dedicated summarizer, but I've investigated into them and they only extract exact quotes from the original text, an LLM can also paraphrase making the summary a bit more informative IMO.
(For example, one article mentioned a quote from an expert talking about a company, the summarizer only extracted the quote and the flow of the summary made me believe the company said it, but the LLM properly stated the quote came from the expert)

This project https://github.com/goniszewski/grimoire has in it's road map a way to connect to an AI to summarize the bookmarks you make and generate at 3 tags.
I've seen the code, I don't remember what the exact status of the integration.


Also I have a few models dedicated for coding, so I've also asked a few pieces of code and configurations to just get started on a project, nothing too complicated.

[-] [email protected] 4 points 1 month ago

Which one do you use to summerize videos?

[-] [email protected] 4 points 1 month ago

Does it work with porn videos?

[-] [email protected] 1 points 1 month ago* (last edited 1 month ago)

asking the important question, but yeah, the plot is essential in porn

load more comments (1 replies)
[-] [email protected] 5 points 1 month ago

I use the Continue VS Code plugin with Ollama to use a couple of different models (deepseek-coder-v2 & starcoder2) to recreate a local only Github Copilot type experience for coding. This is on an M1 Apple Silicon though. For autocomplete the generation needs to be pretty brisk - I'm not sure how that would go in a VM without a GPU.

[-] [email protected] 2 points 1 month ago

How well does the M1 chip keep up? What size models are you running with it? Interested in getting an M1 laptop and I am curious.

[-] [email protected] 1 points 1 month ago
starcoder2:latest       	f67ae0f64584	1.7 GB	3 days ago 	
phi3:latest             	d184c916657e	2.2 GB	3 weeks ago	
deepseek-coder-v2:latest	8577f96d693e	8.9 GB	3 weeks ago	
llama3:8b-instruct-q8_0 	1b8e49cece7f	8.5 GB	3 weeks ago	
dolphin-mistral:latest  	5dc8c5a2be65	4.1 GB	3 weeks ago	
codeqwen:latest         	df352abf55b1	4.2 GB	3 weeks ago	
llama3:latest           	365c0bd3c000	4.7 GB	4 weeks ago

I mostly use starcoder2 with Continue for code autocomplete, the big deepseek coder is a bit slow (I can feel it thinking), but it and the regular llama3 are good for chatbot type programming questions.

I don't really have anything to compare the M1 performance to. I guess the 8GB models output text a little slower than the web versions of the same models, and the 4GB ones about the same. Using ollama in the terminal, there's sometimes a 0.5-2 second pause before it starts outputting. Not with phi3 though - it's surprisingly snappy for the quality of answers.

[-] [email protected] 5 points 1 month ago

https://github.com/hendkai/paperless_sort_low_quality_ollama let ai tag your paperless ngx files base on content.

[-] [email protected] 4 points 1 month ago

I have a 4070 sitting around collecting dust that I got from a trade, I've been thinking about setting it up with whispr and TTS and having a way to talk to my house.

I have a couple of smart home integrations, mostly air conditioning, light switches, security, and doors.

What I would like would be to have a few speakers on the walls that can talk to my server where I can say something like, hey computer, turn on the lights in the dining room and the lights in the dining room would turn on without transmitting that information to Google or Amazon.

[-] [email protected] 2 points 1 month ago

You can try integrating with SEPIA. Not that I used it befote but it surely looks promising.

[-] [email protected] 1 points 1 month ago

Wonderful. I'll check it out. Thank you!

[-] [email protected] 2 points 1 month ago

I am really curious if you can get the traditional smart functionality along with a LLM. Maybe have some sort of keyword the prompts the AI. You also could write a custom generated system prompt that includes the weather, time and any other information

[-] [email protected] 4 points 1 month ago* (last edited 1 month ago)

Roleplay (text adventures), a (stupid but occasionally funny) dungeon master, translation and help with creativity. These are the use cases I found. If you don't need that, you might get rid of it.

[-] [email protected] 3 points 1 month ago

I use local AI for coding (more recently) and ML Photo storage facial recognition and security camera object detection (been using the later 2 for years now actually, don't want that kind of info out on someone else's cloud training on my images)

[-] [email protected] 3 points 1 month ago
[-] [email protected] 3 points 1 month ago

Wanting answers to things you don't want google to know that you don't know.

[-] [email protected] 3 points 1 month ago

There are a huge number of vastly better solutions to get that...

[-] [email protected] 3 points 1 month ago

IMO LLMs are ok to get a head start of searching. Like got a vague idea of something but don't know the exact keywords. LLMs can help and use the output on whatever search engine you like. This saves a lots of time tinkering the right keywords.

load more comments (6 replies)
[-] [email protected] 1 points 1 month ago
[-] [email protected] 7 points 1 month ago

A privacy respecting search engine.

[-] [email protected] 1 points 1 month ago

Duckduckgo or SearX

[-] [email protected] 1 points 1 month ago

I use it for everything. I did move to ollama to podman and I replaced webUI with Alpaca

load more comments
view more: next ›
this post was submitted on 24 Jul 2024
53 points (90.8% liked)

Selfhosted

39080 readers
466 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS