r/deeplearning • u/Handwritten_note • 21h ago
r/deeplearning • u/Safe-Escape197 • 12h ago
built a tiny model, somehow 137 people downloaded it, now me and my friend in crime explain algorithms with an AI voice coz ours are not good lol
hey guys
so remember tiny-vision? the tiny model i build for learning only, the one that lets claude kinda "watch" videos. ya that one. when i first uploaded it to huggingface i was like ok maybe 10 download, 5 of them will be me checking if download button works. but here we are at 137 downloads on v1.0 (268 if you count old v0.1 also) and it's still going up daily. bhai i genuinely dont know who you all are but thank you so much 🙏 you all are giving more respect to my 36M param model than my relatives give to my career choice
and it's not just downloads, 8 stars on github also. my mom will be so proud if she knew what github was
if you havent seen it yet:
- huggingface: https://huggingface.co/amartomar683/tiny-vision
- github: https://github.com/amar683/tiny-vision
ok so now the main thing. me and my friend in crime started a channel 😅 two confused engineers, one channel, zero idea what we are doing but we are doing it anyway
Embracing Low Level
- youtube: https://www.youtube.com/@EmbracingLowLevel
- insta: https://www.instagram.com/embracinglowlevel/
what it is:
- we explain algorithms we are learning and stuff we've been building (tiny-vision included)
- all the animations are made with manim (the 3b1b library). before you ask, no we are not 3b1b, combined we are like 0.5b1b on a good day
- the voice is AI, fish audio s2 pro. we tried recording our own voices first, listened once and both agreed the world doesn't deserve that. the AI sounds more confident about the algorithms than both of us combined tbh
- short reels on insta, longer full explanations on youtube
honest disclaimer like last time: we took a lot of help from claude for this too. writing manim scripts, debugging why the animation suddenly flies off screen, all that. so not entirely ours, but the learning part is 100% ours and that's kind of the whole point of the channel. if we can understand it after 4 cups of chai each, you definitely can
also these videos are made by two people who once spent 2 hours debugging only to find out the file was never saved. and we still argue whose fault it was. so if you find any mistake in the explanation please roast us in comments, we will learn and fix it. that's literally why we are doing this yaar
what kind of algorithms or topics would you guys want to see? we are open to suggestions, just don't say "explain transformers in 60 seconds", our manim skills are not that strong yet 💀
thanks again for all the support on tiny-vision, still can't believe it.
r/deeplearning • u/WittyFeral • 11h ago
Tried implementing rotary embeddings from scratch after getting tired of copy-pasting them
For months I kept treating ROPE like a black box in every transformer notebook I touched. The "rotate the queries and keys by position" explanation never stuck, so last weekend I sat down and coded the minimal version in pure PyTorch without any libraries.
The part that surprised me was realizing how the rotation matrix actually preserves relative distances in a way that absolute positional encodings never did. Once the angles started showing up correctly in the attention scores on a tiny toy sequence, a few things about long-context behavior made more sense than any blog post had managed.
I kept the whole thing under 80 lines so I could step through it with prints. No training, just forward passes on dummy data to watch the embeddings rotate. It was slow and manual, but the intuition stuck in a way watching videos never did.
Has anyone else had a similar "l should just code this tiny piece myself" moment with something like SwiGLU, ALiBi, or even basic RMSNorm? What ended up clicking for you that way?
r/deeplearning • u/Old-Entertainer-3808 • 16h ago
Final year project is a mess and I genuinely don't know what to do anymore
I'm a final-year B.Tech student working on Human Activity Recognition using deep learning. My group members barely communicate, don't reply to messages and are always unavailable. Most of their work is AI-generated code that they barely understand.
Our mentor doesn't prefer meeting individual members, and because of the constant coordination issues, we haven't met her in two months. I know I should have contacted her earlier, and I genuinely regret that. I finally reached out today, but she said she's busy and will discuss the work in January. Our presentation is on 10th December, and she'll be evaluating us.
I've been working on my part, but I have several doubts regarding the research methodology and have no one to guide me. I also have semester exams and can't possibly handle the entire project alone.
If anyone has experience with HAR, deep learning or ML research and could help me clarify a few doubts, I'd genuinely appreciate it. I'm not asking anyone to do my project, I just need some guidance because I feel completely lost.
r/deeplearning • u/Hackyard_Team_Assist • 18h ago
Opportunity: win $100 USD + VIP swag by building a dataset with Adaption (free, online, closes Dec 6)
Disclosure: I help run this at Hackyard, so I'm posting as the organizer.
Here is an opportunity to build something real and get it judged. The Adaption Dataset Challenge is online and free, Nov 16 to Dec 6, 2026 (closes 11:59 PM IST).
What you do: build an instruction-tuning dataset for a language or domain that gets little coverage, improve it with Adaption, then show before-and-after evaluation results. What you learn: how to prove a dataset got better, not just collect data.
What you can win: the first-place team gets $100 USD cash and 2 VIP swag boxes (the cash is only for submissions that use Adaption). Every registrant gets $500 in Adaption platform credits (credits, not cash).
Teams of 1 to 4, solo is fine, 18+. Details and registration: https://hackyard.org/events/adaption-labs
Dates are planned and may change. Happy to answer questions here.
r/deeplearning • u/low-control-labs • 20h ago
YOLO26 / YOLOE in cpp. CPU with GPU offloading
github.comThe app is actually with my own pure C system. This one is built on top of ggml / llama.cpp. It's better on PC plus it has the llama.cpp GPU offloading ( all GPUs ) . I need to fix some threading issues then I'll upload the app using this system to the repo.
r/deeplearning • u/camerongreen95 • 1h ago
What happens to an ML model after it performs well during experimentation?
hey everyone, sharing this here because the engineering side of machine learning deployment deserves more attention.
a model can perform really well during experimentation, but deploying it introduces a different set of challenges.
you need to make sure the model can be reproduced, validated, monitored and maintained when it starts receiving real-world data.
some areas that deserve particular attention:
- reproducible training and inference pipelines
- validating models on representative datasets
- detecting changes in incoming data
- monitoring deployed model performance
- identifying when a model needs investigation or retraining
- building usable applications around trained models
Related to this I also came across a Packt workshop on Production ML Engineering happening December 5.
it covers practical deployment and monitoring, with implementation using scikit-learn, XGBoost, LightGBM, CatBoost and Streamlit.
thought this might be useful for people interested in taking ML models beyond experimentation.
Full workshop details and agenda
curious how others here handle model monitoring once a model is deployed.
r/deeplearning • u/Handwritten_note • 1h ago
Generative AI Handwritten Notes (Free Today)
galleryFree Today Amazon KIndle : Click here
Free India Amazon Kindle : Click here
Understand how Generative AI works, from the math up, and build real applications with it.
Generative AI is changing how we write, code, design and search. Most resources either stay at the buzzword level or bury you in research papers. This short Computer Science textbook sits in between. It explains the core ideas clearly and backs every concept with working code.
You start with probability, maximum likelihood and KL divergence, then neural networks. From there, the book walks through every major family of generative models:
- Autoencoders and VAEs: latent spaces, the ELBO, the reparameterization trick, β-VAE and VQ-VAE
- GANs: DCGAN, WGAN-GP, Conditional GAN, Pix2Pix, CycleGAN and StyleGAN, plus how to fix mode collapse and how to score models with FID
- Diffusion models: DDPM, DDIM, U-Net denoisers, Stable Diffusion, classifier-free guidance, ControlNet and flow matching
- Transformers and LLMs: tokenization, attention, scaling laws, decoding strategies, CLIP, the KV cache and quantization
Then you put it all to work with LangChain: prompt engineering, LCEL chains, structured output, memory, Retrieval-Augmented Generation (RAG), AI agents, fine-tuning, evaluation, guardrails and responsible AI.
Hands-on projects include:
- An LLM agent that drives a GAN
- A prompt enhancer for Stable Diffusion
- A study-buddy chatbot
- A "Chat With Your PDFs" RAG app
Who it's for: CS and engineering students, developers moving into AI, and anyone preparing for ML interviews or courses. Basic Python is enough to begin.
Happy Learning !!
r/deeplearning • u/ObeyDesiree • 8h ago
Coded a minimal KV cache by hand in 40 lines of PyTorch just to watch how it actually grows during generation
I kept seeing "KV cache saves compute" in every inference paper and notebook but never had a clear picture of the actual tensor shapes moving around step by step. Last weekend I wrote the smallest possible decoder loop (no training, just forward passes on dummy tokens) that manually maintains and appends to the key/value cache at each new token.
The thing that finally made sense was seeing exactly how the cache size scales with batch, heads, and head_dim versus sequence length, and why the first token is so much more expensive than the rest. Printing the shapes at every step also showed where the memory jump happens when you cross certain context lengths.
Kept the whole thing under 40 lines so I could step through it with prints instead of treating the cache as magic. Has anyone else done a similar tiny reimplementation for something like the attention mask logic, RoPE application during caching, or even just the logits-to-next-token sampling path? What detail only became obvious once you wrote the loop yourself?
r/deeplearning • u/No-Conclusion3720 • 8h ago
Hackers exploit critical WordPress WP Rocket flaw to breach sites
A critical vulnerability in WP Rocket, one of the most widely installed WordPress caching plugins, was actively exploited before most site operators had patched. WP Rocket has over 3 million active installs. Attackers used the flaw to gain unauthorized access to site environments and the data those environments held.
The uncomfortable part is not the plugin flaw itself. Plugin vulnerabilities ship constantly across every ecosystem. The uncomfortable part is what happens after: sensitive fields — user records, credentials, payment-adjacent data — are sitting in plaintext wherever that plugin can reach. Patch latency on a plugin with 3 million installs is measured in days to weeks, not hours. That window is the exposure.
Perimeter and authentication controls did not stop this. The plugin had legitimate access. Once the plugin was compromised, that access became the attacker's access. There was no second layer checking where the data was allowed to go or logging what actually moved.
This is not unique to WordPress or WP Rocket. Any system where sensitive fields travel or rest in plaintext through third-party code layers has this shape of risk.
For those running production systems with real PII exposure: what does your actual data-layer protection look like before data hits a plugin, cache, or third-party integration? Not the perimeter — the field level. Curious what approaches have held up in practice.
r/deeplearning • u/ZafLoria • 10h ago
Coded a minimal from-scratch version of grouped-query attention just to watch the KV cache behavior
I kept reading papers that switched to GQA for inference speed and kept nodding along without really grasping how the grouping actually changes the cache footprint during generation. Last weekend I wrote the smallest possible PyTorch version (under 60 lines, no external libs) that only does the forward pass on dummy sequences so I could print shapes and watch what gets cached at each step.
The part that finally clicked was seeing exactly how many unique key/value heads get reused across query heads and how that compounds with longer contexts. It also made the trade-off with full multi-head attention much more concrete than any diagram had.
I kept everything deliberately tiny so I could step through it with prints instead of treating it as a black box. Has anyone else done something similar with a small piece like this (maybe ROPE variants or sliding window attention) where writing the minimal code made the memory or speed difference obvious in a way reading never did?
r/deeplearning • u/toastyMallow18 • 11h ago
I built a lightweight interactive demo to step through convolution and pooling on your own images
When first trying to build intuition for convolutional neural networks beyond static textbook diagrams, tweaking a $3 \times 3$ kernel or adjusting stride on an actual photo to watch which pixel values survive pooling felt way harder than it needed to be. Most tutorials required spinning up a full Python environment or Jupyter notebook just to experiment with simple filter weights and see how edge detection or blurring behaves step by step.
To make that feedback loop instant, I put together a small static web page where you can upload any image, adjust kernel size, stride, and padding, toggle between max and average pooling, and inspect both the resulting feature map and the raw tensor numbers updating live in real time. There is nothing to install, no GPU dependency, and it runs smoothly right in a mobile browser.
The whole thing is just a few hundred lines of vanilla JavaScript and HTML5 Canvas, so the source is easy to inspect, tweak, or fork if you want to add custom filters or activation functions. Link is in the comments for anyone who wants to play around with it.
What small visual tools or interactive sandboxes helped a neural network layer finally click for you the first time? Curious which concepts—like backprop, attention heads, or receptive fields—became much easier once you could actually watch the numbers move.
r/deeplearning • u/No-Conclusion3720 • 12h ago
Japan's largest power company JERA hacked, operations unaffected
Japan's largest power company JERA confirmed a breach last week. Operations were unaffected. The compromised system belonged to a third-party vendor, not JERA's own infrastructure.
That detail is the whole story. JERA's perimeter held. A vendor holding their data did not.
Third-party vendor incidents now account for the majority of critical-infrastructure data exposures. The primary organization often has no technical visibility into what form their data exists in once it has moved to a vendor environment. If that vendor is breached, the exposure depends entirely on decisions the vendor made, not the data owner.
The uncomfortable part: the breach path here was a sanctioned, authorized relationship. The vendor had the data because they were supposed to. The attacker exploited legitimate access, not a hole in JERA's own systems. That makes the standard perimeter-hardening conversation mostly irrelevant to this class of incident.
For people working in OT security, third-party risk, or data governance: once sensitive data leaves your environment for a vendor, what actually governs its exposure surface on the other side? And how do you know?
r/deeplearning • u/Handwritten_note • 15h ago
Bahdanau vs Luong Attention
Source : Deep Learning handwritten notes
r/deeplearning • u/Ok-Rice-7405 • 15h ago
New Town Hall in Clash of Clans, so I labelled it in my segmentation dataset
I've been building a segmentation dataset from Clash of Clans screens for a while, and when the new Town Hall (TH19) dropped I figured the dataset should have it too. So it's labelled now, same polygon style as everything else on screen.
The image is a real frame with its labels next to it. If anyone's curious, there's a free sample and a viewer where you can click around the masks:
https://huggingface.co/datasets/nihatxp/clash-of-clans-screen-segmentation-sample
https://huggingface.co/spaces/nihatxp/coc-dataset-viewer
Feedback on label quality is very welcome, it's the part I care about most
r/deeplearning • u/Jumpy_Comparison_951 • 4h ago
Vision Transformers are too computationally expensive for phones. New research makes them up to 10x cheaper.
youtube.comA new paper, Active Vision Transformers, explores a different approach to running vision models efficiently on devices like smartphones.
I put together a short breakdown explaining how the approach works, the results, and what they actually mean.
Watch here: https://www.youtube.com/watch?v=j6g4Ln1-Gds
r/deeplearning • u/Joy0x1 • 5h ago
Rill: Rust-powered neighbor sampling for PyTorch GNNs - a quick demo
Hey everyone!
I've been working on an open-source project called Rill, and I put together a short video demonstrating how it works.
Rill is a Rust-powered library focused on graph data loading and neighbor sampling for Graph Neural Networks, with Python and PyTorch integration.
The motivation behind the project was to explore whether Rust could make graph ML data-loading workloads more efficient without sacrificing the familiar Python workflow.
Some things I've been working on:
- Rust-powered core implementation
- Python integration using PyO3
- Parallel execution with Rayon
- Integration with the PyTorch ecosystem
- Benchmarks against PyG's NeighborLoader, including batch loading, end-to-end training, and memory usage
I've published the package on PyPI as well.
Links:
I've included a short demo video to show the workflow.
I'd appreciate feedback, especially from people experienced with Rust, PyTorch Geometric, or GNN infrastructure.
I'm particularly interested in feedback on the benchmarking methodology, API design, and potential improvements.