Machine Learning
40.5K subscribers
3.62K photos
29 videos
47 files
653 links
Real Machine Learning โ€” simple, practical, and built on experience.
Learn step by step with clear explanations and working code.

Admin: @HusseinSheikho || @Hussein_Sheikho
Download Telegram
If you want to finally understand how neural networks actually learn, I recommend these notes from Stanford CS224N. ๐Ÿง 

"Computing Neural Network Gradients" explains the calculation of gradients and backpropagation without black-box formulas. ๐Ÿ“‰

Inside:
โ€ข Chain Rule
โ€ข Computational Graphs
โ€ข Vectorized derivatives
โ€ข Efficient gradient calculation
โ€ข Step-by-step examples with formula analysis

Many people use PyTorch or TensorFlow every day, but never understood what happens after calling .backward(). ๐Ÿ”ฅ

These notes just fill this gap. ๐Ÿ› ๏ธ

PDF:
https://web.stanford.edu/class/cs224n/readings/gradient-notes.pdf

#NeuralNetworks #DeepLearning #StanfordCS #Backpropagation #MachineLearning #AIResearch

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A

๐Ÿš€ Level up your AI & Data Science skills with HelloEncyclo โ€” a growing all-in-one platform featuring hands-on courses in LLMs, Deep Learning, MLOps, Data Engineering, and more.
โœ… 13 courses live + 40+ coming soon
๐ŸŽฏ One access, lifetime updates
๐Ÿ”‘ Use code: PRESALE-BOOK-WAVE-2GFG
๐Ÿ‘‰ https://helloencyclo.com/?ref=HUSSEINSHEIKHO
โค2
Parallax: A Parameterized Local Linear Attention That Keeps Softmax and Adds a Learned Covariance Correction Branch ๐Ÿง โœจ

The Transformerโ€™s attention mechanism has barely changed since 2017. Most efficiency work has tried to replace softmax attention outright. A new paper takes a different route. It keeps softmax attention and bolts on a correction branch. ๐Ÿ”„

A team of researchers from Northwestern University, Tilde Research, and University of Washington introduce a parameterized Local Linear Attention called โ€˜Parallaxโ€™ that scales to LLM pretraining and codesigns with Muon. ๐ŸŽ“

Parallax does not chase efficiency by cutting compute. It adds compute deliberately, then makes that compute cheaper to run on modern GPUs. ๐Ÿ’ปโšก

More: https://www.marktechpost.com/2026/05/31/parallax-a-parameterized-local-linear-attention-that-keeps-softmax-and-adds-a-learned-covariance-correction-branch/

#Parallax #LLM #AI #DeepLearning #Transformer #TechNews

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A

๐Ÿš€ Level up your AI & Data Science skills with HelloEncyclo โ€” a growing all-in-one platform featuring hands-on courses in LLMs, Deep Learning, MLOps, Data Engineering, and more.
โœ… 13 courses live + 40+ coming soon
๐ŸŽฏ One access, lifetime updates
๐Ÿ”‘ Use code: PRESALE-BOOK-WAVE-2GFG
๐Ÿ‘‰ https://helloencyclo.com/?ref=HUSSEINSHEIKHO
โค5
If you already have 200 open tabs with courses, articles, and GitHub repositories on ML, this repository might save the situation a bit. ๐Ÿ˜…

Awesome Machine Learning Resources is a huge collection of sub-collections on machine learning, deep learning, and AI. ๐Ÿค–

Instead of endless Google searches, everything is organized into categories:

โ€ข fundamentals of machine learning
โ€ข neural networks and modern architectures
โ€ข tasks and application areas
โ€ข datasets
โ€ข libraries and tools
โ€ข fairness and AI ethics
โ€ข production ML and MLOps

Each link has a short description, so you can quickly understand whether it's worth opening it or skipping it. ๐Ÿ“

I particularly liked that the authors mark abandoned collections with an icon if they haven't been updated in over a year. โš ๏ธ

https://github.com/ZhiningLiu1998/awesome-machine-learning-resources

#MachineLearning #DeepLearning #AI #MLOps #DataScience #TechResources

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A

