JetBrains' local single-line autocomplete model is 0.1B (w/ 1536-token context, ~170 lines of code): https://blog.jetbrains.com/blog/2024/04/04/full-line-code-co... For context, GPT-2-small is 0.124B params (w/ 1024-token context).
Ask HN: Is anyone doing anything cool with tiny language models?
41–50 of 356 posts
Re: Ask HN: Is anyone doing anything cool with tiny language models?
#42JetBrains' local single-line autocomplete model is 0.1B (w/ 1536-token context, ~170 lines of code): https://blog.jetbrains.com/blog/2024/04/04/full-line-code-co... For context, GPT-2-small is 0.124B params (w/ 1024-token context).
I wonder how big that model is in RAM/disk. I use LLMs for FFMPEG all the time, and I was thinking about training a model on just the FFMPEG CLI arguments. If it was small enough, it could be a package for FFMPEG. e.g. `ffmpeg llm "Convert this MP4 into the latest royalty-free codecs in an MKV."`
Re: Ask HN: Is anyone doing anything cool with tiny language models?
#43Recently deployed in Home Assistants fully local capable Alexa replacement. https://www.home-assistant.io/voice_control/about_wake_word/
Re: Ask HN: Is anyone doing anything cool with tiny language models?
#44I have a tiny device that listens to conversations between two people or more and constantly tries to declare a "winner"
Re: Ask HN: Is anyone doing anything cool with tiny language models?
#45I have a tiny device that listens to conversations between two people or more and constantly tries to declare a "winner"
Re: Ask HN: Is anyone doing anything cool with tiny language models?
#46I have a tiny device that listens to conversations between two people or more and constantly tries to declare a "winner"
Re: Ask HN: Is anyone doing anything cool with tiny language models?
#47No, but I use llama 3.2 1b and qwen2.5 1.5 as bash oneliner generator, always runnimg in console.
Could you elaborate?
Checkout the demo they have below
Re: Ask HN: Is anyone doing anything cool with tiny language models?
#48No, 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 models?
#49I have a mini PC with an n100 CPU connected to a small 7" monitor sitting on my desk, under the regular PC. I have llama 3b (q4) generating endless stories in different genres and styles. It's fun to glance over at it and read whatever it's in the middle of making. I gave llama.cpp one CPU core and it generates slow enough to just read at a normal pace, and the CPU fans don't go nuts. Totally not productive or really…
Re: Ask HN: Is anyone doing anything cool with tiny language models?
#50I have a mini PC with an n100 CPU connected to a small 7" monitor sitting on my desk, under the regular PC. I have llama 3b (q4) generating endless stories in different genres and styles. It's fun to glance over at it and read whatever it's in the middle of making. I gave llama.cpp one CPU core and it generates slow enough to just read at a normal pace, and the CPU fans don't go nuts. Totally not productive or really…
FORTUNE=$(fortune) && echo $FORTUNE && echo "Convert the following output of the Unix `fortune` command into a small screenplay in the style of Shakespeare: \n\n $FORTUNE" | ollama run phi4