Sugato Ray
sugatoray.bsky.social
Sugato Ray
@sugatoray.bsky.social
VP, Data Scientist @Truist

I am a Physicist turned Data Scientist. Deeply passionate about Technical stuff and mostly post about Python, Deep Learning, ML, LLMs, MLOps, DevOps, etc.
Find more on me at https://linktr.ee/sugatoray

Active on LinkedIn.
🎁 Check out this @PyTorch blog showing how to get peak performance using torch.compile + diffusers libraries in Python.

🍀 Blog: pytorch.org/blog/torch-c... torch.compile and Diffusers: A Hands-On Guide to Peak Performance – PyTorch

#PyTorch #torchCompile #diffusers #python
July 18, 2025 at 3:28 AM
✨ Using AI Tools effectively is a skill - a skill you don’t get taught. A skill you acquire with practice and exposure to the technology.

🔥Video: youtu.be/VePxCcF99w4

#vscode #LLMs #ai #aiagents #tooluse #MCP #tipsnadtricks
May 4, 2025 at 12:44 AM
Reposted by Sugato Ray
🔥 The smolagents module has arrived in the agents course!

💻 Code agents optimised for software development
🔧 Tool calling agents that create modular, function-driven workflows
🔍 Retrieval agents designed to access and synthesise information

Course: https://buff.ly/4kcj6Ai
February 25, 2025 at 3:40 PM
Reposted by Sugato Ray
hot take: WebRTC should be ONE line of Python code

introducing FastRTC⚡️ from Gradio!

start now: pip install fastrtc

what you get:
- call your AI from a real phone
- automatic voice detection
- works with ANY model
- instant Gradio UI for testing

this changes everything
February 25, 2025 at 6:08 PM
#Bookmark 🔥 #webrtc #python #pylib #fastrtc
WebRTC with Python library FastRTC

pip install fastrtc
Building real-time WebRTC and Websocket applications is very difficult to get right in Python.

Until now - Introducing FastRTC, the realtime communication library for Python ⚡️

huggingface.co/blog/fastrtc
FastRTC: The Real-Time Communication Library for Python
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
huggingface.co
February 25, 2025 at 11:58 PM
🎉🎉🎉🤗🤗🤗
Hugging Face just entered the top 10 organizations on
@github.com

Close to 500,000 GitHub stars across our open-source libraries!

Couldn't be more proud of what this 220-person team is accomplishing
February 25, 2025 at 11:56 PM
Reposted by Sugato Ray
I thought I knew well how to optimize Python container size until I watched this talk from Matthijs Brouns 👇🏼

www.youtube.com/watch?v=Z1Al...

#docker #python
Matthijs Brouns - 10x smaller docker containers for Data Science | PyData Eindhoven 2020
YouTube video by PyData
www.youtube.com
February 8, 2025 at 5:16 PM
That’s neat! 🎉 Install #duckdb on #MacOS and #Linux with a simple command.

curl install.duckdb.org | sh

Since, I can also see the code of the shell script on the site, I can copy it and save it in a file locally and then run it. However, curl | sh does exactly that!
We're testing a new DuckDB install experience for Linux and MacOS:

curl install.duckdb.org | bash

Happy to hear feedback!
install.duckdb.org
February 8, 2025 at 8:23 PM
🍓 Check out “The Illustrated DeepSeek-R1” by @jayalammar.bsky.social

👉 Blog: open.substack.com/pub/jayalamm...

#ml #LLMs #deepseek
The Illustrated DeepSeek-R1
A recipe for reasoning LLMs
open.substack.com
January 30, 2025 at 5:11 AM
Reposted by Sugato Ray
The newest extremely strong embedding model based on ModernBERT-base is out: `cde-small-v2`. Both faster and stronger than its predecessor, this one tops the MTEB leaderboard for its tiny size!

Details in 🧵
January 14, 2025 at 1:21 PM
Reposted by Sugato Ray
New LLM Eval Office Hours, I discuss the importance of doing error analysis before jumping into metrics and tests

Links to notes in the YT description

youtu.be/ZEvXvyY17Ys?...
LLM Eval Office Hours #3: The Importance Of Starting With Error Analysis
YouTube video by Hamel Husain
youtu.be
December 22, 2024 at 1:10 AM
🔥 #OpenAI o3 model performance makes a leap, sets a new high score on the #ARCAGI benchmark.

Source: arcprize.org/blog/oai-o3-...

#ml #ai #arcagi #benchmark #openai
December 22, 2024 at 3:10 AM
@ollama.bsky.social Python library introduced #FunctionCalling in version 0.4.

Ollama is an AI tool that allows you to run Large Language Models (LLMs) on device (local LLM).

Ollama blog: ollama.com/blog/functio...

#ollama #python #LLMs #ml #ai #localLLM #localai
December 3, 2024 at 2:05 PM
Reposted by Sugato Ray
An Introduction to Polars 🐻‍❄️👇🏼

The Polars workshop from the PyData NYC conference is now available online. This great workshop, by Matt Harrison, focuses on the foundation of Polars 📽️ 👇🏼

www.youtube.com/watch?v=q3o2...

#Python #Data #Polars
Matt Harrison - An Introduction to Polars | PyData NYC 2024
YouTube video by PyData
www.youtube.com
November 30, 2024 at 10:52 PM
Reposted by Sugato Ray
If you're interested in embedding models for retrieval (search), clustering, classification, paraphrase mining, etc., then there's now 10,000 fully free and open source options on @hf.co via Sentence Transformers.

Check out the most popular ones here: huggingface.co/models?libra...
November 29, 2024 at 4:40 PM
Reposted by Sugato Ray
New interval lookup library just hit for Rust, C++ and Python — claims best in class performance! Pretty cool : github.com/kcleal/super...
GitHub - kcleal/superintervals: Fast interval intersection library
Fast interval intersection library. Contribute to kcleal/superintervals development by creating an account on GitHub.
github.com
November 20, 2024 at 3:18 PM
Reposted by Sugato Ray
This Reinforced Knowledge series of Python packaging might be the most comprehensive write-up I've... ever seen?

reinforcedknowledge.com/a-comprehens...
November 20, 2024 at 11:23 PM
Reposted by Sugato Ray
One of the fun things you can do with uvx to just … run python.

Super useful to play around with a python package without having to make a virtualenv somewhere.
November 18, 2024 at 10:49 PM