Machine Learning
40.3K subscribers
3.61K photos
29 videos
47 files
638 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
Discover an incredible LLM course designed to deepen your understanding of the transformer architecture and its role in building powerful Large Language Models (LLMs). This course breaks down complex concepts into easy-to-grasp modules, making it perfect for both beginners and advanced learners. Dive into the mechanics of attention mechanisms, encoding-decoding processes, and much more. Elevate your AI knowledge and stay ahead in the world of machine learning!

Enroll Free: https://www.deeplearning.ai/short-courses/how-transformer-llms-work/

#LLMCourse #Transformers #MachineLearning #AIeducation #DeepLearning #TechSkills #ArtificialIntelligence

https://xn--r1a.website/DataScienceM
👍5
This media is not supported in your browser
VIEW IN TELEGRAM
Last week we introduced how transformer LLMs work, this week we go deeper into one of its key elements—the attention mechanism, in a new #OpenSourceAI course, Attention in Transformers: Concepts and #Code in #PyTorch

Enroll Free: https://www.deeplearning.ai/short-courses/attention-in-transformers-concepts-and-code-in-pytorch/

#LLMCourse #Transformers #MachineLearning #AIeducation #DeepLearning #TechSkills #ArtificialIntelligence

https://xn--r1a.website/DataScienceM
4👍3
Machine Learning
Photo
# Learning rate scheduler for transformers
def lr_schedule(step, d_model=512, warmup_steps=4000):
arg1 = step ** -0.5
arg2 = step * (warmup_steps ** -1.5)
return (d_model ** -0.5) * min(step ** -0.5, step * warmup_steps ** -1.5)


---

### **📌 What's Next?
In **Part 5
, we'll cover:
➡️ Generative Models (GANs, VAEs)
➡️ Reinforcement Learning with PyTorch
➡️ Model Optimization & Deployment
➡️ PyTorch Lightning Best Practices

#PyTorch #DeepLearning #NLP #Transformers 🚀

Practice Exercises:
1. Implement a character-level language model with LSTM
2. Add attention visualization to a sentiment analysis model
3. Build a transformer from scratch for machine translation
4. Compare teacher forcing ratios in seq2seq training
5. Implement beam search for decoder inference

# Character-level LSTM starter
class CharLSTM(nn.Module):
def __init__(self, vocab_size, hidden_size, n_layers):
super().__init__()
self.embed = nn.Embedding(vocab_size, hidden_size)
self.lstm = nn.LSTM(hidden_size, hidden_size, n_layers, batch_first=True)
self.fc = nn.Linear(hidden_size, vocab_size)

def forward(self, x, hidden=None):
x = self.embed(x)
out, hidden = self.lstm(x, hidden)
return self.fc(out), hidden
🔥21
🌟 Vision Transformer (ViT) Tutorial – Part 1: From CNNs to Transformers – The Revolution in Computer Vision

Let's start: https://hackmd.io/@husseinsheikho/vit-1

#VisionTransformer #ViT #DeepLearning #ComputerVision #Transformers #AI #MachineLearning #NeuralNetworks #ImageClassification #AttentionIsAllYouNeed

✉️ Our Telegram channels: https://xn--r1a.website/addlist/0f6vfFbEMdAwODBk

📱 Our WhatsApp channel: https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
3👍1
🌟 Vision Transformer (ViT) Tutorial – Part 3: Pretraining, Transfer Learning & Real-World Applications

Let's start: https://hackmd.io/@husseinsheikho/vit-3

#VisionTransformer #TransferLearning #HuggingFace #ImageNet #FineTuning #AI #DeepLearning #ComputerVision #Transformers #ModelZoo


✉️ Our Telegram channels: https://xn--r1a.website/addlist/0f6vfFbEMdAwODBk
3
🌟 Vision Transformer (ViT) Tutorial – Part 5: Efficient Vision Transformers – MobileViT, TinyViT & Edge Deployment

Read lesson: https://hackmd.io/@husseinsheikho/vit-5

#MobileViT #TinyViT #EfficientViT #EdgeAI #ModelOptimization #ONNX #TensorRT #TorchServe #DeepLearning #ComputerVision #Transformers

✉️ Our Telegram channels: https://xn--r1a.website/addlist/0f6vfFbEMdAwODBk

📱 Our WhatsApp channel: https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
Please open Telegram to view this post
VIEW IN TELEGRAM
2
🌟 Vision Transformer (ViT) Tutorial – Part 6: Vision Transformers in Production – MLOps, Monitoring & CI/CD

Learn more: https://hackmd.io/@husseinsheikho/vit-6

#MLOps #ModelMonitoring #CIforML #MLflow #WandB #Kubeflow #ProductionAI #DeepLearning #ComputerVision #Transformers #AIOps

✉️ Our Telegram channels: https://xn--r1a.website/addlist/0f6vfFbEMdAwODBk

📱 Our WhatsApp channel: https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
Please open Telegram to view this post
VIEW IN TELEGRAM
1