
Interested in #deep learning, #machine Learning. Try to solve problems in industry area where deep learning is assumed blackbox
Oelde, Deutschland
Joined September 2013
- Tweets1.6K
- Following838
- Followers162
- Likes3K
Mohammed Hasan Goni retweeted
(Finally) wrote up "Understanding Positional Embeddings in Modern LLMs."
A RoPE from-scratch tutorial missing from my LLM building blocks collection + what recent architectures do (NoPE, partial RoPE, hybrids).
Prob not the flashiest topic, but essential for understanding LLMs
Mohammed Hasan Goni retweeted
my open source projects collectively crossed 30k+ stars on github, going from almost zero just a few months ago! 🎉
reflecting on the journey, here are some learnings about growing and maintaining open source projects:
1. make videos sharing your OSS projects
videos, not tweets. this is probably my most important tip
i had a few viral tweets introducing my OSS projects that got lucky and had hundreds of thousands of views, but what brought in way more serious users and contributors was my youtube videos
good videos take a lot more effort to make, but it gives people a much more direct understanding of how your project works and how it delivers value. my hero project firstmate github.com/kunchenguid/first… grew largely due to my video content
make some videos. and make some more
2. use open source as a super power
i can't overstate how much better the tools got because of open source contributions from others. people bring great ideas, and test + fix the product in all kinds of edge cases that i can't possibly discover
in a way, an OSS product can guide itself towards PMF, because the community would collectively steer it towards the right direction
now that even non-developers can participate in contributing to OSS, this super power is becoming even stronger
3. set a minimum bar on contribution quality
the super power can also be a double edged sword here. especially with AI which allowed a lot more people to contribute but also lowered the bar. if left unchecked, you get a lot of noise
some projects outright disabled all PRs, while some others refuse to take anything done with AI. neither of which is the right approach IMO
my solution has been to raise the minimum bar by requiring all contributions to be raised through no-mistakes. it enforces a level of rigor, and slightly increases the cost to contribute so low quality noise would often shy away
i have a github action for enforcing this - github.com/kunchenguid/no-mi… which you can use for your projects too
4. automate as much maintenance as possible
if you've contributed to my repos, you might have seen some of my automation at work. here's an example - github.com/kunchenguid/runne…
i receive dozens, sometimes hundreds of incoming issues + PRs every day across my repos - i can't imagine how i could have kept all these projects moving if i hadn't leveraged agents to automate the triage work
i run the automation in grok bot with my firstmate bot there x.ai/bot/__4FfrkUdvpdMk6-LKg… - it can set up a different bot per each repo, and creates the routines to triage incoming issues and PRs using cursor cloud agents according to my rules, yet allows me to talk to just the firstmate about everything
an important pre-requisite to doing that is a good documented vision for your project, which i write using github.com/kunchenguid/visio… - with a clearly written vision statement, your triage agents can automatically rule out changes that don't align, and focus on the ones that would further the project towards the direction you want
Mohammed Hasan Goni retweeted
☎️ Calling all students:
You can now access hundreds of textbooks directly in Notebook, for no charge. From publishers like S Chand Publishing, OpenStax, and Open Textbook Library— browse, select and upload them as sources to ace all of your upcoming exams (no more excuses, ok?)
Mohammed Hasan Goni retweeted
Phonon - First TTS model IMO to beat kokoro for voice generation quality and performance. Nice canned voice selection. License terms for english are Apache 2.0... Other languages are non-commericial (sadly).
A new frontier for on-device speech.
We're open-sourcing Phonon, a suite of TTS models under 50m parameters, setting a new standard for naturalness and accuracy across languages, with the broadest inference support to date.
Phonon-31m is available under Apache 2.0.
gradium.ai/phonon🧵
Mohammed Hasan Goni retweeted
🚀 Introducing DeepInfer, our in-house inference framework, now fully open source!
Powering DeepSeek-V4.1-Flash at scale with high throughput and low latency. We’re sharing our production stack to help the community lower compute costs, reduce energy use, and make AI more affordable.
🔗 github.com/deepseek-ai/DeepI…
1/4
Liquid AI's head of post-training explained how they built a small model that runs on-device under 1 GB in 20 minutes - better than $2500 small-model bootcamps.
pick LFM2.5 base -> on-policy preference alignment -> agentic reinforcement learning -> curriculum training -> iterative model merging -> ship a 1B model that reliably calls tools on your phone.
That loop is why frontier small models now beat 70B models on the tasks that actually matter.
LFM2.5 + on-policy DPO + agentic RL + curriculum training + iterative merging - that's the stack.
Watch and save it, then run a 1B agent on your phone tonight.
Mohammed Hasan Goni retweeted
🎨 Meet Qwen-Image-3.0 — the third generation of our foundational image generation model.
If 1.0 was about "Precision," and 2.0 added "Variety, Completeness, Beauty & Authenticity," then 3.0 comes down to a single word: Real (实).
Three dimensions of "Real":
📰 Rich Content — prompts up to 4.5k tokens. One-pass generation of complex layouts: newspapers, storyboards, exam papers — even a 3×3 infographic grid or picture-in-picture-in-picture UIs.
🔬 Authentic Details — text legible down to 10px, full LaTeX paper pages, pores, hair strands & near-photographic skin texture.
🌏 Deep Knowledge — native rendering in 12 languages, 100+ art styles, realistic UIs (web / games / livestreams), plus world knowledge & live web retrieval.
Not just "good-looking" — genuinely useful. Image generation as a real productivity tool for design, content, education & e-commerce.
Go create 🏃🎨
💬Qwen Chat: chat.qwen.ai/?inputFeature=t…
📝Blog: qwen.ai/blog?id=qwen-image-3…
Mohammed Hasan Goni retweeted
👌👌 awesome release by @PrismML
Today, we’re announcing Bonsai 27B: the first 27B-class model to run on a phone.
Bonsai 27B is the new multimodal flagship of the Bonsai family. Based on Qwen3.6 27B, it brings a new capability tier to local AI: multi-step reasoning, structured tool use, long-context workflows, and coherent agentic loops.
Until now, models in this class have been impractical to deploy locally. A 27B model occupies roughly 54 GB in 16-bit precision, and even a strong 4-bit build is around 18GB - too large for a phone and for most laptops.
Bonsai 27B changes that.
It comes in two variants:
• Ternary Bonsai 27B: 5.9 GB, 1.71 effective bits per weight, optimized for laptop-class quality.
• 1-bit Bonsai 27B: 3.9 GB, 1.125 effective bits per weight, optimized for phone-class footprint.
Everything is open-sourced today under the Apache 2.0 license.
Mohammed Hasan Goni retweeted
Very cool work!
I've noticed that Qwen3.6-27B thinks for way too long, I even had to turn off reasoning when running it on a DGX Spark, as otherwise it was unusable with @openclaw
Glad someone is working on improving reasoning efficiency!
Explore the work and evals here: paperswithcode.co/paper/1025…
Mohammed Hasan Goni retweeted
🔗 Full technical write-up with methodology & numbers in our blog post: bottlecapai.com/thinkingcap-…
🔗 HuggingFace LINK: huggingface.co/bottlecapai/T…
Mohammed Hasan Goni retweeted
I just watched an amazingly good lecture by Adam Brown about the future impact of AI on physics
youtube.com/watch?v=Mw60FH5i…
Mohammed Hasan Goni retweeted
I put together a new article on setting up local coding agents with open-weight models. Everything runs 100% locally.
I thought it might be useful putting this together because many people asked me about my setup in the past, and I thought it would also motivate people to get started tinkering with local models for serious work (yes, things got incredibly capable this year with better LLMs and better harnesses).
So, here's a walkthrough of how to connect a local LLM to a local coding harness (could be Claude Code or Codex, which you may already be familiar with).
I also included some assessment notes that are useful as a checklist to select between and consider certain LLMs over others:
- Checking RAM usage at long contexts to see if the model is suitable for real work
- Measuring prefill and decoding tok/sec to see whether it's fast enough to not be annoying
- Making sure the model has sufficient tool-calling capabilities in theory
- Assessing whether the model can solve some more challenging tasks when used in a coding harness.
Of course, there are always more specialized tools that can squeeze a bit more performance out of things, but I hope this is a good starter kit that stays flexible; that is you can easily switch to newer models as they are released or even tap into cloud models in your familiar harness if the current ones are not sufficient enough for a given task.
Mohammed Hasan Goni retweeted
Fast, faster, Qwen. 🚀
Thrilled to see Qwen3.5 reaching a record-breaking 580 tps for agentic workloads on the TokenSpeed engine! This milestone wouldn't be possible without our incredible partners.
Huge thanks to @lightseekorg, @NVIDIAAI, the Mooncake team, and @tri_dao for the pioneering FA4 optimization. Together, we are pushing the boundaries of open-source LLM inference. 🤝✨
Dive into the full @PyTorch blog post below! 👇
pytorch.org/blog/up-to-580tp…
#Qwen #Qwen3_5 #TokenSpeed #LLM #Inference #AI #PyTorch #OpenSource #AgenticAI #HighPerformance
The speed-of-light optimization for Qwen3.5 on the TokenSpeed inference engine is a significant milestone, achieving a record-breaking 580 tokens per second (tps) for agentic workloads on NVIDIA GPUs.
In the PyTorch Foundation's latest community blog post, you can learn all about the complete design, implementation, and optimization of Qwen3.5 models in the TokenSpeed inference framework and see for yourself how this work is improving performance 👉 bit.ly/4uGUvIS
This achievement was a joint effort between the @Alibaba_Qwen inference team, @lightseekorg Foundation TokenSpeed team, @NVIDIAAI , and the Mooncake team, with special contributions from @tri_dao for FlashAttention-4 (FA4) optimization. @KVCache_AI
Mohammed Hasan Goni retweeted
This 2 hour Stanford lecture shows exactly how Stanford trains it's engineers to build AI systems. It's more practical than every Claude tutorial & prompting threads you've seen.
Bookmark & give it 2 hours, no matter what. It'll be the most productive thing you do this weekend.
Mohammed Hasan Goni retweeted
🚨📄 New preprint! We find the “boiling the frog” equivalent of AI use. In a series of RCTs, we show that after just 10 min of AI assistance people perform worse and give up more often than those who never used AI.
w Grace Liu @brianchristian Mira Dumbalska and Rachit Dubey 🧵
Mohammed Hasan Goni retweeted
New blog post: converting 30k @arxiv papers to Markdown using SOTA OCR models to enable chat with paper functionality
Includes:
> leveraging an open OCR model (Chandra 2 by @datalabto)
> running on GPU infra - @huggingface Jobs
> using Codex with a SKILL.md
Mohammed Hasan Goni retweeted
I made a Claude Code skill that turns any arxiv paper into working code.
Every line traces back to the paper section it came from & any implementation detail the paper skips will be flagged, and not assumed.
open sourcing it -
github.com/PrathamLearnsToCo…
Mohammed Hasan Goni retweeted
Farzapedia, personal wikipedia of Farza, good example following my Wiki LLM tweet.
I really like this approach to personalization in a number of ways, compared to "status quo" of an AI that allegedly gets better the more you use it or something:
1. Explicit. The memory artifact is explicit and navigable (the wiki), you can see exactly what the AI does and does not know and you can inspect and manage this artifact, even if you don't do the direct text writing (the LLM does). The knowledge of you is not implicit and unknown, it's explicit and viewable.
2. Yours. Your data is yours, on your local computer, it's not in some particular AI provider's system without the ability to extract it. You're in control of your information.
3. File over app. The memory here is a simple collection of files in universal formats (images, markdown). This means the data is interoperable: you can use a very large collection of tools/CLIs or whatever you want over this information because it's just files. The agents can apply the entire Unix toolkit over them. They can natively read and understand them. Any kind of data can be imported into files as input, and any kind of interface can be used to view them as the output. E.g. you can use Obsidian to view them or vibe code something of your own. Search "File over app" for an article on this philosophy.
4. BYOAI. You can use whatever AI you want to "plug into" this information - Claude, Codex, OpenCode, whatever. You can even think about taking an open source AI and finetuning it on your wiki - in principle, this AI could "know" you in its weights, not just attend over your data.
So this approach to personalization puts *you* in full control. The data is yours. In Universal formats. Explicit and inspectable. Use whatever AI you want over it, keep the AI companies on their toes! :)
Certainly this is not the simplest way to get an AI to know you - it does require you to manage file directories and so on, but agents also make it quite simple and they can help you a lot. I imagine a number of products might come out to make this all easier, but imo "agent proficiency" is a CORE SKILL of the 21st century. These are extremely powerful tools - they speak English and they do all the computer stuff for you. Try this opportunity to play with one.
This is Farzapedia.
I had an LLM take 2,500 entries from my diary, Apple Notes, and some iMessage convos to create a personal Wikipedia for me.
It made 400 detailed articles for my friends, my startups, research areas, and even my favorite animes and their impact on me complete with backlinks.
But, this Wiki was not built for me! I built it for my agent!
The structure of the wiki files and how it's all backlinked is very easily crawlable by any agent + makes it a truly useful knowledge base.
I can spin up Claude Code on the wiki and starting at index.md (a catalog of all my articles) the agent does a really good job at drilling into the specific pages on my wiki it needs context on when I have a query.
For example, when trying to cook up a new landing page I may ask:
"I'm trying to design this landing page for a new idea I have. Please look into the images and films that inspired me recently and give me ideas for new copy and aesthetics".
In my diary I kept track of everything from: learnings, people, inspo, interesting links, images.
So the agent reads my wiki and pulls up my "Philosophy" articles from notes on a Studio Ghibli documentary, "Competitor" articles with YC companies whose landing pages I screenshotted, and pics of 1970s Beatles merch I saved years ago. And it delivers a great answer.
I built a similar system to this a year ago with RAG but it was ass.
A knowledge base that lets an agent find what it needs via a file system it actually understands just works better.
The most magical thing now is as I add new things to my wiki (articles, images of inspo, meeting notes) the system will likely update 2-3 different articles where it feels that context belongs, or, just creates a new article.
It's like this super genius librarian for your brain that's always filing stuff for your perfectly and also let's you easily query the knowledge for tasks useful to you (ex. design, product, writing, etc) and it never gets tired.
I might spend next week productizing this, if that's of interest to you DM me + tell me your usecase!
Mohammed Hasan Goni retweeted
Ever wanted to work through a YouTube video with an AI companion. I wanted this too, so I built it with SolveIt!
Now I have a super-easy way to digest YT videos, pull out individual video frames (plus the relevant context) and have a conversation about them with the LLM. 🔥🤯
Mohammed Hasan Goni retweeted
🔥 Meet dots.ocr-1.5: 3B OCR model from Rednote-hilab , SOTA multilingual document parsing, virtually any writing system.
📊 Elo 1089 on olmOCR-Bench, 1157 on XDocParse — above GLM-OCR, and PaddleOCR-VL-1.5
📄 OmniDocBench text edit 0.031, beats Qwen3-VL-235B (0.069) and Gemini 2.5 Pro (0.075)
🎨 SVG code output for charts, diagrams, and chemical formulas
🌐 Web parsing, scene text spotting, and object counting included
⚡ vLLM supported, single GPU
🤖 Model: modelscope.cn/models/rednote…
🔗 GitHub: github.com/rednote-hilab/dot…
🎠 Demo: dotsocr.xiaohongshu.com



































