We have a Steam curator now. You should be following it. https://store.steampowered.com/curator/44994899-RPGHQ/

Open-Source LLM & AI thread

I'm sorry Dave, I'm afraid I can't do that
Ignore Topic
User avatar
rusty_shackleford
Site Admin
Posts: 52829
Joined: Feb 2, '23
Gender: Watermelon

Geolocation

Adventurer's Guild

Open-Source LLM & AI thread

Post by rusty_shackleford »

Related to viewtopic.php?t=2345-links-to-uncensored-local-ai

I'm sure some of you are more knowledgeable on this subject than I currently am, so I thought I'd make a thread on this and perhaps keep a list in the OP of LLMs that are open-source and actually good. This means, LLMs that can be run(& fine-tuned) locally without censorship.

Resources:
Open LLM leaderboard
https://huggingface.co/spaces/open-llm- ... eaderboard
Chatbot Arena Leaderboard
https://huggingface.co/spaces/lmsys/cha ... eaderboard

Llama-3-70b and Qwen-2-72b seem to be the leading open-source models.

TODO(that means contribute, you reader):
Add material for actually running these?
Running quantized versions so that they can actually run on consumer hardware?
Last edited by rusty_shackleford on October 9th, 2024, 07:07, edited 1 time in total.
Thank you for your attention to this matter!
Steam friend code: 40552640 https://steamcommunity.com/friends/add | email: [email protected] | Questions or problems? PM me. I reply quickly.
Rusty's Stuff Collection
User avatar
rusty_shackleford
Site Admin
Posts: 52829
Joined: Feb 2, '23
Gender: Watermelon

Geolocation

Adventurer's Guild

Post by rusty_shackleford »

rusty_shackleford wrote: ↑ June 26th, 2024, 23:39
TODO(that means contribute, you reader):
Add material for actually running these?
I was able to easily get models that fit onto my GPU up and running with ollama
https://ollama.com/

That's despite using AMD, the ROCM version of ollama from my distro's repo works just fine.

Also, X's newest Grok model shot to almost the top of the leaderboard.


Just playing around with Llama 3.1, I can get it to generate things that paid AI models would balk at. e.g., suggesting that races have different intelligence levels, differences in brain function between women & men explaining roles in society, etc.,
Last edited by rusty_shackleford on September 18th, 2024, 06:32, edited 2 times in total.
Thank you for your attention to this matter!
Steam friend code: 40552640 https://steamcommunity.com/friends/add | email: [email protected] | Questions or problems? PM me. I reply quickly.
Rusty's Stuff Collection
User avatar
rusty_shackleford
Site Admin
Posts: 52829
Joined: Feb 2, '23
Gender: Watermelon

Geolocation

Adventurer's Guild

Post by rusty_shackleford »

Thank you for your attention to this matter!
Steam friend code: 40552640 https://steamcommunity.com/friends/add | email: [email protected] | Questions or problems? PM me. I reply quickly.
Rusty's Stuff Collection
User avatar
rusty_shackleford
Site Admin
Posts: 52829
Joined: Feb 2, '23
Gender: Watermelon

Geolocation

Adventurer's Guild

Post by rusty_shackleford »

Llama-3.1-8B-Lexi-Uncensored-V2-GGUF
Image Image Image
Last edited by rusty_shackleford on September 19th, 2024, 11:37, edited 1 time in total.
Thank you for your attention to this matter!
Steam friend code: 40552640 https://steamcommunity.com/friends/add | email: [email protected] | Questions or problems? PM me. I reply quickly.
Rusty's Stuff Collection
User avatar
rusty_shackleford
Site Admin
Posts: 52829
Joined: Feb 2, '23
Gender: Watermelon

Geolocation

Adventurer's Guild

Post by rusty_shackleford »

Need to buy a 7900 xtx for this :pipe-thinking:
Thank you for your attention to this matter!
Steam friend code: 40552640 https://steamcommunity.com/friends/add | email: [email protected] | Questions or problems? PM me. I reply quickly.
Rusty's Stuff Collection
User avatar
Tweed
Turtle
Turtle
Posts: 8020
Joined: Feb 2, '23

Geolocation

Adventurer's Guild

Post by Tweed »

That's the rub, you either put yourself in the hands of the colab, or you stop being poor.

