Machine Learning with Python – Telegram
Machine Learning with Python
68.4K subscribers
1.31K photos
96 videos
170 files
964 links
Learn Machine Learning with hands-on Python tutorials, real-world code examples, and clear explanations for researchers and developers.

Admin: @HusseinSheikho || @Hussein_Sheikho
Download Telegram
🚀Stanford just completed a must-watch for anyone serious about AI:

🎓 “𝗖𝗠𝗘 𝟮𝟵𝟱: 𝗧𝗿𝗮𝗻𝘀𝗳𝗼𝗿𝗺𝗲𝗿𝘀 & 𝗟𝗮𝗿𝗴𝗲 𝗟𝗮𝗻𝗴𝘂𝗮𝗴𝗲 𝗠𝗼𝗱𝗲𝗹𝘀” is now live entirely on YouTube and it’s pure gold.

If you’re building your AI career, stop scrolling.
This isn’t another surface-level overview. It’s the clearest, most structured intro to LLMs you could follow, straight from the Stanford Autumn 2025 curriculum.

📚 𝗧𝗼𝗽𝗶𝗰𝘀 𝗰𝗼𝘃𝗲𝗿𝗲𝗱 𝗶𝗻𝗰𝗹𝘂𝗱𝗲:
• How Transformers actually work (tokenization, attention, embeddings)
• Decoding strategies & MoEs
• LLM finetuning (LoRA, RLHF, supervised)
• Evaluation techniques (LLM-as-a-judge)
• Optimization tricks (RoPE, quantization, approximations)
• Reasoning & scaling
• Agentic workflows (RAG, tool calling)

🧠 My workflow: I usually take the trannoscripts, feed them into NotebookLM, and once I’ve done the lectures, I replay them during walks or commutes. That combo works wonders for retention.

🎥 Watch these now:

- Lecture 1: https://lnkd.in/dDER-qyp
- Lecture 2: https://lnkd.in/dk-tGUDm
- Lecture 3: https://lnkd.in/drAPdjJY
- Lecture 4: https://lnkd.in/e_RSgMz7
- Lecture 5: https://lnkd.in/eivMA9pe
- Lecture 6: https://lnkd.in/eYwwwMXn
- Lecture 7: https://lnkd.in/eKwkEDXV
- Lecture 8: https://lnkd.in/eEWvyfyK
- Lecture 9: https://lnkd.in/euiKRGaQ

🗓 Do yourself a favor for this 2026: block 2-3 hours per week / llectue and go through them.

If you’re in AI — whether building infra, agents, or apps — this is the foundational course you don’t want to miss.

Let’s level up.
https://news.1rj.ru/str/CodeProgrammer 😅
Please open Telegram to view this post
VIEW IN TELEGRAM
8👍2
Forwarded from Code With Python
Automatic translator in Python!

We translate a text in a few lines using deep-translator. It supports dozens of languages: from English and Russian to Japanese and Arabic.

Install the library:
pip install deep-translator


Example of use:
from deep_translator import GoogleTranslator

text = "Hello, how are you?"
result = GoogleTranslator(source="ru", target="en").translate(text)

print("Original:", text)
print("Translation:", result)


Mass translation of a list:
texts = ["Hello", "What's your name?", "See you later"]
for t in texts:
    print("→", GoogleTranslator(source="ru", target="es").translate(t))


🔥 We get a mini-Google Translate right in Python: you can embed it in a chatbot, use it in notes, or automate work with the API.

🚪 @DataScience4
Please open Telegram to view this post
VIEW IN TELEGRAM
14👍1🔥1
In scientific work, the most time is spent on reading articles, data, and reports.

On GitHub, there is a collection called Awesome AI for Science -»»» a catalog of AI tools for all stages of research.

Inside:

-» working with literature
-» data analysis
-» turning articles into posters
-» automating experiments
-» tools for biology, chemistry, physics, and other fields

GitHub: http://github.com/ai-boost/awesome-ai-for-science

