r/LargeLanguageModels • u/anusan_10 • Sep 12 '26
Low-cost alternatives to LLMs for a production-level classification task?
3
Upvotes
r/LargeLanguageModels • u/anusan_10 • Sep 12 '26
1
u/GoldenDarknessXx Sep 13 '26
Are we talking symbols? Pictures? Statistics? Formula? … Oh Brother …
1
u/foxer_arnt_trees Sep 13 '26
I love Ollama, small free models can be very good with classification. Just make sure you use prompt engineering techniques like few shot, CoT, and self consistancy. Large models dont need that, but small models do.
1
u/orcstork Sep 13 '26
fastText or a minilm
1
u/Western-Image7125 Sep 13 '26
This is such a low effort post sheesh.
1
u/tom-mart Sep 13 '26
RegEx
1
u/Cute-Veterinarian191 Sep 14 '26
I would advise using an LLM in code development to create an SLM (small language model) that can run with just regex (i.e. the LLM can generate 2k examples of matching patterns) that will help with both speed and low-cost overhead (since LLM API costs will only be used during development)
1
u/searchblox_searchai Sep 17 '26
Use a small model with local inference https://inference-server.searchblox.com/blog/spark-x25-fast-cpu-inference.html
2
u/[deleted] Sep 12 '26
[removed] — view removed comment