Otherwise the only real game in town is still NovelAI and they're in a make or break situation. Antalan doesn't seem to grasp the fundamentals of communication and it's been over a year since they updated their text model while they trickle in updates to their already outdated imagegen. Their jackass of a rep in trooncord continues to troll people while supposedly leaking snippets of the new model and if it is the new model it's very dry and overly descriptive while not picking up all the prompt which is very bad considering how long everyone has been waiting. People are already leaving and waiting to see what their llama fine-tune actually delivers along with Aetheroom and if they don't bring the goods they're going to find themselves in deep **** which means the commercial sector is also going to find itself in deep ****.
User avatar
Irenaeus
Posts: 11621
Joined: Sep 29, '23

Geolocation

Post by Irenaeus »

Tweed wrote: ↑ September 19th, 2024, 12:02
That's the rub, you either put yourself in the hands of the colab, or you stop being poor.

Otherwise the only real game in town is still NovelAI and they're in a make or break situation.
Can you expand on that? What do you use it for that it helps you? I tried using the most expensive version earlier this year for helping me write stories and it did not help at all despite me writing a lorebook the size an encyclopedia. It didn't write even an useful paragraph, complete waste of time.
User avatar
Tweed
Turtle
Turtle
Posts: 8020
Joined: Feb 2, '23

Geolocation

Adventurer's Guild

Post by Tweed »

Irenaeus wrote: ↑ September 19th, 2024, 12:32
Tweed wrote: ↑ September 19th, 2024, 12:02
That's the rub, you either put yourself in the hands of the colab, or you stop being poor.

Otherwise the only real game in town is still NovelAI and they're in a make or break situation.
Can you expand on that? What do you use it for that it helps you? I tried using the most expensive version earlier this year for helping me write stories and it did not help at all despite me writing a lorebook the size an encyclopedia. It didn't write even an useful paragraph, complete waste of time.
Giant lorebooks don't help. Terse lorebooks with basic descriptors in brackets work better, never try to use prose in lorebooks it just confuses the model and causes it to spit the same data back out. There's no guarantee it's going to use the information anyway. You also need to learn to make proper use of the author's note and memory, they are not the same and should never be treated as such. It pays to to feed authors into the memory to change or add descriptions and styles to AI. You can also use summaries to help jumpstart whatever is you're trying to get the stupid thing to do and instruct can coax it into writing what you want. The problem is that you're going to end up doing about 70-90% of the writing yourself anyway and you must know not only the fundamentals of writing, but also the fundamentals of writing on a LLM which means breaking a lot of the rules of writing. Kayra was impressive when it was first released and people put up with its flaws, but it's a dilapidated sack of crap now and numerous superior models are available. This is why people who are more interested in textgen are cancelling subs and waiting to see how NovelAI's LLama finetune is going to be.
Last edited by Tweed on September 19th, 2024, 13:33, edited 1 time in total.
User avatar
Irenaeus
Posts: 11621
Joined: Sep 29, '23

Geolocation

Post by Irenaeus »

Thanks for the tips!
User avatar
Tweed
Turtle
Turtle
Posts: 8020
Joined: Feb 2, '23

Geolocation

Adventurer's Guild

Post by Tweed »

I've never been able to use Kayra as an actual co-writer, more like a wall to bounce a particular paragraph or idea off of when I get stuck. Or to test run something.
Last edited by Tweed on September 19th, 2024, 13:41, edited 1 time in total.
User avatar
gerey
Turtle
Turtle
Posts: 3200
Joined: Feb 2, '23

Geolocation

Adventurer's Guild

Post by gerey »

Tweed wrote: ↑ September 19th, 2024, 13:32
and waiting to see how NovelAI's LLama finetune is going to be
And the devs are absolutely infuriating fuckwits in how they've handled the whole thing. They kept radio silent for months until they had a costumer revolt on their hands and were practically forced to admit they had started training their own model, realized they didn't have the resources to complete with the likes of OpenAI, Meta or Google, and decided to settle on an already available model, starting from scratch.

Cue further months of radio silence and pissing everyone off with creeping "soon" memery, alluding the new model will be released before this October.

If nothing else these chucklefucks have taught me why corporations actually keep PR monkeys on their payroll.
User avatar
WaterMage
Posts: 2340
Joined: Sep 30, '23

Geolocation

Adventurer's Guild

Post by WaterMage »

Ask any LLM to make parallels between Weimar Germany and modern West. If it can't is censored and capped.
User avatar
Tweed
Turtle
Turtle
Posts: 8020
Joined: Feb 2, '23