The list includes Paper2Poster, MinerU, The AI Scientist, as well as articles, datasets, and frameworks.
In fact, this is a complete set of tools for AI support in scientific research.

👉 https://news.1rj.ru/str/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
7👍1🎉1
Please open Telegram to view this post
VIEW IN TELEGRAM
15👍5
This GitHub repository is not a dump of tutorials.

Inside, there are 28 production-ready AI projects that can be used.

What's there:

Machine learning projects
→ Airbnb price forecasting
→ Air ticket cost calculator
→ Student performance tracker

AI for medicine
→ Chest disease detection
→ Heart disease prediction
→ Diabetes risk analysis

Generative AI applications
→ Live chatbot on Gemini
→ Medical assistant tool
→ Document analysis tool

Computer vision projects
→ Hand tracking system
→ Drug recognition app
→ OpenCV implementations

Data analysis dashboards
→ E-commerce analytics
→ Restaurant analytics
→ Cricket statistics tracker

And 10 more advanced projects coming soon:
→ Deepfake detection
→ Brain tumor classification
→ Driver drowsiness alert system

This is not just a collection of code files.
These are end-to-end working applications.

View the repository 😲
https://github.com/KalyanM45/AI-Project-Gallery

👉 @codeprogrammer

Like and Share
Please open Telegram to view this post
VIEW IN TELEGRAM
14👍2🎉1
transformer Q&A.pdf
1.3 MB
𝐇𝐞𝐫𝐞’𝐬 𝐚 𝐪𝐮𝐢𝐜𝐤 𝐛𝐫𝐞𝐚𝐤𝐝𝐨𝐰𝐧 𝐟𝐫𝐨𝐦 𝐭𝐡𝐞 𝐭𝐨𝐩 𝐓𝐫𝐚𝐧𝐬𝐟𝐨𝐫𝐦𝐞𝐫𝐬 𝐈𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰 𝐐𝐮𝐞𝐬𝐭𝐢𝐨𝐧𝐬 🔥👇⁣⁣
⁣⁣
𝘞𝘩𝘢𝘵 𝘪𝘴 𝘢 𝘛𝘳𝘢𝘯𝘴𝘧𝘰𝘳𝘮𝘦𝘳 𝘢𝘯𝘥 𝘸𝘩𝘺 𝘸𝘢𝘴 𝘪𝘵 𝘪𝘯𝘵𝘳𝘰𝘥𝘶𝘤𝘦𝘥?⁣⁣
𝘐𝘵 𝘴𝘰𝘭𝘷𝘦𝘥 𝘵𝘩𝘦 𝘭𝘪𝘮𝘪𝘵𝘢𝘵𝘪𝘰𝘯𝘴 𝘰𝘧 𝘙𝘕𝘕𝘴 & 𝘓𝘚𝘛𝘔𝘴 𝘣𝘺 𝘶𝘴𝘪𝘯𝘨 𝘴𝘦𝘭𝘧-𝘢𝘵𝘵𝘦𝘯𝘵𝘪𝘰𝘯, 𝘦𝘯𝘢𝘣𝘭𝘪𝘯𝘨 𝘱𝘢𝘳𝘢𝘭𝘭𝘦𝘭 𝘱𝘳𝘰𝘤𝘦𝘴𝘴𝘪𝘯𝘨 𝘢𝘯𝘥 𝘤𝘢𝘱𝘵𝘶𝘳𝘪𝘯𝘨 𝘭𝘰𝘯𝘨-𝘳𝘢𝘯𝘨𝘦 𝘥𝘦𝘱𝘦𝘯𝘥𝘦𝘯𝘤𝘪𝘦𝘴 𝘭𝘪𝘬𝘦 𝘯𝘦𝘷𝘦𝘳 𝘣𝘦𝘧𝘰𝘳𝘦!⁣⁣
⁣⁣
𝘚𝘦𝘭𝘧-𝘈𝘵𝘵𝘦𝘯𝘵𝘪𝘰𝘯 – 𝘛𝘩𝘦 𝘮𝘢𝘨𝘪𝘤 𝘣𝘦𝘩𝘪𝘯𝘥 𝘪𝘵⁣⁣
𝘌𝘷𝘦𝘳𝘺 𝘸𝘰𝘳𝘥 𝘶𝘯𝘥𝘦𝘳𝘴𝘵𝘢𝘯𝘥𝘴 𝘪𝘵𝘴 𝘤𝘰𝘯𝘵𝘦𝘹𝘵 𝘪𝘯 𝘳𝘦𝘭𝘢𝘵𝘪𝘰𝘯 𝘵𝘰 𝘰𝘵𝘩𝘦𝘳𝘴—𝘮𝘢𝘬𝘪𝘯𝘨 𝘦𝘮𝘣𝘦𝘥𝘥𝘪𝘯𝘨𝘴 𝘴𝘮𝘢𝘳𝘵𝘦𝘳 𝘢𝘯𝘥 𝘮𝘰𝘥𝘦𝘭𝘴 𝘮𝘰𝘳𝘦 𝘤𝘰𝘯𝘵𝘦𝘹𝘵-𝘢𝘸𝘢𝘳𝘦.⁣⁣
⁣⁣
𝘔𝘶𝘭𝘵𝘪-𝘏𝘦𝘢𝘥 𝘈𝘵𝘵𝘦𝘯𝘵𝘪𝘰𝘯 – 𝘚𝘦𝘦𝘪𝘯𝘨 𝘧𝘳𝘰𝘮 𝘮𝘶𝘭𝘵𝘪𝘱𝘭𝘦 𝘢𝘯𝘨𝘭𝘦𝘴⁣⁣
𝘋𝘪𝘧𝘧𝘦𝘳𝘦𝘯𝘵 𝘢𝘵𝘵𝘦𝘯𝘵𝘪𝘰𝘯 𝘩𝘦𝘢𝘥𝘴 𝘧𝘰𝘤𝘶𝘴 𝘰𝘯 𝘥𝘪𝘧𝘧𝘦𝘳𝘦𝘯𝘵 𝘳𝘦𝘭𝘢𝘵𝘪𝘰𝘯𝘴𝘩𝘪𝘱𝘴 𝘪𝘯 𝘵𝘩𝘦 𝘥𝘢𝘵𝘢. 𝘐𝘵’𝘴 𝘭𝘪𝘬𝘦 𝘩𝘢𝘷𝘪𝘯𝘨 𝘮𝘶𝘭𝘵𝘪𝘱𝘭𝘦 𝘦𝘹𝘱𝘦𝘳𝘵𝘴 𝘢𝘯𝘢𝘭𝘺𝘻𝘦 𝘵𝘩𝘦 𝘴𝘢𝘮𝘦 𝘪𝘯𝘧𝘰𝘳𝘮𝘢𝘵𝘪𝘰𝘯!⁣⁣
⁣⁣
𝘗𝘰𝘴𝘪𝘵𝘪𝘰𝘯𝘢𝘭 𝘌𝘯𝘤𝘰𝘥𝘪𝘯𝘨 – 𝘛𝘦𝘢𝘤𝘩𝘪𝘯𝘨 𝘵𝘩𝘦 𝘮𝘰𝘥𝘦𝘭 𝘰𝘳𝘥𝘦𝘳 𝘮𝘢𝘵𝘵𝘦𝘳𝘴⁣⁣
𝘚𝘪𝘯𝘤𝘦 𝘛𝘳𝘢𝘯𝘴𝘧𝘰𝘳𝘮𝘦𝘳𝘴 𝘥𝘰𝘯’𝘵 𝘱𝘳𝘰𝘤𝘦𝘴𝘴 𝘥𝘢𝘵𝘢 𝘴𝘦𝘲𝘶𝘦𝘯𝘵𝘪𝘢𝘭𝘭𝘺, 𝘵𝘩𝘪𝘴 𝘵𝘳𝘪𝘤𝘬 𝘦𝘯𝘴𝘶𝘳𝘦𝘴 𝘵𝘩𝘦𝘺 “𝘬𝘯𝘰𝘸” 𝘵𝘩𝘦 𝘱𝘰𝘴𝘪𝘵𝘪𝘰𝘯 𝘰𝘧 𝘦𝘢𝘤𝘩 𝘵𝘰𝘬𝘦𝘯.⁣⁣
⁣⁣
𝘓𝘢𝘺𝘦𝘳 𝘕𝘰𝘳𝘮𝘢𝘭𝘪𝘻𝘢𝘵𝘪𝘰𝘯 – 𝘚𝘵𝘢𝘣𝘪𝘭𝘪𝘻𝘪𝘯𝘨 𝘵𝘩𝘦 𝘭𝘦𝘢𝘳𝘯𝘪𝘯𝘨 𝘱𝘳𝘰𝘤𝘦𝘴𝘴⁣⁣
𝘐𝘵 𝘴𝘱𝘦𝘦𝘥𝘴 𝘶𝘱 𝘵𝘳𝘢𝘪𝘯𝘪𝘯𝘨 𝘢𝘯𝘥 𝘢𝘷𝘰𝘪𝘥𝘴 𝘷𝘢𝘯𝘪𝘴𝘩𝘪𝘯𝘨 𝘨𝘳𝘢𝘥𝘪𝘦𝘯𝘵𝘴, 𝘭𝘦𝘵𝘵𝘪𝘯𝘨 𝘮𝘰𝘥𝘦𝘭𝘴 𝘨𝘰 𝘥𝘦𝘦𝘱𝘦𝘳 𝘢𝘯𝘥 𝘭𝘦𝘢𝘳𝘯 𝘣𝘦𝘵𝘵𝘦𝘳.⁣⁣

