Derrick retweeted
Documentary studios won't like this.
I gave Claude one message.
It researched, wrote, voiced, and directed a 10-minute documentary: 103 shots, 64 motion graphics, real footage.
475 credits. 85 minutes. No editor.
Works in Claude, ChatGPT, Codex, or any MCP agent 👇
Derrick retweeted
How does an LLM learn reasoning from one example? @mwitiderrick dives into the surprising world of 1-shot RLVR, revealing the power of policy gradients, entropy exploration, and post-saturation generalization.
towardsdatascience.com/rl-fr…
Derrick retweeted
Learn how to run large language models on CPUs accurately and efficiently using state-of-the-art sparsification and quantization techniques.
Do you listen to podcasts? We have a new suggestion!
Our co-founder @nir_shavit spoke to Ben Lorica (@bigdata) on ways to deliver efficient LLM inference on ordinary CPU hardware.
The episode dropped today! Tune in here: thedataexchange.media/prunin…
Derrick retweeted
Detecting small objects with computer vision models is challenging.
This is because they occupy a few pixels in the entire image.
However, the SAHI technique makes it possible to detect small objects using various models such as YOLOv5.
SAHI is a generic slicing-aided fine-tuning and inference pipeline that you can use on top of any object detector without the requirement to fine-tune the model or change its architecture.
Slicing-aided fine-tuning works by extracting patches from images and making them bigger. At inference, SAHI divides the image into smaller patches and makes predictions from the bigger versions of the patches. The predictions are then converted to the original image coordinates after non-maximum suppression (NMS).
In the video below, I used Supervision which now supports SAHI and YOLOv5 to detect small objects with accelerated inference on CPUs offered by DeepSparse.
Follow @themwiti if you are interested in seeing more computer vision demos.
Links on how to use Supervision in the next tweet.
Derrick retweeted
Porting YOLO to PyTorch from DarkNet was a game changer in the computer vision world.
YOLOv5 is arguably the most popular object detection model today, as a result.
However, deploying it for real-time inference will still require reducing its size.
There are 2 strategies for doing this:
1. Train a custom object detection model with Ultralytics and then make it smaller for deployment. This can be achieved through training-aware sparsification that leads to recovery of most of the accuracy. It is done by taking the dense model and training while applying a set of sparsification hyperparameters.
2. Sparse transfer learning. This is similar to transfer learning but instead of using a dense YOLOv5 model, you will use a sparse YOLOv5 model. The model has already been fine-tuned on a downstream task using a dataset such as VOC. This strategy leads to a sparse YOLOv5 model.
In this video, I walk through how to reduce the size of a YOLOv5 model using @neuralmagic's SparseML and how to deploy the resulting model on CPUs using DeepSparse.
You can prepare the object detection dataset manually, however, in this case, we will use a dataset from the Roboflow Universe. @roboflow allows you to annotate and download computer vision datasets in various formats.
We will first look at training the YOLOv5 on the red blood cells dataset. After that, we look at how to make the model smaller for deployment by sparsifying it using SparseML.
Sparsification can be done through pruning and quantization. Pruning removes unnecessary weights and activations from an over-parameterized network, leading to a smaller model, while quantization reduces the precision of the values in the network.
Later, I show how to use a YOLOv5 model that has already been sparsified to leverage the previous pruning process instead of starting from scratch.
Derrick retweeted
🪄 @neuralmagic DeepSparse LLM
DeepSparse by @neuralmagic supports running various open-source sparsified models hosted on SparseZoo for performance gains on CPUs
s/o to @mgoin_ for the new integration!
Docs: python.langchain.com/docs/in…
Derrick retweeted
If you liked these resources, sign up for my FREE newsletter to get ML technical dives in your inbox
machinelearningnuggets.com/#…
Derrick retweeted
Scikit-learn is one of the most popular machine learning libraries🤖.
Numerous libraries are built on top of Scikit-learn to make it easy to build and tune ML models.
Here are the top 5🔥:
--A Thread--
🧵
Derrick retweeted
You can't avoid NumPy if you are learning machine learning.
Here's an ULTIMATE guide🔥:
👇
Derrick retweeted
Neural Magic’s DeepSparse Runtime is now available in the AWS Marketplace!
Get GPU-class performance on regular EC2 instances.
Read our launch blog to learn how easy it is to deploy CV and NLP models with just a few clicks.
neuralmagic.com/blog/neural-…
Derrick retweeted
Visualizing image generation with stable diffusion between two interpolated text prompts with Keras CV.
Achieved sampling a point in the latent space and incrementally changing the latent representation.
Notebook by @fchollet keras.io/examples/generative…
Derrick retweeted
Join us at the virtual AWS Startup Showcase on March 9. We’ll be in the company of AI/ML startups building foundation model infrastructure. Learn from an exclusive speaker lineup from @awscloud, @anyscalecompute, @astronomerio, @octoml, @roboflow, @huggingface
Free reg. 👇
Derrick retweeted
Generative AI 101 🚀
Generative models such as stable diffusion have taken the world by storm 🔥.
Here's how they work:
🧵👇🏻
Derrick retweeted
Reminder, tomorrow! Learn how to improve #YOLOv5 & #YOLOv8 deployment! @ultralytics has found that 22% of you have experienced the most trouble at the end of the ML pipeline: deployment. We'll show you how to remedy this problem! RSVP via LinkedIn 👇
linkedin.com/events/ultralyt…
Derrick retweeted
You must install 3 npm packages in your career to see long term growth!
npm install -g patience
npm install -g practice
npm install -g collaboration
npm install -g helping others