๐Ÿš€ Level up your AI & Data Science skills with HelloEncyclo โ€” a growing all-in-one platform featuring hands-on courses in LLMs, Deep Learning, MLOps, Data Engineering, and more.
โœ… 13 courses live + 40+ coming soon
๐ŸŽฏ One access, lifetime updates
๐Ÿ”‘ Use code: PRESALE-BOOK-WAVE-2GFG
๐Ÿ‘‰ https://helloencyclo.com/?ref=HUSSEINSHEIKHO
โค2
This media is not supported in your browser
VIEW IN TELEGRAM
Someone spent several months manually writing a 200-page guide on mathematics and the basics of machine learning. ๐Ÿ“˜

No marketing fluff or endless links between articles. Just an attempt to gather all the most important things in one place. ๐ŸŽฏ

Inside:

โ€ข neural networks: backpropagation, SGD, Adam, BatchNorm; โš™๏ธ
โ€ข classic ML: SVM, Gradient Boosting, K-Means, PCA; ๐Ÿ“Š
โ€ข hardware for AI: Tensor Cores, Systolic Arrays, CUDA; ๐Ÿ–ฅ๏ธ
โ€ข transformers: Multi-Head Attention, KV Cache, LoRA; ๐Ÿง 
โ€ข computer vision: ViT, CNN, MAE, IoU, NMS, VLM; ๐Ÿ‘๏ธ
โ€ข agent systems: ReAct, memory, orchestration, OpenClaw. ๐Ÿค–

The author describes it as the material he would have wanted to receive himself several years ago. ๐Ÿ•ฐ๏ธ

And yes, the entire guide is distributed free of charge. ๐Ÿ†“

https://www.arjunvirk.com/writing/ml-guide

#MachineLearning #AI #DeepLearning #DataScience #NeuralNetworks #Tech

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A

๐Ÿš€ Level up your AI & Data Science skills with HelloEncyclo โ€” a growing all-in-one platform featuring hands-on courses in LLMs, Deep Learning, MLOps, Data Engineering, and more.
โœ… 13 courses live + 40+ coming soon
๐ŸŽฏ One access, lifetime updates
๐Ÿ”‘ Use code: PRESALE-BOOK-WAVE-2GFG
๐Ÿ‘‰ https://helloencyclo.com/?ref=HUSSEINSHEIKHO
โค3
๐ŸŽ“ A Free AI Course for Beginners by Microsoft

For those just getting into artificial intelligence, Microsoft offers a free course.

It runs for 12 weeks and includes 24 lessons with theory, hands-on assignments, labs, and quizzes.

The curriculum covers neural networks and deep learning, computer vision, natural language processing, genetic algorithms, and AI ethics. For practice, it uses the two main ML frameworksโ€”TensorFlow and PyTorch.

Each lesson follows the same structure: first, reading material, then a Jupyter notebook with code, and for some topics, a lab. The course is in English but has been translated into dozens of languages.

โžก๏ธ All materials and links are on GitHub
https://github.com/microsoft/AI-For-Beginners/blob/main/translations/ru/README.md

What's your AI level right now?

โค๏ธ โ€” Advanced user
๐Ÿ”ฅ โ€” Almost zero

#AICourse #Microsoft #DeepLearning #TensorFlow #PyTorch #MachineLearning

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A

๐Ÿš€ Level up your AI & Data Science skills with HelloEncyclo โ€” a growing all-in-one platform featuring hands-on courses in LLMs, Deep Learning, MLOps, Data Engineering, and more.
โœ… 13 courses live + 40+ coming soon
๐ŸŽฏ One access, lifetime updates
๐Ÿ”‘ Use code: PRESALE-BOOK-WAVE-2GFG
๐Ÿ‘‰ https://helloencyclo.com/?ref=HUSSEINSHEIKHO
โค1
๐Ÿค– Calculating the Self-Attention mechanism in pure PyTorch.

The Attention Mechanism allows transformer neural networks to determine the connection between words in a text and dynamically focus on the most important context. We will step by step implement the basic algorithm Scaled Dot-Product Attention, using classic matrices of queries (Query), keys (Key) and values (Value). This will help us to visually see how the attention weights are mathematically calculated and how the model matches the tokens with each other. ๐Ÿง โœจ

To start, we will install the PyTorch library for performing tensor calculations. ๐Ÿ› ๏ธ

pip install torch

The library has been successfully loaded and is ready for mathematical modeling of transformer layers. โœ…

We will generate random vectors Query, Key and Value to simulate the passage of tokens through linear projections. ๐ŸŽฒ

import torch
import torch.nn.functional as F

q = torch.randn(1, 3, 4) # (batch, seq_len, dim)
k = torch.randn(1, 3, 4)
v = torch.randn(1, 3, 4)

