News for hackers. Stuff that matters.
Re:Ask HN: Is anyone doing anything cool with tiny language ... by iamnotagenius on Tuesday January 21, 2025 @03:42PM (#42784970)
No, but I use llama 3.2 1b and qwen2.5 1.5 as bash oneliner generator, always runnimg in console.
Re:Ask HN: Is anyone doing anything cool with tiny language ... by andai on Tuesday January 21, 2025 @04:30PM (#42785424)
Could you elaborate?
Re:Ask HN: Is anyone doing anything cool with tiny language ... by XMasterrrr on Tuesday January 21, 2025 @05:39PM (#42785998)
I think I know what he means. I use AI Chat. I load Qwen2.5-1.5B-Instruct with llama.cpp server, fully offloaded to the CPU, and then I config AI Chat to connect to the llama.cpp endpoint.

Checkout the demo they have below

https://github.com/sigoden/aichat#shell-assistant

Re:Ask HN: Is anyone doing anything cool with tiny language ... by iamnotagenius on Wednesday January 22, 2025 @07:33AM (#42792097)
I just run llama-cli with the model. Every time I want some "awk" or "find" trickery, I just ask model. Good for throwaway python scripts too.
Re:Ask HN: Is anyone doing anything cool with tiny language ... by jajko on Wednesday January 22, 2025 @09:59AM (#42793507)
Can it do 'sed'?

I think one major improvement for folks like me would be human->regex LLM translator, ideally also respecting different flavors/syntax for various languages and tools.

This has been a bane of me - I run into requirement to develop some complex regexes maybe every 2-3 years, so I dig deep into specs, work on it, deliver eventually if its even possible, and within few months almost completely forget all the details and start at almost same place next time. It gets better over time but clearly I will retire earlier than this skill settles in well.

Re:Ask HN: Is anyone doing anything cool with tiny language ... by iamnotagenius on Wednesday January 22, 2025 @12:15PM (#42795091)
have not tried yet. any specific query? I can try.
Re:Ask HN: Is anyone doing anything cool with tiny language ... by XMasterrrr on Tuesday January 21, 2025 @05:39PM (#42786003)
What's your workflow like? I use AI Chat. I load Qwen2.5-1.5B-Instruct with llama.cpp server, fully offloaded to the CPU, and then I config AI Chat to connect to the llama.cpp endpoint.