News for hackers. Stuff that matters.

Ask HN: Local LLM Recommendation?

I'm fairly new to the LLM landscape, so I'm asking for help in finding a suitable solution for my requirements.

For my work (software engineer) I usually take a fairly big amount of markdown notes as a braindump (and not particularly well organised).

I wanted to ask what are my options for a LLM that could be trained with my personal notes and provide answers to prompts in order to organise the ideas and information. Some examples would be:

- What is the deadline for X - Give me all the tasks that mention Y and have a due date of Z - Create an agenda for a meeting on A

etc..

Powerful reasoning is not essential (if that's the correct terminology), the focus would be on correctly identifying topics (in the above example).

Some additionalt requirements are:

- This would run on a commodity Linux machine, but with relatively modern specs (64Gb RAM, i7 Raptor Lake, but fairly average/low-end GPU) - I would need this to run in "air gapped" way. i.e. no outside transfer of information, since I might use data I don't want to share (even unknowingly)

Thank you

( 7 comments | 2 points | on HN )
Re:Ask HN: Local LLM Recommendation? by throw03172019 on Thursday October 26, 2023 @05:59AM (#38023657)
Run llama2 13b locally
Re:Ask HN: Local LLM Recommendation? by leandot on Thursday October 26, 2023 @08:30AM (#38024646)
Is this a general answer as "it might work" or you've tried that?
Re:Ask HN: Local LLM Recommendation? by throw03172019 on Friday October 27, 2023 @02:21AM (#38035276)
I ran llama2 on my MacBook Pro m1 64gb without an issue.
Re:Ask HN: Local LLM Recommendation? by houseatrielah on Thursday October 26, 2023 @09:26AM (#38025210)
Re:Ask HN: Local LLM Recommendation? by bousenta on Thursday October 26, 2023 @09:45AM (#38025441)
https://ollama.ai

Set up 7b on M1 Air and works great. Works on linux also but not Windows.(yet)

Re:Ask HN: Local LLM Recommendation? by Jack_Sprat_89 on Thursday October 26, 2023 @03:13PM (#38030417)
Vicuna v1.5 13B q8 runs locally using a 3060ti 8GB VRAM card on Win 10, dual Xeon (16 core) with 128GB RAM. I use LM Studio (mac, win & linux) which is super easy to install and it has a local inference server that you can connect clients to using an openai style api. A very fun project so far...
Re:Ask HN: Local LLM Recommendation? by instagib on Saturday October 28, 2023 @01:05PM (#38051480)
This code based model leaderboard changes somewhat often: https://huggingface.co/spaces/bigcode/bigcode-models-leaderb...

You will probably have to quantize the model though. Codellama-> https://huggingface.co/codellama/CodeLlama-13b-Instruct-hf

——————- This is the main leaderboard, changes almost daily, and breaks sometimes. https://huggingface.co/spaces/bigcode/bigcode-models-leaderb...

Some models are trained specifically for something and coding then some are not. Gotta read the model card / dataset.

According to some other thread on Samantha, I think this one may be trained on coding also but you may have to test it or find the thread on Samantha ver 1.2. https://huggingface.co/ehartford/samantha-1.2-mistral-7b

Without gpu memory info, idk which would be best for tokens/sec. You want to offload as much as you can to the gpu. 10-15 tokens/sec is okay. Less than that gets annoying. I would start with a 7b model then move to 11b or 13b once that is up and running.