The tensors have been initialized and represent three hidden states for a sequence of three words. ๐Ÿ“

We will calculate the token similarity matrix through the scalar product and then scale it by the square root of the vector dimensions. ๐Ÿ”ข

scores = torch.bmm(q, k.transpose(1, 2)) / (q.shape[-1] ** 0.5)
attention_weights = F.softmax(scores, dim=-1)
output = torch.bmm(attention_weights, v)

The scalar product has been translated into probability weights, based on which the final contextual vector has been formed. ๐Ÿ”„

A control run of the output dimension calculation:

python3 -c "import torch; q, k = torch.randn(1, 3, 4), torch.randn(1, 3, 4); print('Attention OK') if torch.bmm(q, k.transpose(1, 2)).shape == (1, 3, 3) else print('Error')"

Expected output: Attention OK โœ…

The Self-Attention formula lies at the heart of all modern LLMs, allowing them to process long contexts in parallel, unlike old recurrent networks (RNNs). Understanding this base is critically important for working with transformers, optimizing architectures and configuring KV-cache mechanisms. ๐Ÿš€๐Ÿง 

#PyTorch #Transformer #DeepLearning #AI #MachineLearning #LLM

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A

๐Ÿš€ Level up your AI & Data Science skills with HelloEncyclo โ€” a growing all-in-one platform featuring hands-on courses in LLMs, Deep Learning, MLOps, Data Engineering, and more.
โœ… 13 courses live + 40+ coming soon
๐ŸŽฏ One access, lifetime updates
๐Ÿ”‘ Use code: PRESALE-BOOK-WAVE-2GFG
๐Ÿ‘‰ https://helloencyclo.com/?ref=HUSSEINSHEIKHO
Please open Telegram to view this post
VIEW IN TELEGRAM
โค5
Classical machine learning equations and diagrams cheat sheet ๐Ÿ“Š

https://github.com/soulmachine/machine-learning-cheat-sheet

#MachineLearning #ML #DataScience #CheatSheet #AI #DeepLearning

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A

๐Ÿš€ Level up your AI & Data Science skills with HelloEncyclo โ€” a growing all-in-one platform featuring hands-on courses in LLMs, Deep Learning, MLOps, Data Engineering, and more.
โœ… 13 courses live + 40+ coming soon
๐ŸŽฏ One access, lifetime updates
๐Ÿ”‘ Use code: PRESALE-BOOK-WAVE-2GFG
๐Ÿ‘‰ https://helloencyclo.com/?ref=HUSSEINSHEIKHO
โค3
This media is not supported in your browser
VIEW IN TELEGRAM
Multi-agent RL is beautiful precisely at the moment when it starts to converge. ๐Ÿค–โœจ

#MultiAgent #RL #ReinforcementLearning #AI #MachineLearning #DeepLearning

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A

๐Ÿš€ Level up your AI & Data Science skills with HelloEncyclo โ€” a growing all-in-one platform featuring hands-on courses in LLMs, Deep Learning, MLOps, Data Engineering, and more.
โœ… 13 courses live + 40+ coming soon
๐ŸŽฏ One access, lifetime updates
๐Ÿ”‘ Use code: PRESALE-BOOK-WAVE-2GFG
๐Ÿ‘‰ https://helloencyclo.com/?ref=HUSSEINSHEIKHO
โค1๐Ÿคฉ1
500 AI/ML/Computer Vision/NLP projects with code ๐Ÿš€

This is a large collection of 500 ready-made projects in the field of machine learning, deep learning, computer vision, and NLP ๐Ÿง 

All examples come with code, so you can not just read them, but immediately analyze and run them โš™๏ธ

โžก๏ธ Link to GitHub:
https://github.com/ashishpatel26/500-AI-Machine-learning-Deep-learning-Computer-vision-NLP-Projects-with-code

#AI #MachineLearning #DeepLearning #ComputerVision #NLP #DataScience

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
โค4
A Chinese developer has released an open-source replacement for NumPy that performs calculations on GPUs. It's called CuPy ๐Ÿš€. In many cases, it's enough to replace a single line:

import cupy as cp

The same code can run on CUDA up to 100 times faster โšก๏ธ.

What it can do:
โ†’ Compatible with existing NumPy and SciPy code ๐Ÿ› ๏ธ.
โ†’ No need to rewrite the program or learn new syntax ๐Ÿ“.
โ†’ Supports not only CUDA but also AMD ROCm ๐Ÿ’ป.

