Trending
Sugato Ray's Avatar

Sugato Ray

@sugatoray

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.

21
Followers
57
Following
14
Posts
28.08.2024
Joined
Posts Following

Latest posts by Sugato Ray @sugatoray

Post image

🏎️ You can perform 200ms search over 40 million texts using just a CPU server, 8GB of RAM, and 45GB of disk space.

The trick: Binary search with int8 rescoring.

I'll show you a demo & how it works in the 🧡:

06.01.2026 19:56 πŸ‘ 19 πŸ” 1 πŸ’¬ 1 πŸ“Œ 1
Post image

🎁 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

18.07.2025 03:28 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Agent mode tools in VS Code
Agent mode tools in VS Code YouTube video by Visual Studio Code

⚑️ YouTube Video: youtu.be/VePxCcF99w4?...

@vscode.dev @anthropic.com #mcp #vscode #aiagents #tooluse

04.05.2025 00:46 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
LinkedIn This link will take you to a page that’s not on LinkedIn

πŸ€ Note: you can use Ollama as an option for Local Private LLM along with GitHub Copilot. By default copilot uses β€œOpenAI” models. But you can choose other providers or use Ollama for local LLMs.

Have fun. Time to get creative now! πŸŽ‰

πŸ”₯Video: lnkd.in/g2KjDysw

04.05.2025 00:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

🎁 Check out the video on how to use Tools with Agent Mode in Visual Studio Code (#VSCode).
It also covers:
- Promot Boost (a VSCode extension to improve your prompts on the fly while you use copilot)
- How to use MCP

04.05.2025 00:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

🌏 What was β€œgoogling” back since 2005 until 2025, as a must have skill, will become layered by the skill to effectively use AI for while collar jobs by 2030 (or, may be sooner).

πŸ“ But how do you learn such a skill? By applying it and playing with it.

04.05.2025 00:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

✨ 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

04.05.2025 00:44 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

πŸ”₯ 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

25.02.2025 15:40 πŸ‘ 6 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Post image

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

25.02.2025 18:08 πŸ‘ 8 πŸ” 2 πŸ’¬ 1 πŸ“Œ 0

#Bookmark πŸ”₯ #webrtc #python #pylib #fastrtc
WebRTC with Python library FastRTC

pip install fastrtc

25.02.2025 23:58 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

πŸŽ‰πŸŽ‰πŸŽ‰πŸ€—πŸ€—πŸ€—

25.02.2025 23:56 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

πŸ‘πŸ‘ I also liked the fact that the installation checks for successful installation of duckdb by running β€œSELECT 42” and if it does not return 42 as a result, that means duckdb was not installed.

08.02.2025 20:25 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I also liked the fact that the installation checks for successful installation of duckdb by running β€œSELECT 42” and if it does not return 42 as a result, that means duckdb was not installed.

08.02.2025 20:25 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Matthijs Brouns - 10x smaller docker containers for Data Science | PyData Eindhoven 2020
Matthijs Brouns - 10x smaller docker containers for Data Science | PyData Eindhoven 2020 YouTube video by PyData

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

08.02.2025 17:16 πŸ‘ 13 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0

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 <url> | sh does exactly that!

08.02.2025 20:23 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
The Illustrated DeepSeek-R1 A recipe for reasoning LLMs

πŸ“ Check out β€œThe Illustrated DeepSeek-R1” by @jayalammar.bsky.social

πŸ‘‰ Blog: open.substack.com/pub/jayalamm...

#ml #LLMs #deepseek

30.01.2025 05:11 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

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 🧡

14.01.2025 13:21 πŸ‘ 31 πŸ” 7 πŸ’¬ 1 πŸ“Œ 1
LLM Eval Office Hours #3: The Importance Of Starting With Error Analysis
LLM Eval Office Hours #3: The Importance Of Starting With Error Analysis YouTube video by Hamel Husain

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?...

22.12.2024 01:10 πŸ‘ 26 πŸ” 6 πŸ’¬ 1 πŸ“Œ 0
Post image

πŸ”₯ #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

22.12.2024 03:10 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

@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

03.12.2024 14:05 πŸ‘ 5 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Matt Harrison - An Introduction to Polars | PyData NYC 2024
Matt Harrison - An Introduction to Polars | PyData NYC 2024 YouTube video by PyData

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

30.11.2024 22:52 πŸ‘ 41 πŸ” 7 πŸ’¬ 2 πŸ“Œ 0
Post image

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...

29.11.2024 16:40 πŸ‘ 32 πŸ” 7 πŸ’¬ 2 πŸ“Œ 1
Preview
GitHub - kcleal/superintervals: Fast interval intersection library Fast interval intersection library. Contribute to kcleal/superintervals development by creating an account on GitHub.

New interval lookup library just hit for Rust, C++ and Python β€” claims best in class performance! Pretty cool : github.com/kcleal/super...

20.11.2024 15:18 πŸ‘ 42 πŸ” 9 πŸ’¬ 4 πŸ“Œ 0
"A Comprehensive Guide to Python Project Management and Packaging Concepts Illustrated with uv"

"A Comprehensive Guide to Python Project Management and Packaging Concepts Illustrated with uv"

This Reinforced Knowledge series of Python packaging might be the most comprehensive write-up I've... ever seen?

reinforcedknowledge.com/a-comprehens...

20.11.2024 23:23 πŸ‘ 67 πŸ” 8 πŸ’¬ 4 πŸ“Œ 1
Post image

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.

18.11.2024 22:44 πŸ‘ 77 πŸ” 4 πŸ’¬ 4 πŸ“Œ 0