Use llama.cpp for quantized model inference. It is simpler (no Docker nor Python required), faster (works well on CPUs), and supports many models. Also there are better models than the one suggested. Mistral for 7B parameters. Yi if you want to go larger and happen to have 32Gb of memory. Mixtral MoE is the best but requires too much memory right now for most users.
Small offline large language model – TinyChatEngine from MIT
11–20 of 25 posts
Re: Small offline large language model – TinyChatEngine from MIT
#12Performance on my relatively old i5-8600 CPU running 6 cores at 3.10GHz with 32GB of memory gives me about 150-250 ms per token on the default model, which is perfectly usable.
Re: Small offline large language model – TinyChatEngine from MIT
#13I’m a tad confused > TinyChatEngine provides an off-line open-source large language model (LLM) that has been reduced in size. But then they download the models from huggingface. I don’t understand how these are smaller? Or do they modify them locally?
https://github.com/mit-han-lab/TinyChatEngine Turns out the original source is actually somewhat informative. Including telling you how much hardware do you need. This blog post looks like your typical note you leave for yourself to annotate a bit of your shell history.
Re: Small offline large language model – TinyChatEngine from MIT
#14Use llama.cpp for quantized model inference. It is simpler (no Docker nor Python required), faster (works well on CPUs), and supports many models. Also there are better models than the one suggested. Mistral for 7B parameters. Yi if you want to go larger and happen to have 32Gb of memory. Mixtral MoE is the best but requires too much memory right now for most users.
Re: Small offline large language model – TinyChatEngine from MIT
#15Re: Small offline large language model – TinyChatEngine from MIT
#16I have used them and I can say it's pretty decent overall. I personally plan to use tinyengineon iot devices which is for even smaller iot microcontroller devices.
May I ask what your use case is? I've found LLMs are pretty good at parsing unstructured data into JSON, with minimal hallucinations.
Re: Small offline large language model – TinyChatEngine from MIT
#17Use llama.cpp for quantized model inference. It is simpler (no Docker nor Python required), faster (works well on CPUs), and supports many models. Also there are better models than the one suggested. Mistral for 7B parameters. Yi if you want to go larger and happen to have 32Gb of memory. Mixtral MoE is the best but requires too much memory right now for most users.
Thanks for the suggestion. I'm new to running LLMs so I'll take a look at your suggestion [0]. My ~10 year old MacBook Air has 4GB of RAM, so I'm primarily interested in smaller LLMs. [0] https://github.com/ggerganov/llama.cpp
Re: Small offline large language model – TinyChatEngine from MIT
#18Where is a good place to understand the high level topics in AI. Like an offline language model compared to a presumably online model?
Re: Small offline large language model – TinyChatEngine from MIT
#19Use llama.cpp for quantized model inference. It is simpler (no Docker nor Python required), faster (works well on CPUs), and supports many models. Also there are better models than the one suggested. Mistral for 7B parameters. Yi if you want to go larger and happen to have 32Gb of memory. Mixtral MoE is the best but requires too much memory right now for most users.
Re: Small offline large language model – TinyChatEngine from MIT
#20I have used them and I can say it's pretty decent overall. I personally plan to use tinyengineon iot devices which is for even smaller iot microcontroller devices.
May I ask what your use case is? I've found LLMs are pretty good at parsing unstructured data into JSON, with minimal hallucinations.