Piyush Katariya (@ppkatariya) header
Piyush Katariya (@ppkatariya) profile picture

Software Architect | Meditator

Pune, India
Joined September 2012
Photo by Piyush Katariya (@ppkatariya)Photo by Piyush Katariya (@ppkatariya)Photo by Piyush Katariya (@ppkatariya)Photo by Piyush Katariya (@ppkatariya)Photo by Piyush Katariya (@ppkatariya)Photo by Piyush Katariya (@ppkatariya)Photo by Piyush Katariya (@ppkatariya)Photo by Piyush Katariya (@ppkatariya)Photo by Piyush Katariya (@ppkatariya)Photo by Piyush Katariya (@ppkatariya)
I was having casual conversation (with my colleague Amey Potnis ) for implementing ChatBot for any Business use case without its dependence on LLM. We were discussing how open source python project "pybot" does this, and it tuned out it uses lot of regexes at the core !!! while it is great effort, it may not scale well for real world use cases. So after much concrete iterations with Gemini Hydrogen, DeepSeek 4.1 Flash and Claude Opus of actual code to implement i came up with extremely useful prompt that which you can follow to build lightweight private chatbot. This prompt centred towards my own JS runtime called DynaJS and its immense capabilities to carry out the robust implementation. Its regex engine is upto 200x faster for simple to medium patterns and upto 12x faster for complex patterns compared to NodeJS or BunJS. DynaJS has in built support for all major class Machine Learning algorithms which can be used to build The prompt is generic and can be used for any domain ( social media, education, healthcare, telecom, e-commerce, baking and finance etc) Give it a try ! gist.github.com/corporatepiy…
2
2
76
Qwen4 35B A3B is the most intelligent model under 150B parameters, 5 points ahead of Inkling 2 Mini on the Intelligence Index at similar Cost per Task @Alibaba_Qwen has released Qwen4 35B A3B, the first small open weights model in the Qwen4 family, under an Apache 2.0 license. It is a Mixture of Experts model with 35B total and 3B active parameters, plus a 20B n-gram embedding and a 2B Multi-Token Prediction (MTP) module, for 57B parameters in total. Key takeaways at xhigh reasoning effort: ➤ Qwen4 35B A3B scores 25 on the Intelligence Index, 5 points ahead of models of similar size: Inkling 2 Mini (26B A5.4B), Nanbeige4.3-33B and Qwen3.8 27B (xhigh) all score 20. Above its size, Ling-3.2-air (124B A5.5B) scores 23, and the first model to score higher is Qwen3.8-Flash-Next (176B A6B, 28). ➤ Qwen4 35B A3B is the most intelligent model with under 5B active parameters: With 3B active parameters, it is ahead of Inkling 2 Mini (5.4B active, 20), K2 Horizon MoVA 36B A4B (4B active, 14) and Gemma 4 26B A4B (3.8B active, 4). ➤ Gains over Qwen3.8 27B come from agentic and scientific evaluations: The largest gains are on Terminal-Bench 4.1 (+16 points) and CritPt v2 (+10 points), and HLE-Diamond is the only material regression (-4 points). Among similarly sized models, it leads on AA-Briefcase (1,486 Elo). ➤ Qwen4 35B A3B costs $0.55 per task, ~6x less than Qwen3.8 27B and about the same as Inkling 2 Mini, despite using more output tokens: Qwen3.8 27B costs $3.53 per task and Inkling 2 Mini $0.59. The lower cost comes from first-party pricing of $0.06/$0.36 per 1M input/output tokens and a $0.003 cache hit price Key model details: ➤ Context window: 1M tokens (up from 256K for Qwen3.8 27B) ➤ Size: 35B total / 3B active MoE, plus 20B n-gram embedding and 2B MTP (57B total) ➤ Multimodal: Text, image and video input with text output ➤ License: Apache 2.0 ➤ Pricing: $0.06/$0.36 per 1M input/output tokens on Alibaba Cloud, with a $0.003 cache hit price
107
201
99
2,284
269,926
Piyush Katariya retweeted
Joint statement from Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, and Oracle on transition to post-quantum cryptography: We strongly support the guidance issued by the U.S. government urging organizations to move to the algorithms in the National Institute of Standards and Technology (NIST) Post-Quantum Cryptography (PQC) standards and to accelerate the migration as soon as possible. We are working to support organizations and governments in implementing this change across the internet. anthropic.com/news/joint-sta…
5,570
16,755
12,365
88,379
50,323,713
Piyush Katariya retweeted
Best thing AI did to the industry ? Killing ORMs
15
2
3
170
13,155
Very cool 💯
A good friend of mine just shipped something the GPU world should've had years ago. Shokado: GPU compiler infrastructure. LLVM for shaders, in one C library with zero dependencies. IR, verifier, linker, optimizer, code generators and a VM. shokado.org
52
Hmmmmm, So GNU awk command utility can almost replace python/js
1
17
Both Opus and Fable are acting much below their usual capabilities @ClaudeDevs @claudeai
18
Piyush Katariya retweeted
What if I told you the Chromium/Electron renderer is insanely fast, much faster than all the GPU UI libraries out there, including SilkUI (for now) and GPUI? Chromium's problem is that it does more than an app needs. Strip out everything an app doesn't use and it runs laps around your favorite GPU-driven UI lib while still doing a lot more. Of course, "if it did less, it would be faster" isn't really an argument. Removing clutter is half of what optimization is, so I'm not saying it's the best solution. I just want to appreciate the crazy amount of human engineering that went into it.
66
16
10
687
99,378
Piyush Katariya retweeted
C has been getting more memory safety features in clang. You can now express buffer sizes, lifetimes, and which lock guards which data. This is a great start, but I believe C, of all languages, can get far closer to Rust-level safety than anyone realizes. 🧵
16
33
9
288
14,497
😂
...that's it, shut down the data centers
1
29
Piyush Katariya retweeted
Introducing Edge0-145B and Edge0-120B, @Edge0_AI’s first device-native 100B-class foundation models with open weights. Cloud-level intelligence on your laptop. Free, offline, and fast enough for real vibe coding. - Smart: beats Claude Opus 4.6 on Terminal-Bench 2.1 (86.5% vs. 78.2%) - Light: needs just 29G memory, 1/3 of a standard setup (100G+) - Fast: decodes 75+ toks/s, prefills 1050+ toks/s on RTX Spark and Mac. - Steady: handles 128K–256K tokens of context without slowing down, even on long tasks Frontier-class agentic coding. No cloud API. No token bill. Your code and data never leave your machine. Open weights are live on @huggingface. Run it locally or plug it into your favorite coding agent.
179
233
131
1,643
766,252
Piyush Katariya retweeted
Replying to @huxlab
Dario's spiel since GPT-2 has always been about hyping the dangers so that open models would be made illegal and *he* would stay in control. He left OpenAI because he wasn't going to have control. It's like the Ottoman Empire banning the printing press for Arabic so they would keep in control of the dogma. It stops the population from freely accessing diverse knowledge. It's a new form of medieval obscurantism.
505
3,371
432
23,329
1,455,612
Piyush Katariya retweeted
Qwen3.8-27B just got a big memory optimization in llama.cpp. A new patch reduces speculative decoding state VRAM by up to 91%. At 32 concurrent sequences, memory usage drops from 37.4 GiB to just 5.5 GiB. It also makes batched verification 34.5% faster on RTX PRO 6000. The update works across CUDA, Metal and Vulkan. A really useful improvement for running Qwen3.8-27B locally.
42
99
10
2,407
137,350
GLM 5.4 released with new Loop Transformer
1
47
💯
i like moments like this where everything is getting reset and disrupted and everything has to be rethought you get to see who's actually good and who was just previously in the right place in the right time
1
22
Formal Verification would be a worthy skill to adopt
34
Piyush Katariya retweeted
Google made information cheap. AI made skills cheap. None so far have made understanding cheap. We can use AI to build magical things that we don’t understand. As if we somehow became the accidental recipients of an alien’s Amazon orders. Today’s parcel is the Reimann hypothesis.
109
320
30
2,946
73,899
Even after looking at so many explanations, I am too dumb to understand Riemann Hypothesis and P=NP 🥲
33