Machine Learning
41.9K subscribers
3.73K photos
39 videos
51 files
780 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
πŸ€– Designing an RAG with search for 10 million documents while minimizing hallucinations πŸ“š

1️⃣ Document ingestion and normalization πŸ“„
Removing duplicates, converting to a single format, extracting metadata, and maintaining versioning. πŸ”„

2️⃣ Hybrid search (BM25 + vector representations) πŸ”
BM25 handles exact keyword matches, while vector search handles semantic relevance. One approach without the other typically suffers from low accuracy at this scale. πŸ“‰

3️⃣ Approximate nearest neighbor search + re-ranking βš–οΈ
Approximate nearest neighbor search quickly retrieves candidates from millions of fragments. Next, a ranking model recalculates relevance through a more rigorous comparison of the query and fragments. 🧠

4️⃣ Trust scoring for sources πŸ›‘οΈ
Each fragment receives an evaluation based on freshness, source reliability, overlap, and consistency with other found results. Data with low trust should not significantly influence the final response. 🚫

5️⃣ Generation with strict context constraints 🚧
The model only operates within the extracted context. Adding knowledge outside the context is prohibited by the pipeline logic. 🚫

6️⃣ Answers with source attribution πŸ“
Every significant statement must refer to a specific fragment, document, or timestamp. ⏰

7️⃣ Fallback for low search confidence πŸ“‰
If the total context confidence falls below a threshold, a response like "not enough data" is returned. πŸ›‘

8️⃣ Continuous quality checks πŸ§ͺ
Running attack queries, measuring search completeness, testing for hallucinations, and monitoring ranking degradation. πŸ“Š

9️⃣ Caching and memory layer πŸ’Ύ
Frequent queries and search chains are cached to reduce latency and computational cost. ⚑

πŸ”Ÿ Observability at all stages πŸ‘οΈ
Tracing the query path, fragment ranking, and the impact of tokens and failure points. πŸ› οΈ

πŸš€ At the scale of 10 million documents, search quality becomes a more critical factor than the choice of generative model.

#RAG #AI #Search #LLM #DataEngineering #Tech
❀6
πŸš€ Master Binary Classification with Neural Networks! 🧠✨

Ever wondered how to build a neural network from scratch in Python using NumPy? πŸπŸ“Š

Binary classification is at the heart of many machine learning applications. πŸŽ―πŸ€–

Our super-detailed guide walks you through the entire process step by step. πŸ“πŸ“š

πŸ’‘ Dive in and start building your own neural network today! πŸ—πŸ”₯
https://tinztwinshub.com/data-science/a-beginners-guide-to-developing-an-artificial-neural-network-from-zero/

#MachineLearning #NeuralNetworks #Python #DataScience #AI #Tech
πŸ‘4❀2
πŸ”₯ Awesome open-source project to learn more about Transformer Models! πŸ€–βœ¨

We found this interactive website that shows you visually how transformer models work. πŸŒπŸ“Š

Transformer Explainer:
https://poloclub.github.io/transformer-explainer/

#TransformerModels #OpenSource #AI #MachineLearning #DataScience #Tech

✨ Join Best TG Channels
https://xn--r1a.website/addlist/0f6vfFbEMdAwODBk

⭐️ Join Our WhatsApp Channel
https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
❀3πŸ”₯3πŸ‘2πŸ’©1
πŸ”– 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://xn--r1a.website/addlist/0f6vfFbEMdAwODBk

⭐️ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
❀6πŸ‘1
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://xn--r1a.website/addlist/0f6vfFbEMdAwODBk

⭐️ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
❀4πŸ‘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://xn--r1a.website/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 large collection of AI projects for practice

We found a repository that will help you move from theory to real development of AI applications.

Inside are dozens of ready-made projects: AI analytics, RAG systems, OCR applications, code review agents, travel assistants, and much more.

⛓️ Link to GitHub: https://github.com/Sumanth077/Hands-On-AI-Engineering

#AI #MachineLearning #Python #DataScience #OpenSource #Tech

✨ Join Best TG Channels https://xn--r1a.website/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
❀6
10 GitHub repositories that are worth checking out for an AI engineer πŸ€–

1. Hands-On AI Engineering πŸ› οΈ

A collection of AI applications and agent systems with practical use cases of LLM.

πŸ‘‰ https://github.com/Sumanth077/Hands-On-AI-Engineering

2. Hands-On Large Language Models πŸ“˜

Full code from the book Hands-On Large Language Models: from basics to fine-tuning.

πŸ‘‰ https://github.com/HandsOnLLM/Hands-On-Large-Language-Models

3. AI Agents for Beginners πŸŽ“

A free course from Microsoft with 11 lessons on creating AI agents.

πŸ‘‰ https://github.com/microsoft/ai-agents-for-beginners

4. GenAI Agents πŸ€–

A large collection of tutorials and implementations of agent systems.

πŸ‘‰ https://github.com/NirDiamant/GenAI_Agents

5. Made With ML πŸš€

About the development, deployment, and support of production-ready ML systems.

πŸ‘‰ https://github.com/GokuMohandas/Made-With-ML

6. Learn Harness Engineering βš™οΈ

A practical course on Harness Engineering for AI agents.

πŸ‘‰ https://github.com/walkinglabs/learn-harness-engineering

7. AutoResearch πŸ”¬

Autonomous cycles of ML experiments from Andrej Karpathy.

πŸ‘‰ https://github.com/karpathy/autoresearch

8. Designing Machine Learning Systems πŸ“š

Notes and materials from Chip Huyen's book.

πŸ‘‰ https://github.com/chiphuyen/dmls-book

9. Awesome LLM Inference ⚑

A collection of materials on LLM inference: Flash Attention, KV Cache, quantization, and more.

πŸ‘‰ https://github.com/xlite-dev/Awesome-LLM-Inference

10. LLM Course πŸ—ΊοΈ

A practical course on LLM with a roadmap and Colab notebooks.

πŸ‘‰ https://github.com/mlabonne/llm-course

#AI #MachineLearning #LLM #DataScience #Tech #GitHub

✨ Join Best TG Channels https://xn--r1a.website/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
❀4