samadpls (@samadpls) header
samadpls (@samadpls) profile picture

sr. ai engineer | @heyoz_ai ($4m raised) | ex-google soc • ex-linux foundation

Joined November 2021
Photo by samadpls (@samadpls)Photo by samadpls (@samadpls)Photo by samadpls (@samadpls)Photo by samadpls (@samadpls)Photo by samadpls (@samadpls)Photo by samadpls (@samadpls)Photo by samadpls (@samadpls)Photo by samadpls (@samadpls)Photo by samadpls (@samadpls)Photo by samadpls (@samadpls)
I built a tiny 0.6B model that answers questions without writing a single word. probabilities for every option, one forward pass, 640 MB on a laptop. 60% vs 53% for the best small open model. github.com/samadpls/onepass @Alibaba_Qwen @QwenDevs
8
178
two years ago I built BestRAG for hybrid RAG search. It still gets 100+ downloads every month. So I did what everyone does now: rewrote it in @rustlang . Because why not 2.8x faster search, indexes all of the text, real hybrid search. uv add bestrag -> github.com/samadpls/BestRAG
1
4
56
RAG is not dead. just bcs you could remember everything, you would still keep a bookshelf.. Long context changes how we retrieve, not whether we retrieve...
3
42
Voice agents often cut Urdu speakers off mid-sentence, or wait long after they finish. I built baari, an open Urdu turn detector: 77% balanced accuracy on real Urdu calls, vs 73% for the best existing model. 12 ms on CPU, one-line swap in @pipecat_ai github.com/samadpls/baari
2
3
60
Just finished a System Design Masterclass. I got better at estimating traffic, storage, and cost before picking a design. That’s what I’ll take back to work: figuring out where we’ll hit a limit first, what’s worth scaling now, and what can wait. #systemdesign
1
3
79
i fine-tuned two open models on 6,841 @PyTorch forum questions, each paired with the reply that actually fixed it > Phi-4-mini on my MacBook > Qwen 3-8B on a free @kaggle GPU then tested them on 163 newer questions they had never seen.. fine-tuning cut wrong answers in half
2
5
223
2/ how: > LoRA with @UnslothAI , 4-bit, ~0.5% of weights trained > baseline: same models without fine-tuning > an LLM judge graded each answer vs the reply that solved the thread Qwen3-8B wrong answers: 31% to 15% model: huggingface.co/samadpls/torc… code: github.com/samadpls/torchlig…
1
1
53
Special thanks to @ptrblck_de 🙌
1
58
released dataset .. torchlight-threads.. PyTorch forum questions, each paired with the answer that actually solved it. 6,841 questions from 22k threads.. Next step is training a model on it. Dataset: huggingface.co/datasets/sama… Code: github.com/samadpls/torchlig… @huggingface @PyTorch
3
5
108
3/ Unclear cases went to a small LLM for review, and a merged answer only counts if its code appears word for word in the original posts. The split is by date, so the 260 test questions are newer than anything in training. Every row links back to its forum thread.
1
2
21
4/ None of this exists without the @PyTorch forum community and years of patient answers. Thank you. Next post: the model trained on it. .. yeee
1
12
animate-pls now has 20 designs: cutout, clay, comic, linocut, watercolor, terminal and more. Plus reels and edits of your screen recordings. Your agent writes the video in code, on your machine. It can even narrate in your own voice. Even this video. github.com/samadpls/animate-…
1
3
115
samadpls retweeted
After months of work, we're excited to finally launch MedPls! ❤️ An idea that started at a hackathon is now a real app helping families manage medicines, reminders, and prescriptions more easily. 📱 Try it out: medpls.online We'd love your feedback! #AppLaunch #Ai
1
1
4
33
I always wanted a portfolio... but kept putting it off. since I'm not a designer. I asked @ChatGPT Codex to plan UI, Claude did the mechanical work, and I gave feedback. My first portfolio, and I love it. The kid in the stamp (me) follows your cursor. samadpls.com
4
98
Ever wondered why some resumes never get a reply? I opened the Indeed app with REA to see how applications get ranked. One "No" on a must-have screener question can turn an application red before a human ever looks. Tips in the video. Want more teardowns like this?
1
42
samadpls retweeted
When I launched Ask Pakistan, it could search 52 government websites. Today I added 140 more 🎉 It now searches 192 official sites, with 11,849 pages and 1,879 PDFs behind every answer. Finding the right official page for something simple usually means ten open tabs and a broken link or two. That's the problem I'm trying to fix. Some of what's new: • Courts: Sindh, Peshawar and Balochistan High Courts, Federal Shariat Court, Wafaqi Mohtasib, Federal Tax Ombudsman • Police & safety: Islamabad, Karachi, Balochistan, AJK and GB Police, Motorway Police, Punjab Safe Cities, Rescue 1122, NDMA and PDMAs • Education & health: AIOU, NAVTTC, TEVTA, PMDC, DRAP, NIH, school education departments • Utilities: Pakistan Post, WASA Lahore, KWSC, WAPDA, NEPRA, OGRA, PTA • Business & tax: Pakistan Single Window, SMEDA, Board of Investment, Sindh Revenue Board, KP and Punjab Revenue Authorities • Overseas Pakistanis: Ministry of Foreign Affairs, Ministry of Overseas Pakistanis Ask the way you'd ask a friend, in English, Urdu or Roman Urdu 💬 Every answer still links to the official page it came from, so you can double-check it yourself. It's still an independent project I'm building on my own. It isn't run by or connected to the government. I'm just trying to make official information easier to find 🇵🇰 Give it a try and tell me what's missing 🙌
9
24
1
178
6,000
indexing every database field sounds like a good idea. but every index is another structure, often b-tree, that the db has to maintain. reads can get faster. writes get more expensive because inserts, updates, and deletes may also need to update those indexes.
1
46
spent this week around mountains and away from screens. good reminder that life is bigger than ai agents, evals, latency, and whatever else we're optimizing this week. sometimes the best reset is just going somewhere your laptop feels irrelevant.
1
2
100
one interesting design choice in whatsapp is that delivered messages aren't kept forever on whatsapp's servers. once delivered, your phone becomes the main place that chat history lives. if you enable backups, those can go to your google account on android or icloud on iphone. that means whatsapp doesn't have to behave like permanent cloud storage for every delivered conversation. at whatsapp scale, that's a meaningful architectural difference. billions of users generate an enormous amount of text, photos, videos and voice notes. keeping all of that permanently on whatsapp-owned infrastructure would be a very different storage problem. sometimes an important backend decision isn't how to store more data. it's deciding what data your backend doesn't need to own forever.
2
60