👉 @codeprogrammer

Like and Share 👍
Please open Telegram to view this post
VIEW IN TELEGRAM
8👍3👏1🎉1
Forwarded from Code With Python
A cheat sheet about functions and techniques in Python: shows useful built-in functions, working with iterators, strings, and collections, as well as popular tricks with unpacking, zip, enumerate, map, filter, and dictionaries

@DataScience4
9
Convert complex regular expressions into readable Python code with Pregex

Templates like [a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,} look intimidating and are hard to read. It's challenging for a team without experience in regular expressions to understand and modify such validations.

Pregex converts regular expressions into clear Python code from denoscriptive components.

What you get:
• The code itself explains the intent, even without comments
• You can modify it without knowledge of regular expressions
• You can compose patterns for complex validation
• If necessary, you can export it back to a regular regex

The tool is open source. Installation: pip install pregex

Full article: https://bit.ly/3IWAE5O
Run this code: https://bit.ly/4hdQjKM

👉 @codeprogrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
5👍1
Create a perfect resume without messing with templates.

You write content in YAML and generate a PDF.

The project is called RenderCV, and it's open-source
https://github.com/rendercv/rendercv


👉 https://news.1rj.ru/str/DataScienceN
Please open Telegram to view this post
VIEW IN TELEGRAM
12🔥1
Forwarded from Code With Python
Checking the reliability of a password with Python!

