Machine Learning with Python
67.8K subscribers
1.46K photos
125 videos
196 files
1.17K 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
Forwarded from Machine Learning
πŸ”– A huge open-source course on AI Engineering from scratch

In the repository, we've collected:
β€” 435 lessons;
β€” 320+ hours of content;
β€” Python, TypeScript, and Rust;
β€” AI agents, MCP servers, prompts, and AI skills.

Moreover, almost every lesson includes practical tasks, so this isn't just theory, but a full-fledged roadmap for AI Engineering. πŸš€

⛓️ Link to the repository
https://github.com/rohitg00/ai-engineering-from-scratch

#AI #MachineLearning #Python #Rust #OpenSource #Tech

✨ Join Best TG Channels https://t.me/addlist/0f6vfFbEMdAwODBk

⭐️ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
❀9πŸ‘Ž1
Autonomous AI research on Apple Silicon

Port of the project Karpathy’s autoresearch for Apple Silicon based on MLX, which implements autonomous research cycles with control via program.md 🍏

What’s interesting:
β€’ native support for Apple Silicon without PyTorch/CUDA
β€’ fixed training budget (~5 minutes)
β€’ logging of results in results.tsv
β€’ simple structure for autonomous experiments
β€’ optimization of models for more efficient operation

https://github.com/trevin-creator/autoresearch-mlx πŸ”¬

#AppleSilicon #AIResearch #MLX #AutonomousAI #MachineLearning #OpenSource

✨ Join Best TG Channels https://t.me/addlist/0f6vfFbEMdAwODBk

⭐️ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
❀7
Transformer implementations for vision, audio, and AI agents πŸ€–πŸ‘οΈπŸŽ΅

Repo: https://github.com/Nicolepcx/transformers-the-definitive-guide

#AI #MachineLearning #Vision #Audio #Agents #Tech

✨ Join Best TG Channels https://t.me/addlist/0f6vfFbEMdAwODBk

⭐️ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
❀4πŸ‘3
Stop discovering ML Python libraries one random tutorial at a time πŸ›‘

Best-of Machine Learning with Python is a curated GitHub index of open-source machine learning Python libraries for builders who need a faster way to compare the ecosystem πŸ“š.

It helps you shortlist tools by grouping projects into categories and ranking them with a project-quality score based on metrics collected from GitHub and package managers πŸ“Š.

Key features:

β€’ 920-project index – a large scan-friendly map of open-source ML Python projects πŸ—ΊοΈ
β€’ 34 categories – browse by area like ML frameworks, NLP, image data, AutoML, deployment, interpretability, and more 🧩
β€’ Quality-score ranking – projects are ordered using an automated score from repo and package-manager signals βš™οΈ
β€’ Rich project metadata – entries show signals like stars, forks, issues, contributors, activity, downloads, and dependencies πŸ“ˆ
β€’ Weekly updates + contributions – the list is updated regularly and can be improved via issues, PRs, or projects.yaml edits πŸ”„

It’s open-source (CC BY-SA 4.0 license) πŸ“œ.

https://github.com/lukasmasuch/best-of-ml-python πŸ”—

#MachineLearning #Python #ML #OpenSource #DataScience #TechStack

✨ Join Best TG Channels https://t.me/addlist/0f6vfFbEMdAwODBk

⭐️ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
❀7
Forwarded from Machine Learning
Data leakage is one of the main reasons why ML demos look impressive... and then fail in production. πŸ“‰

The model didn't become smarter.
It just happened to see the correct answers in advance.

In 4 minutes, you'll understand where data leaks hide. πŸ”

Let's break it down below: πŸ‘‡

1. Data Leakage πŸ•³οΈ

Data leakage occurs when information that won't be available at the time of actual prediction is used during the model training process.

Because of this, metrics on the validation stage can look much better than the actual quality of the model on new, previously unseen data.

2. Model Evaluation βš–οΈ

The test set isn't just "additional data".
It's a simulation of the future.

Only train the model on the information that would have been available to you at the time of prediction.
Evaluate it on examples that the model couldn't have influenced during training.

3. Direct Leakage 🚨

This is the most obvious type of leakage.

Examples:
- a field with information from the future;
- an ID that encodes the target variable;
- a variable that appears only after an event has occurred;
- duplicate records in both the training and test sets.

If a feature doesn't exist at the time of inference (prediction), then it's likely a source of data leakage.

4. Indirect Leakage πŸ•΅οΈ

This is the type of leakage that most often traps teams.

You perform normalization, imputation, feature selection, outlier removal, or dimensionality reduction before splitting the data into a training and test set.

The model didn't directly see the data from the test set.
But your preprocessing pipeline already saw it.

5. Train/Test Split βœ‚οΈ

Wrong:
fit the scaler on all data β†’ split the data β†’ evaluate

Right:
split the data β†’ fit the scaler only on the training set β†’ apply it to both the training and test sets

The same idea applies to imputers, encoders, feature selection, PCA, and any preprocessing step that is trained on the data.

6. Cross-Validation πŸ”„

Each fold is a mini-experiment with a training and test set.
Therefore, preprocessing should be performed within each fold.

If you prepared the entire dataset once and then ran cross-validation, each fold would already have had access to its held-out data.

7. Pipelines πŸ› οΈ

A pipeline isn't just a way to make the code cleaner.
It's also a defense against data leakage.

Combine preprocessing, feature selection, and the model into a single pipeline, and then pass this pipeline to cross-validation or hyperparameter search (grid search).

8. AI Engineering Version πŸ€–

Data leaks also occur in RAG systems and when evaluating LLMs.

