this post was submitted on 07 May 2024
46 points (100.0% liked)

Technology

39889 readers
516 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 3 years ago
MODERATORS
 

I'm new to the field of large language models (LLMs) and I'm really interested in learning how to train and use my own models for qualitative analysis. However, I'm not sure where to start or what resources would be most helpful for a complete beginner. Could anyone provide some guidance and advice on the best way to get started with LLM training and usage? Specifically, I'd appreciate insights on learning resources or tutorials, tips on preparing datasets, common pitfalls or challenges, and any other general advice or words of wisdom for someone just embarking on this journey.

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] makingStuffForFun@lemmy.ml 5 points 1 year ago (1 children)

I'm also interested, so I hope you don't mind me joining the ride. Personally, I'd like a self hosted tool, but am happy to see what the community says.

[–] trevron@beehaw.org 5 points 1 year ago (3 children)

If you just want to use a local llm, using something like gpt4all is probably the easiest. Oobabooga or llama.cpp for a more advanced route.

I use ollama with llama3 on my macbook with open-webui and it works real nice. Mistral7b is another one I like. On my PC I have been using oobabooga with models I get from huggingface and I use it as an api for hobby projects.

I have never trained models, I don't have the vram. My GPU is pretty old so I just use these for random gamedev and webdev projects and for messing around with RP in sillytavern.

[–] TehPers@beehaw.org 3 points 1 year ago (1 children)

I managed to get ollama running through Docker easily. It's by far the least painful of the options I tried, and I just make requests to the API it exposes. You can also give it GPU resources through Docker if you want to, and there's a CLI tool for a quick chat interface if you want to play with that. I can get LLAMA 3 (8B) running on my 3070 without issues.

Training a LLM is very difficult and expensive. I don't think it's a good place for anyone to start. Many of the popular models (LLAMA, GPT, etc) are astronomically expensive to train and require and ungodly number of resources.

[–] trevron@beehaw.org 1 points 1 year ago

yep, definitely agree with all of this.

[–] Midnitte@beehaw.org 2 points 1 year ago (1 children)

Using LM Studio would be even easier to get started

[–] xcjs@programming.dev 2 points 1 year ago

Unfortunately, I don't expect it to remain free forever.

[–] its_me_xiphos@beehaw.org 2 points 1 year ago (1 children)

Month later update: This is the route I've gone down. I've used WSL to get Ollama and WebopenUI to work and started playing around with document analysis using Llama 3. I'm going to try a few other models and see what the same document outputs now. Prompting the model to chat with the documents is...a learning experience, but I'm at the point where I can get it to spit out quotes and provide evidence for it's interpretation, at least in Llama3. Super fascinating stuff.

[–] trevron@beehaw.org 1 points 1 year ago

Nice, that's awesome!