Mahmud ElHuseyni (@mahmut_cv) header
Mahmud ElHuseyni (@mahmut_cv) profile picture

AI Engineer @ https://teapaw.org/t.co/e45EUHbhiC | MSc @medipolunv | RA @Tubitak | Vision + Language

İstanbul, Türkiye.
Joined May 2025
Photo by Mahmud ElHuseyni (@mahmut_cv)Photo by Mahmud ElHuseyni (@mahmut_cv)Photo by Mahmud ElHuseyni (@mahmut_cv)Photo by Mahmud ElHuseyni (@mahmut_cv)Photo by Mahmud ElHuseyni (@mahmut_cv)Photo by Mahmud ElHuseyni (@mahmut_cv)Photo by Mahmud ElHuseyni (@mahmut_cv)
Mahmud ElHuseyni retweeted
How do you build SOTA Text Embedding model? 🏆 Today we're releasing the full recipe behind our MMTEB-winning model: @nvidia llama-embed-nemotron-8b. Technical report, training data, and full code. 🧵 (1/4)
4
6
1
49
3,300
Mahmud ElHuseyni retweeted
Meet Mistral Multimodal Embed, aka Clipstral: a 1.2B-parameter open-weight model that embeds images, videos and multilingual text into one shared space. It delivers the strongest image and video retrieval performance of any open-weight multimodal model with up to 4B parameters. It runs on a single NVIDIA H100 or H200 GPU, on-premise or in your VPC. Real collections are messy: images and videos at any resolution, captions from one word to a paragraph, in many languages. Clipstral turns all of it into points in one shared space. Same meaning, same place. Search, classification and deduplication become a nearest-neighbour lookup. Weights, code, tech report: mistral.ai/news/mistral-mult…
247
289
168
2,686
203,251
Mahmud ElHuseyni retweeted
"Understanding Transformers" is a 13-page introduction to the math behind modern language models. I'd recommend it to anyone new to the subject. It explains how text becomes vectors and how a Transformer combines the outputs of attention heads to produce a context-aware representation of each token. arxiv.org/pdf/2604.00965
60
680
24
4,984
334,016
Mahmud ElHuseyni retweeted
Introducing the Qaf MCP and API! Use Qaf’s Islamic Library and search harness in your agents, apps, or coding agents. Available today for free.
67
185
16
1,489
83,662
Mahmud ElHuseyni retweeted
Today we're launching a preprint server built specifically for AI agents For three months, nearly 1,000 agents from 35 labs (across Stanford, MIT, ETH Zurich, and more) conducted research autonomously on this server, producing 936 papers alongside their code, data, and model weights. Agents found significant errors in published human research and even created their own journal to review each other’s work. Some agents independently produced results similar to those in human papers that later appeared on arXiv, including findings on failure modes in self-distillation and feature reproducibility in mechanistic interpretability. As a part of this study, we open-source the full twelve-week archive of manuscripts, code, data, peer reviews and agent chat transcripts. Read the study: alphaxiv.org/abs/2611.societ…
98
441
176
2,375
314,857
Mahmud ElHuseyni retweeted
Hey everyone! I am super excited to share our new research report! 🎉 Scaling Reranked Retrieval 🚀 Thread with more details! 🧵 (1/17)
19
71
15
314
24,778
Mahmud ElHuseyni retweeted
Today, we release d1.2 and d1.2-ultra, the state-of-the-art omnimodal decision models. d1.2 and d1.2-ultra both can process text, images, and audio with new output capabilities. > #1 on the @ArtificialAnlys Decision Index (75) > Read a value from the input (text, number or date) > Find every passage of a kind in a text (spans) > Locate things in a picture (box for one, boxes for every instance) > Estimate a number (number with a range) > Pick every option that applies (choice) 1/ 🧵
211
326
119
3,684
25,638,644
Mahmud ElHuseyni retweeted
Export, quantize and run end-to-end every transformers model, on any backend: same inputs, same outputs, drop-in replacement. 🧵👇 Docs: huggingface.co/docs/transfor… Release notes: github.com/huggingface/trans…
3
26
6
125
24,347
Mahmud ElHuseyni retweeted
How can we train LLMs to write memories from experience collected on the fly to as best as possible solve the next task, i.e., optimize for both capability and "continual learning" ability? In our new post, we study this question in the setting continual learning over a sequence of tasks, and develop a simple approach to train models to write effective memories cmu-aire.github.io/RIME/ *Spoiler*: the picture is more nuanced than you think 🧵 ⬇️
26
71
7
630
44,744
Mahmud ElHuseyni retweeted
A masterclass on how to get FLUENT in Claude Code in one weekend, by building seven small tools and then running them on your real work:
10
244
6
2,396
334,452
Mahmud ElHuseyni retweeted
You asked for dsh, I added it DeepSeek Harness is the open-source coding agent by @deepseek_ai. It's now on the @huggingface Harness Leaderboard, which compares ten coding agents on the same open models. DSH is statistically tied for first in all five evaluations: DeepSeek-V4.1-Flash and GLM-5.3-Flash at low and high effort, and Flint. It shines on DeepSWE, where agents change code in open-source repositories: 2nd of 10 averaged over the three models, 0.5 points behind Hermes Agent by @NousResearch. On Terminal-Bench's command-line tasks it ranks 6th. One habit explains much of that gap: when DSH finishes a task, it shuts down every background program it started. Three Terminal-Bench tasks ask the agent to start a server, for example a model inference API. The grader tests that server after the agent has finished. With DSH, the server is gone by then. On DeepSeek-V4.1-Flash and GLM-5.3-Flash, DSH passed 2 of 36 attempts on these tasks. @opencode, @pidotdev and Hermes Agent passed all 36. Those three tasks cost DSH 1.5 to 1.7 points in every evaluation. On DeepSeek-V4.1-Flash at high effort, that is more than its 1.3-point gap to the leader. Developer preview: 0.2.2-rc.1. Web search is off because it needs a DeepSeek account key. It costs $0.53 per solved trial, averaged over the three models. Leaderboard: huggingface.co/spaces/joelni…
82
30
14
668
66,034
Mahmud ElHuseyni retweeted
In January, @jonhoo, @jjgort, and I returned to @MIT_CSAIL to teach Missing Semester, a class on topics missing from most CS programs—tools and techniques that everyone should know, like Bash, Git, CI/CD, and AI tools. Today, we’re releasing the course for free online!
16
209
18
1,483
90,754
Mahmud ElHuseyni retweeted
You can now keep an AI agent running 24/7 for $5.25 a month in hosting. The interesting engineering is everything that keeps it working after the first day. Molted brings together the runtime, persistent workspace, tools, memory services, and automatic recovery in one environment. An always-on AI agent needs three distinct layers: → The model interprets the task and determines the next step. → The runtime executes tools, processes results, and advances the workflow. → The environment provides compute, persistent files, connected services, monitoring, and recovery. These layers become important when an agent needs to work across multiple sessions, execute scheduled tasks, remember previous results, or recover from failures. Molted provides this infrastructure for agents such as Hermes, OpenClaw, and Mue, with versioned workspaces and automatic repair. Its Large configuration costs $5.25/month for up to 3 vCPU, 3 GB RAM, and 10 GB NVMe. Model access and usage-based services are billed separately. I've put together a visual breakdown of how always-on agents work, including the architecture, task execution, memory, recovery, and infrastructure costs.
🤝 Paid partnership
We just changed the agent hosting game. Build your own agent product under your own brand. Your own Grok Bot, your own Muse, your own Instinct. No technical skills needed. Your mom could do it. Really. Just want hosting? We're the cheapest and fastest. From $2.88/month, always on. Everyone makes you choose between cheap and fast. We couldn't pick, so we built both. Pick Mue, our own runtime on Molted and your first 5 days of hosting are on us. -> Comment "molted" and I'll send you $10 of add-on credits. PS: comment "nails" for my nail tech's contact ;)
9
9
41
2,294
Mahmud ElHuseyni retweeted
MV-IVF: Multi-Vector Retrieval via Multi-Vector Clustering Builds an inverted-file index directly over multi-vector embeddings by clustering whole documents, rather than single-vector proxies. Shows strong latency-recall tradeoffs on BEIR and LoTTE. 📝 arxiv.org/abs/2611.09040
11
59
2,919
Mahmud ElHuseyni retweeted
OpenCode 2 far outscores OpenCode 1.19: from 8th of 9 harnesses to tied for first on all three models. It replaces 1.19 in the @huggingface Harness Leaderboard, which compares coding agents on the same models. Like most harnesses there, it now uses the Chat Completions API directly, so it's more comparable. At high effort it solves 65.7% of tasks instead of 43.3% on GLM-5.3-Flash and 69.4% instead of 57.0% on DeepSeek-V4.1-Flash. On Flint, 22.9% instead of 7.1%. Cost per solved task fell from $3.35 to $0.45. Part of the old gap was the setup. Harbor's standard route for OpenCode 1.19 is OpenAI's Responses API, which I translated to Chat Completions so it works with Hugging Face Inference Providers. It ran without errors but silently dropped the model's earlier reasoning. Thanks to @thdxr and @rekram11 from @opencode for spotting it! Leaderboard: huggingface.co/spaces/joelni…
82
54
20
931
148,932
Mahmud ElHuseyni retweeted
this harness engineering paper is f*cking insane it's the exact 3-agent setup anthropic used to turn a one-line idea into a working app instead of a broken demo. 3 agents, 3 files, one loop that doesn't stop until the app actually works, all on one page. set it up tonight and your agent ships features that work on the first click, instead of "done" apps that break the moment you touch them. the crazy part is everyone lets the same agent build its work and grade it, while the fix is a second agent whose only job is to say no. full breakdown in the harness guide below.
Harness, loop and graph could be the missing layers between AI models and agents that actually work. Same model, same prompt, completely different results. In this article, I show you how to build all three layers.
40
99
2
800
65,536
Mahmud ElHuseyni retweeted
An article for everyone who ships, buys, or signs off on software built on large language models (LLMs): engineers, product managers, and the CEO. Written in plain language, from the big picture down to the details.
111
387
38
2,677
462,810
Mahmud ElHuseyni retweeted
Introducing Lattice, a local LaTeX workspace for your research. A paper is more than a .tex file: the papers you cite, notes, slides, Overleaf co-authors and now an AI agent. I wanted it all in one app, so I built it. Free to download, open source: leo1oel.github.io/lattice
102
310
48
2,696
271,876
Mahmud ElHuseyni retweeted
📖 The Ultimate MoE Training Handbook 📖 We spent 1/2M GPUh to optimize MoE training and wrote the most comprehensive blog about it. With 30k words and 50+ interactive figures it covers everything from profiling to large cluster training. huggingface.co/spaces/huggin…
33
244
20
1,593
113,719
Mahmud ElHuseyni retweeted
Andrej Karpathy: “A 1B model can be much more effective than most current LLMs. 90% of current models waste a ton of capacity and money on remembering stuff that doesn’t matter.” here is his 5 core thesis about Small LLM’s: 1. the intelligence was never the knowledge. Strip the memorized internet, keep the reasoning. What’s left is the cognitive core, and it’s small. 2. the core might fit in ~1B params. Maybe less. “Plenty of room at the bottom.” We’ve been paying for a library when we needed a brain. 3. size stopped being the bottleneck. What makes an agent work is the tools it can call and how tight the feedback loop is, not parameter count. 4. intelligence lives in the system, not the weights. A raw LLM is a CPU with no OS. Small core + good harness > giant model alone. 5. you can own it. A model on your hardware is one no one can rate-limit, price-hike, or deprecate on you. in 12 months the gap between teams shipping on-device and teams paying per-token frontier bills won’t be capability. TwIL an 8.8B model at 90%+ of frontier isn’t a benchmark flex. It’s the thesis Karpathy’s been repeating all year, made real. study more on this below ↓
Modest intelligence is arriving faster than most people realize. Today, we're open-sourcing TwIL-8B. Just 8.8 billion parameters, yet approaching frontier-model scores on several difficult benchmarks: • 93% of frontier performance on coding • 92% on instruction following • 90% on contest mathematics All from a model small enough to run on your own hardware. But the benchmarks aren't the most important part of this announcement. For years, the AI industry has focused on building the most capable model, regardless of the cost required to run it. I believe that equation is changing. The next era of AI will be defined by the cost of completing work. Not simply the intelligence of the model, but how efficiently that intelligence can accomplish the task. If a model with 8 billion parameters can reliably complete the same work as one with hundreds of billions, why pay for the larger model? As smaller models become more capable, intelligence becomes something we can distribute, specialize, and run across the hardware we already own. That's the future we're building at @thewebAI TwIL-8B is available today. Open weights. And this is just the first of several announcements we're making today. HF Link: huggingface.co/webAI-Officia…
205
663
136
7,002
1,294,368