Pablo Duy K. Vu (@duyvk) header
Pablo Duy K. Vu (@duyvk) profile picture

Data Engineer

Munich, Bavaria
Joined January 2010
Photo by Pablo Duy K. Vu (@duyvk)Photo by Pablo Duy K. Vu (@duyvk)
Pablo Duy K. Vu retweeted
Together 这篇蒸馏教程很实用的,用 Kimi-K3.1-Pro 当老师,把能力蒸馏进 Qwen3.8-27B。从造数据、筛数据到训练、评测,一步步都写清楚了,参数、成本和代码也都放出来了。 想上手学蒸馏、训练一个自己的小模型,照着走一遍就行,推荐收藏。
13
123
1
758
72,957
Pablo Duy K. Vu retweeted
What is a looped transformers? More and more models are using a loops and it's probably the biggest change since MoEs! The latest models to use is are Inkling 2 Mini and GLM-5.4 and rumours are also Astra. This is an amazing blog to learn about it: huggingface.co/spaces/dlouap…
39
173
21
1,343
103,641
Pablo Duy K. Vu retweeted
I deleted Linux completely, baked Qwen3-0.6B into a 24 KB pure x86-64 assembly OS, and it runs up to 54% faster than native Linux llama.cpp. The entire Multiboot OS binary (asm-llm-os.elf) is 24,252 bytes, written from scratch without Linux, Windows, C, Rust, or libc. It boots in 74 to 94 ms straight into 64-bit Long Mode, wakes every CPU core over APIC, maps the 614 MiB Q8_0 weights directly from physical RAM, and drops you into a live multi-turn KV-cache chat over VGA, PS/2 keyboard, and serial. I ran head-to-head CPU benchmarks against llama.cpp (Q8_0, -ngl 0) on the same AMD EPYC 7642: - 1 thread hits 23.67 tok/s vs 16.63 (+42%) - 4 threads hit 78.89 tok/s vs 51.08 (+54%) - 8 threads hit 118.08 tok/s vs 80.79 (+46%) - 16 threads hit 134.94 tok/s vs 103.03 (+31%, 136.6 peak) On a diskless 0 GB Proxmox VM (2014 12-core Intel Xeon E5-2670 v3, 2 GiB RAM), it boots straight to the prompt in under 5 seconds (95 ms kernel boot) and runs live out of RAM at 78 tok/s decode and up to 111.5 tok/s prefill, with a hybrid BIOS+UEFI ISO builder included too. Output stays bit-exact across thread counts and matches all 64 greedy tokens against PyTorch FP32 (0.99965 cosine). The 14.7 KB Linux ELF build (FAST_Q8=1 INT8xINT8 AVX2+F16C) also beats llama.cpp by 18% to 36% from 1 to 40 threads, and booting bare metal with 2 MiB huge pages squeezes out another 10% on top. Repo, ISO builder, and Proxmox setup guide are in the reply below.
731
1,580
478
14,479
1,213,374
Pablo Duy K. Vu retweeted
We just open-sourced a speculative decoder that speeds up sparse models like DeepSeek-V4.1-Flash, GLM-5.3-Flash, and our own Hy4 flash. At 64K context, DFly2 boosts DeepSeek-V4.1-Flash serving throughput by up to 81%. On Hy4 flash agentic tasks, it runs up to 4.2x faster, beating same-recipe DSpark by ~30% and accepting 10.4% more draft tokens than open-source DSpark. Under the hood, each draft layer reads directly from the target model's KV cache and top-k token selection, with no prefill required. That adds zero extra KV memory and keeps drafting cost flat at any context length. Try it on your own sparse models or grab the Hy4 flash weights below 👇 Code: github.com/Tencent/AngelSpec Weights: huggingface.co/AngelSlim Paper: arxiv.org/abs/2611.34776
119
239
71
2,246
178,033
Pablo Duy K. Vu retweeted
You asked for my @orca_build setup. I shipped it. Regia: the control room I use to run 30+ AI agents through one orchestrator. Free, open source. Here's how the whole thing works 🧵
12
21
4
215
24,944
Pablo Duy K. Vu retweeted
Understanding system design helps you build better apps, even when vibe coding. Better architecture decisions. Better AI prompts. Fewer surprises when your app grows. So I built an interactive app to learn system design visually. designed-to-scale.vercel.app
237
956
89
8,232
635,489
Pablo Duy K. Vu retweeted
Grok Bot 团队的 Lauren Tan 在 AIE CODE 演讲开场问,谁看过别人写的代码,觉得那全是 slop?她也有过这种感觉。但她想讲的是,怎样「把 slop 变成黄金」,让 agent 大量写代码的同时,维持甚至提高代码质量。 她把信任 agent 的前提落在代码库上。好的 API、架构、类型系统和测试,能约束 agent 默认做对的事。在 Grok Bot 的客户端框架 Dune 里,主线程和渲染线程之间的违规导入会被依赖图分析器拦住。她还说,团队禁止了 99% 的注释,因为 agent 会在注释里替快速补丁找理由;每次纠正 agent,都尽量变成能执行的确定性检查。代码评审也更多地看视频、截图和验证产物。TLA+、Lean 和 UI 测试已经帮他们找到 bug,形式化验证仍在试验。讲到结果时,她说团队上个月向生产环境发布了 11000 个 PR,Grok Bot 大概每天发布一个稳定版。PR 的回滚比例降到大约 0.5%,启动、打字、开新聊天和切换聊天都比上线时更快。 这是约 19 分钟的完整演讲,中英字幕,从代码库约束、验证和代码评审,讲到用 Grok Bot 拉起 Cursor project,自动找 bug、开修复 PR 并合并。直接看。
17
45
3
262
24,447
You can literally type a sentence and watch a Transformer process it. - tokenization, embeddings, Q/K/V, attention, MLP, logits, next-token probabilities. You can inspect attention maps, tweak temperature, top-k, and top-p, and actually see how the next token is chosen. One of the cleanest ways to see how these ai models actually work. - poloclub.github.io/transform…
4
45
1
299
19,670
Pablo Duy K. Vu retweeted
From recognizing text to understanding documents. 📄 Meet Xiaomi-OCR-0, an open-source document understanding model with just 0.8B parameters. It brings document parsing, key information extraction, and OCR-oriented visual question answering into one lightweight model. It scores 95.24 on Real5-OmniDocBench and 83.2 on average across five OCR-oriented VQA benchmarks. On OmniDocBench v1.6, Xiaomi-OCR-0 ranks first in document parsing performance among models with fewer than 1B parameters. Model weights, inference code, an interactive demo, MCP service, and Agent Skill are now open source. 👇 🤗 Huggingface: huggingface.co/xiaomi-resear… 🔗 GitHub: github.com/xiaomi-research/X… 📄 Demo: huggingface.co/spaces/loongw… #XiaomiAI #OCR #OpenSource
62
307
54
2,857
156,282
Pablo Duy K. Vu retweeted
Lauren Tan’s Grok Bot setup looks like a real team. the workflow is simple: goal → delegate → specialists work → merge results → final answer instead of asking one agent to do everything, she splits the work across specialists: → Chief of Staff plans + delegates → Researcher finds and compares information → Engineer builds and tests → Reviewer checks quality and edge cases → Doc Writer turns work into reusable knowledge → Operator keeps workflows running → Memory Manager preserves context across sessions that’s how Grok Bot starts feeling less like one assistant - and more like a small AI company working for you. full playbook below ↓
44
70
5
608
57,981
Pablo Duy K. Vu retweeted
Today, I'm launching llmdojo.dev: - The hands-on way to learn AI engineering: LLMs, RAG, agents, evals and inference. - 50+ interactive labs. Tweak tokenizers, attention, embeddings and KV caches live. - Train a neural network in your browser and watch it learn. - Build agentic workflows with tool calls, memory, guardrails and bounded autonomy. - Ship RAG that works: chunking, hybrid search, reranking, and LLM-as-a-judge evals. - Production AI: model routing, fallbacks, quantization, caching and cost per request. - 490+ interview questions, reported from OpenAI, Anthropic, Google, Meta, Amazon, Microsoft, Mistral and 50+ more. - Every answer is cited from papers and books, or measured on real models.
233
188
33
1,894
127,677
Pablo Duy K. Vu retweeted
REA (Reverse Engineer Anything) is the most powerful GitHub repo I've ever used. It's basically a legal way to hack websites and apps and steal their features; I've never seen anything like it. If you inject this prompt into Claude, it will reverse-engineer anything. Steal this:
70
256
12
1,645
132,325
Pablo Duy K. Vu retweeted
THIS IS AN ACTUAL F*CKING GOLDMINE Anthropic just shared one of the best tricks for Claude Code. The idea: run Sonnet, Haiku 5.5 and Opus 5.5 at once, each one doing only the job it's best at. Better results and way fewer tokens, because every task lands on the right model. You just launch Claude Code like this: claude --model sonnet --advisor opus here's the split: → Sonnet 5.5 runs the session, writes the code and applies the fixes → Haiku 5.5 swarms the repo in parallel: search, grep and diff audits → Opus 5.5 stays on call as advisor for the big calls and signs off on the diff → you stop burning Opus context on work that doesn't need it Opus only steps in at three moments: → before a plan locks → when the same error shows up twice → before calling it done Sonnet builds. Haiku swarms. Opus reviews. JEV engineering is the same move one layer down: the forks that need no thinker (which file, which tool, retry or stop) go to JEV in milliseconds, and the big models only see the ones that split the full tree > Sonnet 5.5 runs the main session and coordinates the work > search maps the repo on Haiku 5.5, read-only > grep finds call sites on Haiku 5.5 in its own context > audit checks the diff on Haiku 5.5 in a throwaway worktree > Opus 5.5 on call as advisor, reviews the synthesized diff before sign-off > JEV routes micro-forks in milliseconds paste the tree and this prompt into Claude Code ↓ "Reconfigure my Claude Code setup around this tree: 1. Run the main session on Sonnet 5.5 with Opus 5.5 as advisor. 2. Create three Haiku 5.5 subagents in .claude/agents: search (maps the repo), grep (finds call sites), audit (checks the diff). 3. Set isolation: worktree on audit so its checks never touch my working branch. 4. Add one rule to CLAUDE.md: delegate every repo search and test run to the Haiku 5.5 subagents to keep the main context small. 5. Route fast deterministic forks (tool choice, path selection, retries) through JEV. Show me every change as a diff first. No edits until I say go." ↳ code.claude.com/docs/en/sub-…
39
79
7
755
106,126
Pablo Duy K. Vu retweeted
This is f*king insane. Andrej Karpathy spent 8 years at OpenAI and Tesla Last week, he packed what he learned into one free 2-hour lecture Agents → Harness → Loops → Graphs Some bootcamps charge $15K and teach less than this You might not have 2 hours today Bookmark and watch it it before it disappears from your feed Then read the guide below to build your first agent harness
27
287
5
1,914
236,819
Pablo Duy K. Vu retweeted
GutenOCR: A Grounded Vision-Language Front-End for Documents Fine-tunes Qwen2.5-VL-3B and 7B using a grounded OCR evaluation protocol, substantially improving region- and line-level OCR as well as text-detection recall
13
99
2
851
45,957
Crazy, 99% accurate OCR reasoning model like pro human,🔥 This 8B reasoning OCR model extracts text from images instantly with 99% accuracy. - near-perfect OCR, Complex tables, Weird layouts - instant extraction, - From images to messy flawless perfect Markdown in seconds. - Handles complex docs better than bigger models. - and it reasons through tricky layouts like a human (but faster). - Turns chaos into clean, usable Markdown. - beats GPT-4o on document chaos.
7
78
4
520
23,960
Pablo Duy K. Vu retweeted
Baidu just open-sourced an OCR model that reads entire 40-page documents in one shot. It's called Unlimited-OCR. 3 billion parameters but only 500 million active during inference. Runs 100% locally on your machine. Why this matters: traditional OCR tools chop documents page by page. Tables that span two pages break. Reading order gets lost. Cross-page context disappears. Unlimited-OCR processes the whole document at once. 32K context window. Text, formulas, tables, reading order all preserved across pages. Output comes out as clean structured Markdown. → 93% accuracy on the standard benchmark. +6 points over the baseline. → Error rate stays below 0.11 even past 40 pages. → Multilingual out of the box. → 2.12 million downloads on Hugging Face last month. 14,600 GitHub stars. For context: Amazon Textract, Google Cloud Vision, and Azure Document Intelligence all charge per page. This runs locally for free.
81
443
31
3,964
418,011
Pablo Duy K. Vu retweeted
Introducing DocJev - a lightning-fast OSS library for document classification and splitting with jev ⚡️ Give a document alongside some natural language category rules. Jev will predict the document category (classify) or the boundaries between sub-documents (split). It is 6x faster than gpt-5.6-luna with equivalent accuracy. You can choose between different OCR backends: liteparse: the fastest/most accurate free+OSS text parser out there. Perfect for digitalized documents. The speedups vs. luna above are inclusive of liteparse times. LlamaParse: the most advanced VLM-based solution for complex docs. Using this will of course add latency on document preprocessing. But it’s a good option if you want to cache the digitalized representations of documents for a variety of downstream tasks. Check it out: github.com/jerryjliu/docjev If you want to dive deeper into liteparse or LlamaParse check the links below: liteparse: github.com/run-llama/litepar… LlamaParse: cloud.llamaindex.ai/
45
106
12
1,183
218,990
Pablo Duy K. Vu retweeted
Andrej Karpathy predicted the future of AI once again: “Everyone’s renting frontier models for jobs a 3B model could do. Small models are the future.” this 18-page PDF breaks down Karpathy’s case for working with small LLMs. the real question isn’t “Is the small model as good?” It’s “Which of my 1,000 calls ever needed a frontier model?” And @thewebai just answered it for formal logic. TwIL-LM3-Pro: → 3.6B params, on par with Qwen3-8B on formal logic → leads VibeThinker-3B on all 6 formal-logic tasks tested → 95.4% on BBH logic, 95% on SVAMP → 2.09 GiB in Q4, runs on CPU or 4GB VRAM → no API bill, no data leaving your machine The secret isn't size. It's post-training. PDF below. Model 👇 huggingface.co/webAI-Officia…
🤝 Paid partnership
Half a million downloads in a month. Today, our open source family takes another step forward. Thank you for the incredible support behind our first-generation models. We’re excited to introduce TwIL-LM3-Pro. At just 3.6 billion parameters, it brings powerful reasoning to everyday computers, with quantized builds that run locally. No cloud required. In our evaluation: Formal logic: Highest recorded headline score among the small models compared—beating China’s VibeThinker-3B by 35% and Qwen3.5-4B by 24%, and Liquid AI’s LFM2.5-8B-A1B by 47%. Broader reasoning: 95% on SVAMP and 64.1% on MuSR, the highest recorded scores among the small models compared. BIG-Bench Hard’s logic subset: 95.4%, compared with VibeThinker-3B’s 61.1%. We believe AI is entering a post-training era. The advantage will increasingly belong to companies with the best pipelines and those that can produce capable, personalized intelligence faster and more efficiently, then put it on devices people already own. That’s what we’re building at webAI. And we’re only beginning to share what’s coming out of our lab. Coming soon: Meridian, our family of frontier-class models built to run on device. Our most advanced models will be available through the @thewebAI application. Join the waitlist as we expand access. Proudly built in Austin, Texas. 🇺🇸
41
304
12
1,832
163,585
Pablo Duy K. Vu retweeted
China open-sourced a peanut-sized OCR that parses entire 100-page PDFs in one shot.. It's called Unlimited-OCR. Only 3B params. Runs locally. Every other OCR tool chops your doc into pages and loses the thread. this one reads the whole thing in a single pass. → One-shot "long-horizon" parsing (32K context window) → Multilingual, out of the box → 93% on the standard parsing benchmark (+6 over baseline) → <0.11 error rate past 40 pages → Runs 100% locally on your own hardware → Works with Transformers, vLLM, SGLang, Docker, Ollama, llama.cpp Traditional cloud OCR (Textract, Google Vision, Azure Doc Intelligence) costs $1.50–$15 per 1,000 pages. This runs on your machine. For free. Forever. Baidu built it explicitly to push DeepSeek-OCR one step further. Already at 1.9M downloads on Hugging Face and most people have no idea it exists yet. 100% open source.
137
1,555
92
14,283
1,115,385