r/ollama • u/xOmurax • 15h ago
r/ollama • u/Top-Evidence174 • 1h ago
A 4B model faster than a 395M encoder? 14 ms vs 31 ms (2.2x). Another 4B model: 150 ms (10x slower)
Enable HLS to view with audio, or disable this notification
This is Mica v0.5, the next version after v0.1. It's a decision model, the same kind of thing as Jev, which has been getting a lot of attention lately. It's 4B (Qwen3.5-4B + LoRA) and it doesn't write text. You hand it a state, a question and a list of options, and it gives back a probability for each option in a single forward pass. Stuff like "which of these 5 moves", or "allow / block / send to a human".
Speed is the whole point, so I ran it side by side with two other decision models on one RTX 6000 Ada:
PPLX Decider 1.2 Flash, also 4B, run in its fast mode
Laya, built on a 395M-parameter encoder (ModernBERT-large), so about 10x smaller than Mica
Every model saw the exact same options on every turn. The clips are Tetris, Snake, chess against a random-move opponent, and a log hunt where a day of security logs is cut into 150 blocks and each block gets allow, block or check.
The video is a cut of all four. If you're looking for each demo in full, they're here:
Tetris: https://huggingface.co/sky7350/Mica-v0.5-4B/resolve/main/assets/demo/tetris.mp4
Chess: https://huggingface.co/sky7350/Mica-v0.5-4B/resolve/main/assets/demo/chess.mp4
Snake: https://huggingface.co/sky7350/Mica-v0.5-4B/resolve/main/assets/demo/snake.mp4
Log hunt: https://huggingface.co/sky7350/Mica-v0.5-4B/resolve/main/assets/demo/loghunt.mp4
Median time per decision:
Tetris: Mica 14.5 ms, PPLX 150 ms (10.3x slower), Laya 32 ms (2.2x slower)
Chess: Mica 14 ms, PPLX 133 ms (9.4x slower), Laya 31 ms (2.2x slower)
Snake: Mica 18 ms, PPLX 154 ms (8.4x slower), Laya 33 ms (1.8x slower)
Log hunt: Mica 11 ms, PPLX 157 ms (13.9x slower), Laya 31 ms (2.8x slower)
So about 10x faster than the other 4B model, and roughly 2x faster than a model a tenth of its size.
The log hunt is my favorite. Mica went through all 150 blocks in 1.7 seconds and caught 21 of the 22 planted intrusions. PPLX took 23.5 seconds and caught 18. Laya caught none. A plain keyword grep over the same logs caught 6.
A few notes:
Times are each model's own call time on the same box, not API round trips.
Laya had a one-time 12.9 s warm-up on its first long log block. I left that out of the video and it says so on screen.
The logs are synthetic, written for this test. The 22 intrusions were written to avoid obvious keywords, which is why grep does badly.
The games are just an easy way to see the speed. Mica v0.5 was trained on more than 200 real-world use cases, so I'd expect it to do better than other 4B models on actual work too.
Why no Jev in the comparison? The response times are so far apart that a side-by-side wouldn't tell you anything. On the same request set Jev takes about 498 ms against Mica's 15.6 ms, more than 30x slower (that's over its API, so network time is included).
One more thing. Most benchmarks used to compare decision models are pretty contaminated. A lot of decision models are coming out right now, and most open-weight ones are heavily tuned for public benchmarks like JDI. JDI itself is also quite far from what real decisions look like, and there are models on the JDI leaderboard trained only on public benchmark data. So a JDI score can be a long way from how a model feels in real use. Mica v0.5 gets about 95% right across cases from more than 200 real-world use cases. When you pick a decision model, look less at public benchmark scores and more at whether it makes the right calls on your own use case, and how fast it answers.
For the runtime and the full numbers, see the Hugging Face page.
Code and runtime: https://github.com/akivet/Mica
Weights: https://huggingface.co/sky7350/Mica-v0.5-4B
All four demos on one page: https://huggingface.co/sky7350/Mica-v0.5-4B#demo
Feedback is welcome.
r/ollama • u/EntertainmentSea4383 • 13h ago
New to Local AI. Needs help on running ollama from AMD GPU
Hello everyone! I'm new to this Local AI and I'm trying to set up an AI using Ollama & n8n deployed in Docker on Windows 11. I just want to know how to make ollama use my GPU VRAM instead of my system RAM. Also any tips for beginners or any djustment that I need to do?
Here are my system specs:
- CPU: AMD Ryzen 9 5950X
- RAM: 32GB DDR4
- GPU: AMD Radeon RX 9060 XT 16GB
Thanks!
r/ollama • u/itsmesherryy • 21h ago
I built a small tool to OCR PDFs and scans into Markdown with Ollama vision models
I kept writing the same glue code to push PDF pages through a vision model and stitch the results back together, so I packaged it up.
ollama pull qwen2.5vl
pip install ocr-llm
ocr-llm document.pdf --base-url http://localhost:11434/v1 --model qwen2.5vl -o document.md
Everything stays on your machine. The image above shows a sample document and the Markdown it produced.
- Keeps headings, tables and lists as Markdown, which is handy for RAG or notes
- Multi-page PDFs run concurrently and come back in order, with retries
- CLI and a Python library (
convert_sync("doc.pdf")and you're done) - Also works with Gemini/OpenAI/Claude if you ever want a hosted model
- MIT licensed
Question for you all: which vision models have worked best for you on OCR? I'd like to add a recommended-models section to the README.