Geolocation

Adventurer's Guild

Post by Tweed »

gerey wrote: ↑ September 19th, 2024, 14:46
Tweed wrote: ↑ September 19th, 2024, 13:32
and waiting to see how NovelAI's LLama finetune is going to be
And the devs are absolutely infuriating fuckwits in how they've handled the whole thing. They kept radio silent for months until they had a costumer revolt on their hands and were practically forced to admit they had started training their own model, realized they didn't have the resources to complete with the likes of OpenAI, Meta or Google, and decided to settle on an already available model, starting from scratch.

Cue further months of radio silence and pissing everyone off with creeping "soon" memery, alluding the new model will be released before this October.

If nothing else these chucklefucks have taught me why corporations actually keep PR monkeys on their payroll.
Sage is a ******* jackass who needs to be fired or in the very least locked up in the backroom. None of these new businesses seem to grasp professional communication.

BUT one way or another we're going to find out whether or not it's been worth the wait next week: https://blog.novelai.net/inference-upda ... 9e247e0a63
User avatar
gerey
Turtle
Turtle
Posts: 3200
Joined: Feb 2, '23

Geolocation

Adventurer's Guild

Post by gerey »

Tweed wrote: ↑ September 19th, 2024, 21:13
BUT one way or another we're going to find out whether or not it's been worth the wait next week: https://blog.novelai.net/inference-upda ... 9e247e0a63
Holy ****, it's finally ******* happening.
User avatar
rusty_shackleford
Site Admin
Posts: 52829
Joined: Feb 2, '23
Gender: Watermelon

Geolocation

Adventurer's Guild

Post by rusty_shackleford »

Piper tts works great for realtime(yes, actually real-time) audio generation.
https://github.com/rhasspy/piper

It takes about 1 second to generate a few paragraphs of audio.

I'm sure there's better TTS that takes longer to generate the audio, but I don't know too much about any of that.
Thank you for your attention to this matter!
Steam friend code: 40552640 https://steamcommunity.com/friends/add | email: [email protected] | Questions or problems? PM me. I reply quickly.
Rusty's Stuff Collection
User avatar
Orvas Dren
Posts: 1614
Joined: Nov 28, '23
Location: Desele's House of Earthly Delights

Geolocation

Post by Orvas Dren »

Figured I'll throw in my own little experience with local LLMs so far.

I'm using Ollama for model management, which has been the easiest and most streamlined system I've used so far. After downloading Ollama, it should open up your powershell. If not, all you need to do is run the model of your choice. I'm rocking with llama3.2 3B, which basically does what Rusty mentioned earlier at a fraction of the toll on your PC. 1B is apparently even lighter on your system, but I have a pretty solid rig and run 3B with no problem. After entering *ollama run llama3.2* or an LLM of choice (ie a cracked version of llama), I was good to go.

To further improve and streamline things I downloaded Msty to act as a UI and so far its pretty nice. Connected it to all my Ollama models so I can freely switch between my cracked and default models, make various profiles for them, and of course give it a proper GUI. It apparently even come with built in support for Obsidian, so I can freely import my projects as knowledge Stacks for llama, but I haven't tested this very much yet. I'll post the links used below
► Show Spoiler
You do not have the required permissions to view the files attached to this post.
VINCE AUT MORIRE
User avatar
rusty_shackleford
Site Admin
Posts: 52829
Joined: Feb 2, '23
Gender: Watermelon

Geolocation

Adventurer's Guild

Post by rusty_shackleford »

Serjo wrote: ↑ November 1st, 2024, 15:43
I'm using Ollama for model management, which has been the easiest and most streamlined system I've used so far.
Agreed, found ollama is the easiest to use. I use open-webui as the frontend for it: https://openwebui.com/
Thank you for your attention to this matter!
Steam friend code: 40552640 https://steamcommunity.com/friends/add | email: [email protected] | Questions or problems? PM me. I reply quickly.
Rusty's Stuff Collection
asf
Turtle
Turtle
Posts: 3252
Joined: Feb 2, '23
Gender: Helicopter

Geolocation

Post by asf »

i got llama running even on my arduino here, shame it is total ****
User avatar
loregamer
Site Moderator
Posts: 5760
Joined: Dec 3, '23

Geolocation

Post by loregamer »

I'm gonna start looking into this
Jingle Jangle Jingle