Hi, I am the creator, feel free to ask any questions :)<p>What do you think about it?
I haven't evaluated it yet, but I love the fact that the output is (at least claimed to be) deterministic. I can't trust an LLM to do the right thing after I deploy it to production, because their output is non-deterministic by design.<p>TERMy (or is it the NPC-forge) seems to be worth a try.
You can get determinostic output (mostly) by setting the temperature to zero. Using couple of other tricks you can get close to 100% of determinism with LLMs.
> because their output is non-deterministic by design.<p>It isn't. At least not by design, even though in practice it often can be. If you do greedy decoding (or use a preset seed) and deterministically compute everything (e.g. only use integer math) then it will be 100% always deterministic.
That’s true, but not true-true. Sure, every time you prompt “what is the weather in kansas” you’ll get the same output, but if you prompt “what is the weather in kansas right now” you’ll get a different output, and then “what is the weather in kansas today” gets a different output. Language being language, there are infinite ways to say things, so there are infinite variations in what the llm can output in response to very similar prompts.<p>This tool has a finite amount of outputs for an infinite amount of inputs. Which is different from an llm based tool.
> Models like ornith:9b, mistral:7b or cogito:14b can get the job done sometimes, but they are not fast and reliable enough for general use, specially if you have only 4GB of VRAM.<p>Have you considered/tried using a model that's, well, more appropriate size-wise for an use case like this? These are relatively big. Something like FunctionGemma [1] finetuned for a given set of tasks would be a lot more speedy.<p>[1] <a href="https://blog.google/innovation-and-ai/technology/developers-tools/functiongemma/" rel="nofollow">https://blog.google/innovation-and-ai/technology/developers-...</a>
FunctionGemma never worked well for me (without fine tuning). Liquid has released 230M and 350M models that work far, far better in my testing: <a href="https://huggingface.co/LiquidAI/LFM2.5-230M" rel="nofollow">https://huggingface.co/LiquidAI/LFM2.5-230M</a><p>I really look forward to a hypothetical LFM3-230M, because LFM2.5-230M is <i>so close</i> to being usable, while FunctionGemma is miles away from being usable.<p>But, yes, still tangential to TERMy.
I tried functiongemma, it is for sure faster than those models, the problem is that is not reliable enough for a terminal assistant. I would say that no LLM is good for a terminal assistant, if you take into account the operational cost and the risk of damage. Even if it fails only 1 time out of 10 becomes useless. That's why I developed FlintParser!
Cool project! How does it differ from warp terminals ai mode where you can ask it questions and it responds back
Warp uses LLMs so it is slow and prone to hallucination. Using very colloquial terms TERMy is more or less a calculator that knows english :) so it can run on your CPU and respond instantly! The difference is that it can only answer predetermined responses (with optional arguments) this makes it useless if you need to generate text, but makes it safe and predictable for a use case like a terminal assistant.
What dataset does step 5 rely on? Is it from your own terminal history, man pages, scrapped dataset from e.g. StackOverflow, sth else?
At first blush, it is a really persuasive compromise between full-on LLM inference and boring old fuzzy history search!<p>I really like it, this flavor of specialization gives the user a win on privacy <i>and</i> speed. Seems like the right idea for such a tool.