Machine Learning with Python
68.1K subscribers
1.38K photos
116 videos
182 files
1.07K 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
πŸ“± 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 βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
❀9
⚑️ Colorizing old black-and-white videos and "bringing faces to life" for FREE

SVFR β€” a full-fledged framework for restoring faces in videos.

It can:
πŸ’¬ BFR β€” improve blurry faces.
πŸ’¬ Colorization β€” colorize black-and-white videos.
πŸ’¬ Inpainting β€” redraw damaged areas.
πŸ’¬ and combine all of this in one pass.

Essentially, the model takes old or damaged videos and makes them "as if they were shot yesterday". And it's free and open-source.

βš™οΈ Installation locally:

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 damage

An ideal tool if:
🟒you're restoring archival videos;
🟒you're creating historical content;
🟒you're working with neural networks and video effects;
🟒you want a wow result without paid services.

▢️ Demo on Hugging Face

β™ŽοΈ GitHub/Instructions

#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
πŸ“± A huge cheat sheet for Python, Django, Plotly, Matplotlib, Pygame

Many topics are covered inside:
πŸ”Έ All basic constructs: variables, conditions, loops, lists, dictionaries, functions, and classes β€” with clear examples;

πŸ”Έ Working with files, exceptions, and data input β€” understandable even for beginners;

πŸ”Έ #Django, #Pygame, #Matplotlib, and #Plotly β€” brief instructions on how to get started with each of the frameworks;

πŸ”Έ Tips on #Git, project structure, and unit testing.

https://t.iss.one/CodeProgrammer ❀️
Please open Telegram to view this post
VIEW IN TELEGRAM
❀11πŸ‘3
πŸ—‚ Harvard has released a textbook on ML systems β€” from autograd to production

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.

✈️ Link to GitHub
https://github.com/harvard-edge/cs249r_book
Please open Telegram to view this post
VIEW IN TELEGRAM
❀13πŸŽ‰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 πŸ’›
Please open Telegram to view this post
VIEW IN TELEGRAM
❀20πŸ‘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
πŸ”₯6❀5πŸ‘3πŸŽ‰1
πŸ’Ύ TensorTonic β€” a platform with 200+ algorithms and tasks for ML developers

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
❀11πŸ‘2πŸŽ‰2πŸ”₯1
πŸš€ $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. πŸš€
❀3πŸ”₯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.
πŸ‘5❀4