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.me/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.me/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.me/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.me/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.me/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❤8👍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.me/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
❤11👍5
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
❤13🎉8👍5🔥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
❤21👍4🔥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👍4🎉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
❤12👍2🔥2🎉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.me/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.me/proxyfog?utm_source=telegain&utm_medium=cpp&utm_campaign=s1&utm_content=codeprogrammer&utm_term=
Start today. Scale without limits. 🚀
❤4🔥2👍1👎1
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.
❤5👍5
🐼 Cheat Sheet on Data Wrangling — for everyone who works with Pandas
Everything you need is collected in one file: creating and merging DataFrames, filtering, grouping, handling missing values, and visualization.
It's convenient when you need to quickly refresh your syntax and don't want to dig into the documentation.
The cheat sheet in good quality
https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf
tags: #useful
For more please ❤️
➡ https://t.me/CodeProgrammer
Everything you need is collected in one file: creating and merging DataFrames, filtering, grouping, handling missing values, and visualization.
It's convenient when you need to quickly refresh your syntax and don't want to dig into the documentation.
The cheat sheet in good quality
https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf
tags: #useful
For more please ❤️
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❤9👍2👏2
Forwarded from Learn Python Hub
#MIT has made courses in key CS areas publicly available. #Python, #algorithms, #ML, neural networks, #OS, #databases, #mathematics — all can be completed for free directly on #YouTube.
tags: #courses
Please open Telegram to view this post
VIEW IN TELEGRAM
❤9
Forwarded from Machine Learning with Python
Follow the Machine Learning with Python channel on WhatsApp: https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
❤6
Forwarded from Data Analytics
SQL Basics.pdf
102.8 KB
💻 Collection of cheat sheets on SQL
I've gathered for you short and understandable cheat sheets on the main topics:
▶️ Basics of the SQL language;
▶️ JOINs with clear examples;
▶️ Window functions;
▶️ SQL for data analysis.
An excellent set to refresh your knowledge before a job interview or quickly recall the syntax.
tags: #sql #useful
https://t.me/DataAnalyticsX
I've gathered for you short and understandable cheat sheets on the main topics:
▶️ Basics of the SQL language;
▶️ JOINs with clear examples;
▶️ Window functions;
▶️ SQL for data analysis.
An excellent set to refresh your knowledge before a job interview or quickly recall the syntax.
tags: #sql #useful
https://t.me/DataAnalyticsX
❤8