Hamid Maei (@HamidMaei) profile picture

I build Efficient and scalable AI. Now @PrismML. ex- @Netflix. Developed Gradient-TD algorithms (PhD Thesis) with @RichardSSutton

SF Bay Area, US
Joined June 2009
Photo by Hamid Maei (@HamidMaei)Photo by Hamid Maei (@HamidMaei)
Hamid Maei retweeted
Security triage can start right on your device. In this demo, Ternary Bonsai 2.5 27B analyzes an unknown macOS app entirely on-device. Without running the app, it finds a network request to a hidden destination and explains why it flags the app as suspicious.
6
20
4
192
9,074
Isn’t this all of us right now?
🤖 Made with AI
192
805
146
9,112
377,274
It is amazing, isn’t it? Yet there are fearmongers out there scaring the hell out of people about AI and wanting to stop its progress.
openai's solution today to the 57-year-old matrix multiplication problem is probably a millennium prize-level breakthrough anthropic and oai have basically saturated the fields medal benchmark. if a human mathematician had published even one of openai's top math papers, they could have won a fields medal
1
101
I agree!
The dark age of mathematics is over
1
99
last-minute goal! will test
Today, we’re releasing Ternary Bonsai 2.5 27B. An upgrade to Ternary Bonsai 2 27B, with substantially stronger agentic coding, multi-turn tool use, and long-horizon task execution. All within the same 5.9 GB model footprint. Based on Qwen3.8 27B, the model is 9x smaller than its full-precision counterpart. It scores 73.9 on tau3-bench and 75.6 on SWE-Bench-Verified, making it the strongest AI model of its memory footprint for agentic workloads. Compared with Ternary Bonsai 2, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately. Available today under Apache 2.0.
2
8
704
Run Ternary Bonsai 2.5 27B locally on Apple Silicon—live in Rapid-MLX 1.1.2 🐆 2-bit packed ternary weights bring a 27B model down to 8.9 GB (16.3 GB in 4-bit). On an M4 Pro (48 GB): ⚡ Loads in 10s 🧠 ~10 GB RAM (12.6 GB peak) 🛠️ Tool calling, vision & thinking toggle verified 🤖 rapid-mlx serve spots Codex/OpenCode on PATH and prints the connect command Plus: resilient download retries, pre-download memory checks, and context-length tips. Happy Thanksgiving!
Today, we’re releasing Ternary Bonsai 2.5 27B. An upgrade to Ternary Bonsai 2 27B, with substantially stronger agentic coding, multi-turn tool use, and long-horizon task execution. All within the same 5.9 GB model footprint. Based on Qwen3.8 27B, the model is 9x smaller than its full-precision counterpart. It scores 73.9 on tau3-bench and 75.6 on SWE-Bench-Verified, making it the strongest AI model of its memory footprint for agentic workloads. Compared with Ternary Bonsai 2, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately. Available today under Apache 2.0.
1
2
72
3,310
Hamid Maei retweeted
These models are a genuine marvel to me. To achieve the sizes of these files while maintaining benches like this is surreal and expensive. 842 of the 851 tensors had to be retrained. Unreal! These @PrismML aren't just regular quants. I appreciate what they do for the benefit of the space.
Today, we’re releasing Ternary Bonsai 2.5 27B. An upgrade to Ternary Bonsai 2 27B, with substantially stronger agentic coding, multi-turn tool use, and long-horizon task execution. All within the same 5.9 GB model footprint. Based on Qwen3.8 27B, the model is 9x smaller than its full-precision counterpart. It scores 73.9 on tau3-bench and 75.6 on SWE-Bench-Verified, making it the strongest AI model of its memory footprint for agentic workloads. Compared with Ternary Bonsai 2, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately. Available today under Apache 2.0.
6
8
86
3,724
Hamid Maei retweeted
man i love prismML
Today, we’re releasing Ternary Bonsai 2.5 27B. An upgrade to Ternary Bonsai 2 27B, with substantially stronger agentic coding, multi-turn tool use, and long-horizon task execution. All within the same 5.9 GB model footprint. Based on Qwen3.8 27B, the model is 9x smaller than its full-precision counterpart. It scores 73.9 on tau3-bench and 75.6 on SWE-Bench-Verified, making it the strongest AI model of its memory footprint for agentic workloads. Compared with Ternary Bonsai 2, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately. Available today under Apache 2.0.
2
11
909
Hamid Maei retweeted
And yes it can do 3D worlds and Pagoda gardens :)
This is one of the many examples where Bonsai 2.5 can autonomously reproduce and resolve real-world bugs
1
4
10
1,318
Hamid Maei retweeted
They are back !! @PrismML is back with a new 27B ternary model built for coding and agents ! Ternary Bonsai 2.5 27B !! Based on Qwen3.8 27B, and within the same 5.9 GB model footprint as Bonsai 2 27B. Benchmark shows it's better than even ISTA-DAS Lab GSQ-RCO-IQ2_S and GSQ-RCO-IQ2_XS and Unsloth UD-IQ2_XS, all while being smaller than them. It's also better than Bonsai 2 27B ! This is now the strongest agentic model under 10GB, with general capability staying close to FP16 ! Every GGUF file now ships with a MTP draft head as well, so expect faster decode speed ! Still Apache 2.0 License !
Today, we’re releasing Ternary Bonsai 2.5 27B. An upgrade to Ternary Bonsai 2 27B, with substantially stronger agentic coding, multi-turn tool use, and long-horizon task execution. All within the same 5.9 GB model footprint. Based on Qwen3.8 27B, the model is 9x smaller than its full-precision counterpart. It scores 73.9 on tau3-bench and 75.6 on SWE-Bench-Verified, making it the strongest AI model of its memory footprint for agentic workloads. Compared with Ternary Bonsai 2, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately. Available today under Apache 2.0.
12
12
138
8,379
Why are mathematicians worried about AI solving century-old math problems? There is no shortage of fundamental theoretical problems with profound practical implications. Take RL: how do we achieve efficient credit assignment through incremental prediction rather than massive trajectory generation?
Mathematician Timothy Gowers said he's worried for his field after the fall of the Riemann Hypothesis. "But, I have to say, standing here, those worries maybe play second fiddle to the more general worries about the future of the whole world." From the @PauseAI protest.
3
202
Hamid Maei retweeted
Worth everyone who uses models trying the model
Today, we’re releasing Ternary Bonsai 2.5 27B. An upgrade to Ternary Bonsai 2 27B, with substantially stronger agentic coding, multi-turn tool use, and long-horizon task execution. All within the same 5.9 GB model footprint. Based on Qwen3.8 27B, the model is 9x smaller than its full-precision counterpart. It scores 73.9 on tau3-bench and 75.6 on SWE-Bench-Verified, making it the strongest AI model of its memory footprint for agentic workloads. Compared with Ternary Bonsai 2, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately. Available today under Apache 2.0.
11
16
1
117
23,467
Hamid Maei retweeted
“it runs on my laptop” is a great reason to try it once. “it finished the work while I was gone” is the reason to use it every day. That’s where we want to take Bonsai.
Today, we’re releasing Ternary Bonsai 2.5 27B. An upgrade to Ternary Bonsai 2 27B, with substantially stronger agentic coding, multi-turn tool use, and long-horizon task execution. All within the same 5.9 GB model footprint. Based on Qwen3.8 27B, the model is 9x smaller than its full-precision counterpart. It scores 73.9 on tau3-bench and 75.6 on SWE-Bench-Verified, making it the strongest AI model of its memory footprint for agentic workloads. Compared with Ternary Bonsai 2, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately. Available today under Apache 2.0.
2
4
19
809
Hamid Maei retweeted
This is one of the many examples where Bonsai 2.5 can autonomously reproduce and resolve real-world bugs
Replying to @PrismML
Reproducing and fixing a reported bug in pytest with Bonsai 2.5 27B. After an upgrade, a test fails when run alongside others but passes on its own. Bonsai investigates the repository, builds a minimal reproduction, traces the failure, and implements a fix. The patch is then checked against a maintainer test the model had never seen. 180 tool calls from investigation through verification, entirely offline.
1
4
1
18
2,385
Hamid Maei retweeted
Replying to @PrismML
congrats on the release! got the full 262K running at ~74 tok/s on my 3060 with the new MTP head. bonsai 2 was doing 26 on the same card, crazy jump nitter.gq/DogukanUrker/status/21…
running PrismML's Ternary Bonsai 2.5 27B on a single RTX 3060. 12GB VRAM. (config below) 262K context. ~74 tok/s decode, ~520 tok/s prefill. bonsai 2 did 26 tok/s at 262K on this card on day one. 2.5 ships an MTP draft head inside the gguf: 47 tok/s without it, ~74 with it, same full 262K. still real ternary, 6.2 GB file. needs PrismML's llama.cpp fork for PTQ1_0 + MTP. config: llama-server -m Ternary-Bonsai-2.5-27B-PTQ1_0-mtp.gguf -ngl 999 -c 262144 -fa on --jinja -np 1 --cache-type-k q4_0 --cache-type-v q4_0 --cache-type-k-draft q4_0 --cache-type-v-draft q4_0 -b 1024 -ub 256 --spec-type draft-mtp --spec-draft-n-min 0 --spec-draft-n-max 3 --spec-draft-p-min 0 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 --presence-penalty 0.0 --repeat-penalty 1.0 --reasoning on
2
31
1,611
Congratulations @PrismML for yet another exciting release "..strongest AI model of its memory footprint for agentic workloads" 💪💪 @BabakHassibi @HessianFree @SahinLale cc @khoslaventures @vkhosla
Today, we’re releasing Ternary Bonsai 2.5 27B. An upgrade to Ternary Bonsai 2 27B, with substantially stronger agentic coding, multi-turn tool use, and long-horizon task execution. All within the same 5.9 GB model footprint. Based on Qwen3.8 27B, the model is 9x smaller than its full-precision counterpart. It scores 73.9 on tau3-bench and 75.6 on SWE-Bench-Verified, making it the strongest AI model of its memory footprint for agentic workloads. Compared with Ternary Bonsai 2, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately. Available today under Apache 2.0.
2
5
12
3,927
Hamid Maei retweeted
This is incredible! Bonsai 2.5 27B achieves scores similar to Qwen3.8 FP16 in a Footprint of only 5.9GB about 9x smaller than the original model. Time to dust off my RTX 3070 TI 8GB and test this
Today, we’re releasing Ternary Bonsai 2.5 27B. An upgrade to Ternary Bonsai 2 27B, with substantially stronger agentic coding, multi-turn tool use, and long-horizon task execution. All within the same 5.9 GB model footprint. Based on Qwen3.8 27B, the model is 9x smaller than its full-precision counterpart. It scores 73.9 on tau3-bench and 75.6 on SWE-Bench-Verified, making it the strongest AI model of its memory footprint for agentic workloads. Compared with Ternary Bonsai 2, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately. Available today under Apache 2.0.
6
3
32
2,289
Hamid Maei retweeted
Bonsai 2.5 27B 🌳🌳🌸
we cracked ternary agentic. >> 27 billion parameters >> 5.93 GB >> 75.6% on SWE-bench Verified >> 99% of FP16 tool-calling performance meet Ternary Bonsai 2.5 27B 🌳
1
3
15
882
Hamid Maei retweeted
running PrismML's Ternary Bonsai 2.5 27B on a single RTX 3060. 12GB VRAM. (config below) 262K context. ~74 tok/s decode, ~520 tok/s prefill. bonsai 2 did 26 tok/s at 262K on this card on day one. 2.5 ships an MTP draft head inside the gguf: 47 tok/s without it, ~74 with it, same full 262K. still real ternary, 6.2 GB file. needs PrismML's llama.cpp fork for PTQ1_0 + MTP. config: llama-server -m Ternary-Bonsai-2.5-27B-PTQ1_0-mtp.gguf -ngl 999 -c 262144 -fa on --jinja -np 1 --cache-type-k q4_0 --cache-type-v q4_0 --cache-type-k-draft q4_0 --cache-type-v-draft q4_0 -b 1024 -ub 256 --spec-type draft-mtp --spec-draft-n-min 0 --spec-draft-n-max 3 --spec-draft-p-min 0 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 --presence-penalty 0.0 --repeat-penalty 1.0 --reasoning on
Today, we’re releasing Ternary Bonsai 2.5 27B. An upgrade to Ternary Bonsai 2 27B, with substantially stronger agentic coding, multi-turn tool use, and long-horizon task execution. All within the same 5.9 GB model footprint. Based on Qwen3.8 27B, the model is 9x smaller than its full-precision counterpart. It scores 73.9 on tau3-bench and 75.6 on SWE-Bench-Verified, making it the strongest AI model of its memory footprint for agentic workloads. Compared with Ternary Bonsai 2, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately. Available today under Apache 2.0.
27
23
6
323
17,178