Leakage occurs when you tune chunks, prompts, re-rankers, thresholds, or examples on the same evaluation dataset that you later present as "held-out".

As a result, your benchmark turns into training data.

9. Leakage Checklist βœ…

Before trusting the obtained metric, ask yourself:

- Could this feature exist at the time of prediction?
- Was any transformation (transform) step trained (fit) on the test data?
- Did cross-validation include the entire pipeline?
- Were we tuning parameters on the final evaluation dataset?

If the answer is "yes", then the metric likely doesn't reflect the actual quality of the model.

#MachineLearning #DataScience #MLOps #DataLeakage #ArtificialIntelligence #TechTips

✨ Join Best TG Channels https://t.me/addlist/0f6vfFbEMdAwODBk

⭐️ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
❀6
Interactive Explainer 🧠✨

The Anatomy of an LLM πŸ”
A visual walk through the machinery inside a large language model: from raw text, to tokens, to vectors, to attention, to the next token. βš™οΈπŸ§¬

πŸ”— Link: https://www.royvanrijn.com/anatomy-of-an-llm/

#LLM #AI #Tech #NeuralNetworks #MachineLearning #DeepLearning

✨ Join Best TG Channels https://t.me/addlist/0f6vfFbEMdAwODBk

⭐️ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
❀8
Forwarded from Machine Learning
FREE MIT books on AI and Machine Learning: πŸ“šπŸ€–

1. Foundations of Machine Learning cs.nyu.edu/~mohri/mlbook/
2. Understanding Deep Learning udlbook.github.io/udlbook/
3. Introduction to Machine Learning Systems ❯ Vol 1: mlsysbook.ai/vol1/assets/do ❯ Vol 2: mlsysbook.ai/vol2/assets/do
4. Algorithms for ML algorithmsbook.com
5. Deep Learning deeplearningbook.org
6. Reinforcement Learning andrew.cmu.edu/course/10-703/
7. Distributional Reinforcement Learning direct.mit.edu/books/oa-monog
8. Multi Agent Reinforcement Learning marl-book.com
9. Agents in the Long Game of AI direct.mit.edu/books/oa-monog
10. Fairness and Machine Learning fairmlbook.org
11. Probabilistic Machine Learning
❯ Part 1 : probml.github.io/pml-book/book1
❯ Part 2 : probml.github.io/pml-book/book2

#MIT #AI #MachineLearning #DeepLearning #ReinforcementLearning #FreeBooks

✨ Join Best TG Channels https://t.me/addlist/0f6vfFbEMdAwODBk

⭐️ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
❀10
Forwarded from Data Analytics
Transformers & LLMs Cheatsheet.pdf
1.4 MB
The only LLM cheat sheet you'll ever need πŸš€

Covers the main concepts, architectures, and practical applications.

### Basics
- Tokens (tokenization, BPE)
- Embeddings (cosine similarity)
- Attention mechanism (Attention formula, Multi-Head Attention)

### Transformer architecture and its variants
- BERT (models with only an encoder)
- GPT (models with only a decoder)
- T5 (models with an encoder and a decoder)

### Large language models (LLMs)
- Prompting (context length, Chain-of-Thought)
- Pre-training (SFT, PEFT/LoRA)
- Preference tuning (Reward Model, Reinforcement Learning)
- Optimizations (Mixture of Experts, Distillation, Quantization)

### Applications
- LLM-as-a-Judge (LaaJ)
- RAG (Retrieval-Augmented Generation)
- Agents (ReAct)
- Reasoning models (Scaling)

✨ Join Best TG Channels https://t.me/addlist/0f6vfFbEMdAwODBk

⭐️ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A

#LLM #AI #MachineLearning #DeepLearning #PromptEngineering #Tech
❀6πŸ‘1
Forwarded from Data Analytics
The ultimate guide to fine tuning.pdf
15.2 MB
πŸ”– The Big Book on Fine-Tuning LLMs

A free 115-page book dedicated to the retraining of large language models. πŸ“š

It's suitable for those who want to understand how to prepare datasets, configure training, and improve the quality of LLMs for their tasks. πŸš€

#LLM #FineTuning #AI #MachineLearning #DataScience #Tech

✨ Join Best TG Channels https://t.me/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πŸŽ‰3
Data Science Interview Questions.pdf
1.4 MB
Data Science Interview Questions

πŸ’‘ Here is your curated list for Data Science interviews!

✨ Join Best TG Channels https://t.me/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

#DataScience #AI #MachineLearning #LLM #TechJobs #InterviewPrep
πŸŽ‰2❀1πŸ‘1
A new collection of free courses has been added:

πŸ”— https://github.com/dair-ai/ML-Course-Notes

Those studying ML through dozens of random tabs and unclosed playlists may find this repository useful for organizing their learning. πŸ“š

Machine Learning Course Notes is an open collection of notes on machine learning, NLP, and AI, compiled around full-fledged courses, not just individual videos. 🧠

What's inside:

β€’ Courses from the Machine Learning Specialization, MIT 6.S191, CMU Neural Nets for NLP, CS224N, CS25, and others
β€’ A table with lectures, descriptions, videos, notes, and authors
β€’ Links to the original lectures and accompanying notes
β€’ WIP markers for incomplete materials
β€’ Instructions for contributors on adding and improving notes

The idea was appreciated. πŸ‘

Instead of another collection of hundreds of links, a course map has been created where one can systematically go through the material without getting lost after a week of studying. πŸ—ΊοΈ

#MachineLearning #AI #DataScience #TechCommunity #LearningResources #OpenSource

✨ Join Best TG Channels https://t.me/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