The project is completely open-source ๐Ÿ“‚:
๐Ÿ”— https://github.com/cupy/cupy

#Python #GPU #NumPy #CuPy #AI #DeepLearning

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
โค5
Reinforcement Learning Methods and Tutorials ๐Ÿง ๐Ÿ“š

In these tutorials for reinforcement learning, it covers from the basic RL algorithms to advanced algorithms developed recent years.

Learning Resources: https://github.com/MorvanZhou/Reinforcement-learning-with-tensorflow ๐Ÿš€

Here's a collection of simple materials on methods and practical guides, covering both basic reinforcement learning algorithms and modern, recently developed, and updated advanced algorithms. ๐Ÿ“–โœจ

#ReinforcementLearning #MachineLearning #AI #DeepLearning #TechTutorials #DataScience

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
โค5
Diving deep into Deep Learning, Reinforcement Learning, Machine Learning, Computer Vision, and NLP. ๐Ÿค–๐Ÿง 

Lectures: ๐ŸŽ“๐Ÿ“š
https://github.com/kmario23/deep-learning-drizzle

#DeepLearning #MachineLearning #AI #ReinforcementLearning #ComputerVision #NLP

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
โค6
This repository contains a collection of the best resources on PyTorch: https://github.com/ritchieng/the-incredible-pytorch

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A

#PyTorch #AI #MachineLearning #DeepLearning #Coding #Resources
โค6
๐Ÿ”– A large collection of lectures on Machine Learning and Deep Learning ๐Ÿง 

We found a repository that brings together high-quality materials on several areas of artificial intelligence. ๐Ÿค–

Excellent material for both learning and reviewing key topics. ๐Ÿ“š

โ›“๏ธ Link to GitHub
https://github.com/kmario23/deep-learning-drizzle

#MachineLearning #DeepLearning #AI #Tech #Coding #Learning

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk

โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
โค5
This media is not supported in your browser
VIEW IN TELEGRAM
sequence of four inputs, carrying every hidden state forward yourself. ๐Ÿ”„

1. Given

Four inputs X1 to X4, recurrent weights and biases for hidden layers a, b, c, and an output layer y. ๐Ÿ“Š

2. Initialize

Let us set the hidden states a0, b0, c0 to zeros. Nothing has been read yet. ๐Ÿ›‘

3. First hidden layer (a)

We build the transformation matrix by laying the input weights, the state weights and the biases side by side. We stack X1, the previous state a0, and an extra 1 underneath. Multiply the two, and a1 = [0, 1]. ๐Ÿงฎ

4. Second hidden layer (b)

Let us do it again, one layer up. Now a1 is the input, and b0 is the previous state. Multiply: b1 = [1, -1]. โฌ†๏ธ

5. Third hidden layer (c)

Once more. b1 is the input, c0 is the previous state, and c1 = [1, 1]. ๐Ÿ”

6. Output layer (y)

Let us read the answer off the top of the stack. Weights and biases against [c1; 1], and Y1 = [3, 0, 3]. ๐Ÿ“

7. Carry the states forward

We copy a1, b1, c1 across. This is the whole trick of a recurrent network: the states are the only thing the next input gets to see. ๐Ÿš€

8. Process X2

Repeat steps 3 to 6 for the second input: three hidden layers, then the output. Y2 = [5, 0, 4]. ๐Ÿ”ข

9. Carry the states forward

Let us copy a2, b2, c2 across, exactly as before. ๐Ÿ”„

10. Process X3

Same four moves, third input. Y3 = [13, -1, 9]. ๐Ÿงฉ

11. Carry the states forward

We copy a3, b3, c3 across, one last time. โญ๏ธ

12. Process X4

Repeat once more. Y4 = [15, 7, 2]. โœ…

You have just run a Deep RNN over a whole sequence by hand. โœ๏ธ

The outputs:
Y1: [3, 0, 3]
Y2: [5, 0, 4]
Y3: [13, -1, 9]
Y4: [15, 7, 2]

The takeaway: the hidden states are the memory, and they are the only memory there is. Everything the network learns from X1 has to fit in those little two-cell columns and get handed forward, one step at a time. ๐Ÿง 

#RNN #DeepLearning #AI #MachineLearning #NeuralNetworks #Tech

โœจ Join Best TG Channels https://t.iss.one/addlist/0f6vfFbEMdAwODBk
โญ๏ธ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
โค4