Sometimes you need to quickly check how secure a password is. Let's look at a simple example using regular expressions - a good opportunity to practice with re and conditional logic.

Import the module:
import re


Create a password check function:
def check_password_strength(password):
    length = len(password) >= 8
    upper = re.search(r"[A-Z]", password)
    lower = re.search(r"[a-z]", password)
    digit = re.search(r"\d", password)
    special = re.search(r"[@$!%*?&]", password)

    if all([length, upper, lower, digit, special]):
        return " Reliable password"
    else:
        return "⚠️ Weak password"


Check a few examples:
print(check_password_strength("Qwerty123"))
print(check_password_strength("Qw!8zYt@1"))


Output example:
⚠️ Weak password  
Reliable password


🔥 Example of how to check a string for compliance with several conditions using code - and practice with regular expressions.

🚪 @DataScience4
Please open Telegram to view this post
VIEW IN TELEGRAM
12👍1🔥1
Harvard has made its textbook on ML systems publicly available. It's extremely practical: not just about how to train models, but how to build production systems around them - what really matters.

The topics there are really top-notch:

> Building autograd, optimizers, attention, and mini-PyTorch from scratch to understand how the framework is structured internally. (This is really awesome)
> Basic things about DL: batches, computational accuracy, model architectures, and training
> Optimizing ML performance, hardware acceleration, benchmarking, and efficiency

