This media is not supported in your browser
VIEW IN TELEGRAM
๐ค Python libraries for AI agents โ what to study
If you want to develop AI agents in Python, it's important to understand the order of studying libraries.
Start with LangChain, CrewAI or SmolAgents โ they allow you to quickly assemble simple agents, connect tools, and test ideas.
The next level is LangGraph, LlamaIndex and Semantic Kernel. These tools are already used for production systems: RAG, orchestration, and complex workflows.
The most complex level is AutoGen, DSPy and A2A. They are needed for autonomous multi-agent systems and optimizing LLM pipelines.
LangChain โ simple agents, tools, and memory
github.com/langchain-ai/langchain
CrewAI โ multi-agent systems with roles
github.com/joaomdmoura/crewAI
SmolAgents โ lightweight agents for quick experiments
github.com/huggingface/smolagents
LangGraph โ orchestration and stateful workflow
github.com/langchain-ai/langgraph
LlamaIndex โ RAG and knowledge-agents
github.com/run-llama/llama_index
Semantic Kernel โ AI workflow and plugins
github.com/microsoft/semantic-kernel
AutoGen โ autonomous multi-agent systems
github.com/microsoft/autogen
DSPy โ optimizing LLM pipelines
github.com/stanfordnlp/dspy
A2A โ protocol for interaction between agents
github.com/a2aproject/A2A
https://t.iss.one/CodeProgrammer๐
If you want to develop AI agents in Python, it's important to understand the order of studying libraries.
Start with LangChain, CrewAI or SmolAgents โ they allow you to quickly assemble simple agents, connect tools, and test ideas.
The next level is LangGraph, LlamaIndex and Semantic Kernel. These tools are already used for production systems: RAG, orchestration, and complex workflows.
The most complex level is AutoGen, DSPy and A2A. They are needed for autonomous multi-agent systems and optimizing LLM pipelines.
LangChain โ simple agents, tools, and memory
github.com/langchain-ai/langchain
CrewAI โ multi-agent systems with roles
github.com/joaomdmoura/crewAI
SmolAgents โ lightweight agents for quick experiments
github.com/huggingface/smolagents
LangGraph โ orchestration and stateful workflow
github.com/langchain-ai/langgraph
LlamaIndex โ RAG and knowledge-agents
github.com/run-llama/llama_index
Semantic Kernel โ AI workflow and plugins
github.com/microsoft/semantic-kernel
AutoGen โ autonomous multi-agent systems
github.com/microsoft/autogen
DSPy โ optimizing LLM pipelines
github.com/stanfordnlp/dspy
A2A โ protocol for interaction between agents
github.com/a2aproject/A2A
https://t.iss.one/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
โค14๐ฅ2๐2
Forwarded from Machine Learning with Python
The Python + Generative AI series by Azure AI Foundry has ended, but all materials are open
Now you can calmly rewatch the recordings, download the slides, and try the code from each session โ from LLM and RAG to AI agents and MCP.
All resources are here: aka.ms/pythonai/resources
๐ @codeprogrammer
Now you can calmly rewatch the recordings, download the slides, and try the code from each session โ from LLM and RAG to AI agents and MCP.
All resources are here: aka.ms/pythonai/resources
Please open Telegram to view this post
VIEW IN TELEGRAM
โค12๐3๐2๐ฅ1
๐ 23 Years of SPOTO โ Claim Your Free IT Certs Prep Kit!
๐ฅWhether you're preparing for #Python, #AI, #Cisco, #PMI, #Fortinet, #AWS, #Azure, #Excel, #comptia, #ITIL, #cloud or any other in-demand certification โ SPOTO has got you covered!
โ Free Resources :
ใปFree Python, Excel, Cyber Security, Cisco, SQL, ITIL, PMP, AWS courses: https://bit.ly/4lk4m3c
ใปIT Certs E-book: https://bit.ly/4bdZOqt
ใปIT Exams Skill Test: https://bit.ly/4sDvi0b
ใปFree AI material and support tools: https://bit.ly/46TpsQ8
ใปFree Cloud Study Guide: https://bit.ly/4lk3dIS
๐ Become Part of Our IT Learning Circle! resources and support:
https://chat.whatsapp.com/Cnc5M5353oSBo3savBl397
๐ฌ Want exam help? Chat with an admin now!
wa.link/rozuuw
๐ฅWhether you're preparing for #Python, #AI, #Cisco, #PMI, #Fortinet, #AWS, #Azure, #Excel, #comptia, #ITIL, #cloud or any other in-demand certification โ SPOTO has got you covered!
โ Free Resources :
ใปFree Python, Excel, Cyber Security, Cisco, SQL, ITIL, PMP, AWS courses: https://bit.ly/4lk4m3c
ใปIT Certs E-book: https://bit.ly/4bdZOqt
ใปIT Exams Skill Test: https://bit.ly/4sDvi0b
ใปFree AI material and support tools: https://bit.ly/46TpsQ8
ใปFree Cloud Study Guide: https://bit.ly/4lk3dIS
๐ Become Part of Our IT Learning Circle! resources and support:
https://chat.whatsapp.com/Cnc5M5353oSBo3savBl397
๐ฌ Want exam help? Chat with an admin now!
wa.link/rozuuw
โค3
Do you want to understand the methods used to train LLMs?
The training of large language models (LLMs) is based on various approaches that help models understand and generate text.
Each method shapes the learning process in its own way - from predicting the next word to classifying entire sentences or labeling entities.
Here are 4 common methods of training LLMs in simple language ๐
1. Causal Language Modeling
Predicts the next word in a sequence based on the previous ones. Helps the model master the natural flow of speech and the structure of sentences.
Analogy: how to finish a sentence for another person by guessing the next word.
2. Masked Language Modeling
Learns by guessing the missing words in a sentence based on the surrounding context. Improves the overall understanding of language.
Analogy: how to solve tasks with missing words.
3. Text Classification Modeling
Determines the general class of a sentence (for example, tone or topic) by comparing predictions with actual labels.
Analogy: how to sort letters into folders "Work", "Personal", or "Promotions".
4. Token Classification Modeling
Assigns labels to each word or subword - for example, highlights names, places, or dates in the text.
Analogy: how to highlight words with different colors - names in blue, places in green, dates in yellow.
These methods form the basis of modern LLMs, and each of them plays a role in making AI smarter and more useful.
https://t.iss.one/CodeProgrammer
The training of large language models (LLMs) is based on various approaches that help models understand and generate text.
Each method shapes the learning process in its own way - from predicting the next word to classifying entire sentences or labeling entities.
Here are 4 common methods of training LLMs in simple language ๐
1. Causal Language Modeling
Predicts the next word in a sequence based on the previous ones. Helps the model master the natural flow of speech and the structure of sentences.
Analogy: how to finish a sentence for another person by guessing the next word.
2. Masked Language Modeling
Learns by guessing the missing words in a sentence based on the surrounding context. Improves the overall understanding of language.
Analogy: how to solve tasks with missing words.
3. Text Classification Modeling
Determines the general class of a sentence (for example, tone or topic) by comparing predictions with actual labels.
Analogy: how to sort letters into folders "Work", "Personal", or "Promotions".
4. Token Classification Modeling
Assigns labels to each word or subword - for example, highlights names, places, or dates in the text.
Analogy: how to highlight words with different colors - names in blue, places in green, dates in yellow.
These methods form the basis of modern LLMs, and each of them plays a role in making AI smarter and more useful.
https://t.iss.one/CodeProgrammer
1โค6๐3
This media is not supported in your browser
VIEW IN TELEGRAM
๐๐ข๐ฌ๐ฎ๐๐ฅ ๐๐ฅ๐จ๐ on Vision Transformers is live.
https://vizuaranewsletter.com/p/vision-transformers?r=5b5pyd&utm_campaign=post&utm_medium=web
Learn how ViT works from the ground up, and fine-tune one on a real classification dataset.
๐๐จ๐ฆ๐ ๐๐๐ฌ๐จ๐ฎ๐ซ๐๐๐ฌ
ViT paper dissection
https://youtube.com/watch?v=U_sdodhcBC4
Build ViT from Scratch
https://youtube.com/watch?v=ZRo74xnN2SI
Original Paper
https://arxiv.org/abs/2010.11929
https://t.iss.one/CodeProgrammer
https://vizuaranewsletter.com/p/vision-transformers?r=5b5pyd&utm_campaign=post&utm_medium=web
Learn how ViT works from the ground up, and fine-tune one on a real classification dataset.
CNNs process images through small sliding filters. Each filter only sees a tiny local region, and the model has to stack many layers before distant parts of an image can even talk to each other.
Vision Transformers threw that whole approach out.
ViT chops an image into patches, treats each patch like a token, and runs self-attention across the full sequence.
Every patch can attend to every other patch from the very first layer. No stacking required.
That global view from layer one is what made ViT surpass CNNs on large-scale benchmarks.
๐๐ก๐๐ญ ๐ญ๐ก๐ ๐๐ฅ๐จ๐ ๐๐จ๐ฏ๐๐ซ๐ฌ:
- Introduction to Vision Transformers and comparison with CNNs
- Adapting transformers to images: patch embeddings and flattening
- Positional encodings in Vision Transformers
- Encoder-only structure for classification
- Benefits and drawbacks of ViT
- Real-world applications of Vision Transformers
- Hands-on: fine-tuning ViT for image classification
The Image below shows
Self-attention connects every pixel to every other pixel at once. Convolution only sees a small local window. That's why ViT captures things CNNs miss, like the optical illusion painting where distant patches form a hidden face.
The architecture is simple. Split image into patches, flatten them into embeddings (like words in a sentence), run them through a Transformer encoder, and the class token collects info from all patches for the final prediction. Patch in, class out.
Inside attention: each patch (query) compares itself to all other patches (keys), softmax gives attention weights, and the weighted sum of values produces a new representation aware of the full image, visualizes what the CLS token actually attends to through attention heatmaps.
The second half of the blog is hands-on code. I fine-tuned ViT-Base from google (86M params) on the Oxford-IIIT Pet dataset, 37 breeds, ~7,400 images.
๐๐ฅ๐จ๐ ๐๐ข๐ง๐ค
https://vizuaranewsletter.com/p/vision-transformers?r=5b5pyd&utm_campaign=post&utm_medium=web
๐๐จ๐ฆ๐ ๐๐๐ฌ๐จ๐ฎ๐ซ๐๐๐ฌ
ViT paper dissection
https://youtube.com/watch?v=U_sdodhcBC4
Build ViT from Scratch
https://youtube.com/watch?v=ZRo74xnN2SI
Original Paper
https://arxiv.org/abs/2010.11929
https://t.iss.one/CodeProgrammer
โค6
Forwarded from Machine Learning with Python
Follow the Machine Learning with Python channel on WhatsApp: https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
โค5
๐ฑ TorchCode โ a PyTorch training tool for preparing for ML interviews
40 tasks for implementing operators and architectures that are actually asked in interviews. Automatic checking, hints, and reference solutions โ all in the browser without installation.
If you're preparing for an ML interview, it's useful to go through at least half of them.
Link: https://github.com/duoan/TorchCode
tags: #useful #pytorch
https://t.iss.one/CodeProgrammerโ
40 tasks for implementing operators and architectures that are actually asked in interviews. Automatic checking, hints, and reference solutions โ all in the browser without installation.
If you're preparing for an ML interview, it's useful to go through at least half of them.
Link: https://github.com/duoan/TorchCode
tags: #useful #pytorch
https://t.iss.one/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
โค9
SVFR โ a full-fledged framework for restoring faces in videos.
It can:
Essentially, the model takes old or damaged videos and makes them "as if they were shot yesterday". And it's free and open-source.
1. Create an environment
conda create -n svfr python=3.9 -y
conda activate svfr
2. Install PyTorch (for your CUDA)
pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2
3. Install dependencies
pip install -r requirements.txt
4. Download models
conda install git-lfs
git lfs install
git clone https://huggingface.co/stabilityai/stable-video-diffusion-img2vid-xt models/stable-video-diffusion-img2vid-xt
5. Start processing videos
python infer.py \
--config config/infer.yaml \
--task_ids 0 \
--input_path input.mp4 \
--output_dir results/ \
--crop_face_region
Where task_ids:
*
0 โ face enhancement*
1 โ colorization*
2 โ redrawing damageAn ideal tool if:
#python #soft #github
https://t.iss.one/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
โค7๐4
Please open Telegram to view this post
VIEW IN TELEGRAM
โค7๐5๐2๐1
A huge cheat sheet for Python, Django, Plotly, Matplotlib, P.pdf
741 KB
Many topics are covered inside:
https://t.iss.one/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
โค10๐3
Not just another "what is a neural network" course โ this is about how to build combat-ready ML systems around models.
What's inside:
โถ๏ธ Building autograd, optimizers, attention, and mini-PyTorch from scratch;
โถ๏ธ Batches, computational accuracy, architectures, and training;
โถ๏ธ Performance optimization, hardware acceleration, and benchmarking.
You can read the book and the code for free right now.
https://github.com/harvard-edge/cs249r_book
Please open Telegram to view this post
VIEW IN TELEGRAM
โค12๐8๐4๐ฅ1
๐ฑ Python enthusiasts, this is for you โ 15 BEST REPOSITORIES on GitHub for learning Python
โถ๏ธ Awesome Python โ https://github.com/vinta/awesome-python
โ the largest and most authoritative collection of frameworks, libraries, and resources for Python โ a must-save
โถ๏ธ TheAlgorithms/Python โ https://github.com/TheAlgorithms/Python
โ a huge collection of algorithms and data structures written in Python
โถ๏ธ Project-Based-Learning โ https://github.com/practical-tutorials/project-based-learning
โ learning Python (and not only) through real projects
โถ๏ธ Real Python Guide โ https://github.com/realpython/python-guide
โ a high-quality guide to the Python ecosystem, tools, and best practices
โถ๏ธ Materials from Real Python โ https://github.com/realpython/materials
โ a collection of code and projects for Real Python articles and courses
โถ๏ธ Learn Python โ https://github.com/trekhleb/learn-python
โ a reference with explanations, examples, and exercises
โถ๏ธ Learn Python 3 โ https://github.com/jerry-git/learn-python3
โ a convenient guide to modern Python 3 with tasks
โถ๏ธ Python Reference โ https://github.com/rasbt/python_reference
โ cheat sheets, scripts, and useful tips from one of the most respected Python authors
โถ๏ธ 30-Days-Of-Python โ https://github.com/Asabeneh/30-Days-Of-Python
โ a 30-day challenge: from syntax to more complex topics
โถ๏ธ Python Programming Exercises โ https://github.com/zhiwehu/Python-programming-exercises
โ 100+ Python tasks with answers
โถ๏ธ Coding Problems โ https://github.com/MTrajK/coding-problems
โ tasks on algorithms and data structures, including for preparation for interviews
โถ๏ธ Projects โ https://github.com/karan/Projects
โ a list of ideas for pet projects (not just Python). Great for practice
โถ๏ธ 100-Days-Of-ML-Code โ https://github.com/Avik-Jain/100-Days-Of-ML-Code
โ machine learning in Python in the format of a challenge
โถ๏ธ 30-Seconds-of-Python โ https://github.com/30-seconds/30-seconds-of-python
โ useful snippets and tricks for everyday tasks
โถ๏ธ Geekcomputers/Python โ https://github.com/geekcomputers/Python
โ various scripts: from working with the network to automation tasks
React โฅ๏ธ for more posts like this๐
โถ๏ธ Awesome Python โ https://github.com/vinta/awesome-python
โ the largest and most authoritative collection of frameworks, libraries, and resources for Python โ a must-save
โถ๏ธ TheAlgorithms/Python โ https://github.com/TheAlgorithms/Python
โ a huge collection of algorithms and data structures written in Python
โถ๏ธ Project-Based-Learning โ https://github.com/practical-tutorials/project-based-learning
โ learning Python (and not only) through real projects
โถ๏ธ Real Python Guide โ https://github.com/realpython/python-guide
โ a high-quality guide to the Python ecosystem, tools, and best practices
โถ๏ธ Materials from Real Python โ https://github.com/realpython/materials
โ a collection of code and projects for Real Python articles and courses
โถ๏ธ Learn Python โ https://github.com/trekhleb/learn-python
โ a reference with explanations, examples, and exercises
โถ๏ธ Learn Python 3 โ https://github.com/jerry-git/learn-python3
โ a convenient guide to modern Python 3 with tasks
โถ๏ธ Python Reference โ https://github.com/rasbt/python_reference
โ cheat sheets, scripts, and useful tips from one of the most respected Python authors
โถ๏ธ 30-Days-Of-Python โ https://github.com/Asabeneh/30-Days-Of-Python
โ a 30-day challenge: from syntax to more complex topics
โถ๏ธ Python Programming Exercises โ https://github.com/zhiwehu/Python-programming-exercises
โ 100+ Python tasks with answers
โถ๏ธ Coding Problems โ https://github.com/MTrajK/coding-problems
โ tasks on algorithms and data structures, including for preparation for interviews
โถ๏ธ Projects โ https://github.com/karan/Projects
โ a list of ideas for pet projects (not just Python). Great for practice
โถ๏ธ 100-Days-Of-ML-Code โ https://github.com/Avik-Jain/100-Days-Of-ML-Code
โ machine learning in Python in the format of a challenge
โถ๏ธ 30-Seconds-of-Python โ https://github.com/30-seconds/30-seconds-of-python
โ useful snippets and tricks for everyday tasks
โถ๏ธ Geekcomputers/Python โ https://github.com/geekcomputers/Python
โ various scripts: from working with the network to automation tasks
React โฅ๏ธ for more posts like this
Please open Telegram to view this post
VIEW IN TELEGRAM
โค19๐3๐ฅ2๐2
Classical filters & convolution: The heart of computer vision
Before Deep Learning exploded onto the scene, traditional computer vision centered on filters. Filters were small, hand-engineered matrices that you convolved with an image to detect specific features like edges, corners, or textures. In this article, we will dive into the details of classical filters and convolution operation - how they work, why they matter, and how to implement them.
More: https://www.vizuaranewsletter.com/p/classical-filters-and-convolution
Before Deep Learning exploded onto the scene, traditional computer vision centered on filters. Filters were small, hand-engineered matrices that you convolved with an image to detect specific features like edges, corners, or textures. In this article, we will dive into the details of classical filters and convolution operation - how they work, why they matter, and how to implement them.
More: https://www.vizuaranewsletter.com/p/classical-filters-and-convolution
๐ฅ6โค5๐3๐1
What's inside:
โถ๏ธ Analysis of research and step-by-step reproduction of model architectures;
โถ๏ธ Explanation of topics and concepts with interactive visualizations;
โถ๏ธ A progress and achievement system โ what would we do without gamification.
A great option to hone your ML skills in the evening
https://www.tensortonic.com/
Please open Telegram to view this post
VIEW IN TELEGRAM
โค10๐3๐2
๐ $0.15/GB - PROXYFOG.COM โ SCALE WITHOUT LIMITS
๐ Premium Residential & Mobile Proxies
๐ 60M+ Real IPs โ 195 Countries (๐บ๐ธ USA Included)
๐ฐ Prices as low as $0.15/GB
๐ฏ Instant & Precise Country Targeting
๐ Sticky Sessions + Fresh IP on Every Request
โพ๏ธ Balance Never Expires
โก Built for Arbitrage. Automation. Scraping. Scaling.
โก Fast. Stable. High-Performance Infrastructure.
๐ Website: https://tglink.io/13a3b748098cf2
๐ฉ Telegram: https://t.iss.one/proxyfog?utm_source=telegain&utm_medium=cpp&utm_campaign=s1&utm_content=codeprogrammer&utm_term=
Start today. Scale without limits. ๐
๐ Premium Residential & Mobile Proxies
๐ 60M+ Real IPs โ 195 Countries (๐บ๐ธ USA Included)
๐ฐ Prices as low as $0.15/GB
๐ฏ Instant & Precise Country Targeting
๐ Sticky Sessions + Fresh IP on Every Request
โพ๏ธ Balance Never Expires
โก Built for Arbitrage. Automation. Scraping. Scaling.
โก Fast. Stable. High-Performance Infrastructure.
๐ Website: https://tglink.io/13a3b748098cf2
๐ฉ Telegram: https://t.iss.one/proxyfog?utm_source=telegain&utm_medium=cpp&utm_campaign=s1&utm_content=codeprogrammer&utm_term=
Start today. Scale without limits. ๐
โค3๐ฅ2๐1๐1
๐ New Edge for Polymarket Traders: Oracle Lag Sniper
A high-performance, open-source strategy repo is making waves right now among serious Polymarket users: the Oracle Lag Sniper.
๐ Why itโs worth your attention:
โข Exploits oracle timing inefficiencies
โข Built for fast execution & precise entries
โข Fully open-source, inspect, modify, and run it yourself
๐ Check out the repo here:
Oracle Lag Sniper GitHub
Want more early signals like this, plus private insights and rising strategies to stay ahead of the curve? Subscribe to Polymarket Analytics for exclusive access:
Polymarket Analytics Pricing
๐ Donโt just follow the market, get ahead of it.
A high-performance, open-source strategy repo is making waves right now among serious Polymarket users: the Oracle Lag Sniper.
๐ Why itโs worth your attention:
โข Exploits oracle timing inefficiencies
โข Built for fast execution & precise entries
โข Fully open-source, inspect, modify, and run it yourself
๐ Check out the repo here:
Oracle Lag Sniper GitHub
Want more early signals like this, plus private insights and rising strategies to stay ahead of the curve? Subscribe to Polymarket Analytics for exclusive access:
Polymarket Analytics Pricing
๐ Donโt just follow the market, get ahead of it.
โค7๐2๐2
RAG won't work in 2026 if you're still using old approaches.
Yes, many companies are still failing with RAG โ not because they're doing it wrong, but because they're stuck on outdated techniques.
Here's what usually happens: most companies start with a chatbot / chat app when talking about AI implementation. And here RAG becomes key โ to connect their data via a database and enable the chat app to retrieve relevant documents.
But today, RAG is no longer limited to just chats. The applications of RAG are practically limitless, and that's a good thing.
RAG still remains the foundation for everything you build on LLMs and AI agents. The only thing that's changed is the RAG techniques themselves. The old approach no longer works โ more advanced techniques are needed, what's now called advanced RAG.
The essence of RAG is to enrich the system with your data via a database so it can find relevant documents or their parts. The results are simple and often "okay", especially if the documents are well-structured and there aren't many of them.
But when the documents are unstructured and it's important to get not just accurate documents but also the right context, advanced techniques come into play:
- query decomposition
- metadata enrichment
- hybrid indexing
- reranking
- context fusion
These approaches allow the RAG system to find and generate more accurate and contextually relevant answers.
Therefore, advanced RAG is important. RAG isn't dead and can't die. Just use smarter techniques.
Yes, many companies are still failing with RAG โ not because they're doing it wrong, but because they're stuck on outdated techniques.
Here's what usually happens: most companies start with a chatbot / chat app when talking about AI implementation. And here RAG becomes key โ to connect their data via a database and enable the chat app to retrieve relevant documents.
But today, RAG is no longer limited to just chats. The applications of RAG are practically limitless, and that's a good thing.
RAG still remains the foundation for everything you build on LLMs and AI agents. The only thing that's changed is the RAG techniques themselves. The old approach no longer works โ more advanced techniques are needed, what's now called advanced RAG.
The essence of RAG is to enrich the system with your data via a database so it can find relevant documents or their parts. The results are simple and often "okay", especially if the documents are well-structured and there aren't many of them.
But when the documents are unstructured and it's important to get not just accurate documents but also the right context, advanced techniques come into play:
- query decomposition
- metadata enrichment
- hybrid indexing
- reranking
- context fusion
These approaches allow the RAG system to find and generate more accurate and contextually relevant answers.
Therefore, advanced RAG is important. RAG isn't dead and can't die. Just use smarter techniques.
โค3๐2