Hey r/LocalLLM! Wanted to share a technique that's been working really well for recovering performance after INT4 quantization. The Problem We all know the drill - quantize your model to INT4 for that sweet 75% memory reduction, but then watch your perplexity jump from 1.97 to 2.40. That 21.8% perfo...
It's hard to tell from a model page whether a quant will fit once you add context, KV cache, and whatever layers or experts end up on CPU. So I made this: https://huggingface.co/spaces/LocalLLaMA/local-model-explorer Enter your GPU(s) and RAM, or a Mac / Strix Halo / DGX Spark and its unified memory...
I recently worked on a LoRA that improves tool use in LLM. Thought the approach might interest folks here. The issue I have had when trying to use some of the local LLMs with coding agents is this: Me: "Find all API endpoints with authentication in this codebase" LLM: "You should look for @app.route...
You do know you can just do the levels yourself since the model is open? Just use a thinking token budget and insert </think> during decoding to get a final response anytime …you can even steer the model mid response see this paper on AutoThink - https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5253327
You do know you can just do the levels yourself since the model is open? Just use a thinking token budget and insert </think> during decoding to get a final response anytime …you can even steer the model mid response see this paper on AutoThink - https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5253327
you capturing all requests are responses right?
You can use a simple classifier to detect halluciations like in https://www.reddit.com/r/LocalLLaMA/comments/1j5lym7/lightweight_hallucination_detector_for_local_rag/ I am not sure if adding to prompt will always work.
32k input context length, interesting. It also seems to be a lot slower in responding, I think it is a model focussed on “thinking”. It got this AIME problem correctly after 50.4 secs which Gemini-Pro is not able to - https://aistudio.google.com/app/prompts?state=%7B%22ids%22:%5B%221pwZnXS4p7R8Xc9P6lofQ-QDy1RAKQePQ%22%5D,%22action%22:%22open%22,%22userId%22:%22101666561039983628669%22,%22resourceKeys%22:%7B%7D%7D&usp=sharing
It is possible it can beat Sonnet 3.5. We recently beat Sonnet 3.5 on LiveCodeBench using just gpt-4o-mini https://github.com/codelion/optillm?tab=readme-ov-file#plansearch-gpt-4o-mini-on-livecodebench-sep-2024 by using PlanSearch that does more compute at inference.
Assuming, OpenAI is using similar techniques I believe it is possible they will beat Sonnet 3.5 with the mini model.