view the rest of the comments
LocalLLaMA
Welcome to LocalLLaMA! Here we discuss running and developing machine learning models at home. Lets explore cutting edge open source neural network technology together.
Get support from the community! Ask questions, share prompts, discuss benchmarks, get hyped at the latest and greatest model releases! Enjoy talking about our awesome hobby.
As ambassadors of the self-hosting machine learning community, we strive to support each other and share our enthusiasm in a positive constructive way.
Rules:
Rule 1 - No harassment or personal character attacks of community members. I.E no namecalling, no generalizing entire groups of people that make up our community, no baseless personal insults.
Rule 2 - No comparing artificial intelligence/machine learning models to cryptocurrency. I.E no comparing the usefulness of models to that of NFTs, no comparing the resource usage required to train a model is anything close to maintaining a blockchain/ mining for crypto, no implying its just a fad/bubble that will leave people with nothing of value when it burst.
Rule 3 - No comparing artificial intelligence/machine learning to simple text prediction algorithms. I.E statements such as "llms are basically just simple text predictions like what your phone keyboard autocorrect uses, and they're still using the same algorithms since <over 10 years ago>.
Rule 4 - No implying that models are devoid of purpose or potential for enriching peoples lives.
I honestly don't know a "tutorial" source to point to. For all its hype, the documentation for local LLM hacking is shockingly bad, every influencer I've seen is uninformative, and for whatever reason the tinkerer communities choose to hang out in Discords, Twitter, or other information black holes...
I can point to my stack though.
I use Mikupad for experimentation: https://github.com/lmg-anon/mikupad
Look up a particular LLM's 'raw" chat syntax, past it in, and you can experiment with what the LLM actually 'sees' and outputs when it inferences. It's quite enlightening.
Some UIs like kobold.cpp let you "modify" chat templates to jailbreak them to, or switch to raw completion syntax temporarily. So they're more of a hybrid of traditional chatbot chat and a mikupad-like raw scratchpad.
For a backend, if you are on Nvidia, I'd recommend looking into exllamav3 these days (and its API server, TabbyAPI). It gives me a considerable speed boost with offloaded MoE models, and I can fit larger models than mainline llama.cpp.
Look up "control vector" on huggingface. These are basically ways to 'steer' LLM output without finetuning them: https://huggingface.co/models?sort=modified&search=control+vector
The people that make them are also worth following, as they tend to be LLM tinkerers. There are a few interesting discussions/threads buried through huggingface, but you kind of have to stumble into them.