So this isn't just an introductory course on ML, but a complete cycle from start to practical application. You can already read the book and view the code for free. For 2025, this is one of the strongest textbooks to have been released, so it's best not to miss out.

The repository is here, with a link to the book inside 👏

👉 @codeprogrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
9👍2
How to test code without a real database

During unit testing, connecting to a real DB is unnecessary:
• tests run slowly
• become unstable
• require a working server


It is much better to mock the call to pandas.read_sql and return dummy data

Example function:

def query_user_data(user_id):
    query = f"SELECT id, name FROM users WHERE id = {user_id}"
    return pd.read_sql(query, "postgresql://localhost/mydb")


Test with mock:

from unittest.mock import patch
import pandas as pd

@patch("pandas.read_sql")
def test_database_query_mocked(mock_read_sql):
    mock_read_sql.return_value = pd.DataFrame(
        {"id": [123], "name": ["Alice"]}
    )

    result = query_user_data(user_id=123)
    assert result["name"].iloc[0] == "Alice"


This way you test only the business logic — quickly, reliably, and without unnecessary dependencies

https://news.1rj.ru/str/CodeProgrammer
8👍2🔥2
All assignments for the #Stanford The Modern Software Developer course are now available online.

This is the first full-fledged university course that covers how code-generative #LLMs are changing every stage of the development lifecycle. The assignments are designed to take you from a beginner to a confident expert in using AI to boost productivity in development.

Enjoy your studies! ✌️
https://github.com/mihail911/modern-software-dev-assignments

https://news.1rj.ru/str/CodeProgrammer
4👍4
For those interested in joining our Premium channel, which contains over 5,000 books and 200 courses in machine learning, programming languages, data analysis, LLM, and other related fields with daily updates>

We offer a 15-minute free trial to explore the channel's content. Afterward, you can subscribe to the channel for $50 – a permanent subnoscription.

Contact me:
t.me/HusseinSheikho
6👍1
Awesome open-source project to learn more about Generative Adversarial Networks.

We found this interactive website that shows you visually how #GANs work.

GAN Lab Website: https://lnkd.in/eYV8QvrJ

https://news.1rj.ru/str/CodeProgrammer 🩷
Please open Telegram to view this post
VIEW IN TELEGRAM
7
Forwarded from Learn Python Hub
Media is too big
VIEW IN TELEGRAM
Learn how LLMs work in less than 10 minutes
And honestly? This is probably the best visualization of #LLMs ever made.

https://news.1rj.ru/str/Python53
7
📱 A collection of videos on PyTorch and neural networks

This is not a full-fledged course with a unified program, but a collection of nine separate videos on PyTorch and neural networks gathered in one playlist.

Inside, there are materials of different levels and formats that are suitable for selective study of topics, practice, and a general understanding of the direction.

What's here:
🏮 Introductory videos on PyTorch and the basics of neural networks;

🏮 Practical analyses with code writing and project examples;

🏮 Materials on computer vision and working with medical images;

🏮 Examples of creating chat bots and models on PyTorch;

🏮 Analyses of large language models and generative neural networks;

🏮 Examples of training agents and reinforcement tasks;

🏮 Videos from different authors without a general learning logic.
The collection is suitable for those who are already familiar with Python and want to selectively study PyTorch without a strict study plan — get it here.

https://www.youtube.com/playlist?list=PLp0BA-8NZ4bhBNWvUBPDztbzLar9Jcgd-


tags: #pytorch #DeepLearning #python

@CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
3