Introduction to Deep RL and DQN
Link: https://www.dailydoseofds.com/rl-course-part-6/
π€ #DeepRL #DQN #ReinforcementLearning #AI #MachineLearning #DataScience
β¨ 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
Link: https://www.dailydoseofds.com/rl-course-part-6/
π€ #DeepRL #DQN #ReinforcementLearning #AI #MachineLearning #DataScience
β¨ 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
Optimizing the model's performance through Prompt Tuning with the PEFT library.
β¨ Full-fledged fine-tuning of language models requires a huge amount of video memory and completely overwrites the network's weights. We will apply the Prompt Tuning method (retraining virtual token prompts), which freezes the main model and adjusts only a tiny matrix of virtual embeddings. This allows adapting AI to a narrow task using a regular user's graphics card and without the risk of destroying the neural network's basic knowledge.
π¦ First, we will install the necessary libraries for working with transformers and effective fine-tuning methods (PEFT).
β The packages have been successfully installed in the system and are ready for configuring lightweight training. We will create a basic Prompt Tuning configuration for training just twenty virtual tokens instead of billions of model parameters.
π The configuration is initialized and links the text prompt to the trainable virtual embeddings. We will wrap the base model in a PEFT container to freeze the main weights and leave only the new tokens available for gradient descent.
π The model is ready for training, and the percentage of active parameters will be displayed on the screen (usually less than 0.01%).
π Expected output: PEFT Setup: OK
π‘ Prompt Tuning β an ideal choice when you need to train a model for many different customers or tasks simultaneously. Instead of gigabyte-sized copies of neural networks, you store only lightweight configuration files weighing a few kilobytes, dynamically substituting them at inference.
#PromptTuning #PEFT #AI #MachineLearning #DeepLearning #DataScience
β¨ 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
β¨ Full-fledged fine-tuning of language models requires a huge amount of video memory and completely overwrites the network's weights. We will apply the Prompt Tuning method (retraining virtual token prompts), which freezes the main model and adjusts only a tiny matrix of virtual embeddings. This allows adapting AI to a narrow task using a regular user's graphics card and without the risk of destroying the neural network's basic knowledge.
π¦ First, we will install the necessary libraries for working with transformers and effective fine-tuning methods (PEFT).
pip install torch transformers peft
β The packages have been successfully installed in the system and are ready for configuring lightweight training. We will create a basic Prompt Tuning configuration for training just twenty virtual tokens instead of billions of model parameters.
from peft import PromptTuningConfig, PromptTuningInit, get_peft_model
from transformers import AutoModelForCausalLM
peft_config = PromptTuningConfig(
task_type="CAUSAL_LM",
prompt_tuning_init=PromptTuningInit.TEXT,
num_virtual_tokens=20,
prompt_tuning_init_text="Classify the sentiment of this text:",
tokenizer_name_or_path="gpt2"
)
π The configuration is initialized and links the text prompt to the trainable virtual embeddings. We will wrap the base model in a PEFT container to freeze the main weights and leave only the new tokens available for gradient descent.
base_model = AutoModelForCausalLM.from_pretrained("gpt2")
peft_model = get_peft_model(base_model, peft_config)
peft_model.print_trainable_parameters()π The model is ready for training, and the percentage of active parameters will be displayed on the screen (usually less than 0.01%).
python3 -c "from peft import PromptTuningConfig; print('PEFT Setup: OK')"π Expected output: PEFT Setup: OK
pip uninstall peft -y
π‘ Prompt Tuning β an ideal choice when you need to train a model for many different customers or tasks simultaneously. Instead of gigabyte-sized copies of neural networks, you store only lightweight configuration files weighing a few kilobytes, dynamically substituting them at inference.
#PromptTuning #PEFT #AI #MachineLearning #DeepLearning #DataScience
β¨ 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
Telegram
AI PYTHON π
Youβve been invited to add the folder βAI PYTHON πβ, which includes 15 chats.
β€4π₯1
If you want to finally understand how neural networks actually learn, I recommend these notes from Stanford CS224N. π§
"Computing Neural Network Gradients" explains the calculation of gradients and backpropagation without black-box formulas. π
Inside:
β’ Chain Rule
β’ Computational Graphs
β’ Vectorized derivatives
β’ Efficient gradient calculation
β’ Step-by-step examples with formula analysis
Many people use PyTorch or TensorFlow every day, but never understood what happens after calling .backward(). π₯
These notes just fill this gap. π οΈ
PDF:
https://web.stanford.edu/class/cs224n/readings/gradient-notes.pdf
#NeuralNetworks #DeepLearning #StanfordCS #Backpropagation #MachineLearning #AIResearch
β¨ 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
"Computing Neural Network Gradients" explains the calculation of gradients and backpropagation without black-box formulas. π
Inside:
β’ Chain Rule
β’ Computational Graphs
β’ Vectorized derivatives
β’ Efficient gradient calculation
β’ Step-by-step examples with formula analysis
Many people use PyTorch or TensorFlow every day, but never understood what happens after calling .backward(). π₯
These notes just fill this gap. π οΈ
PDF:
https://web.stanford.edu/class/cs224n/readings/gradient-notes.pdf
#NeuralNetworks #DeepLearning #StanfordCS #Backpropagation #MachineLearning #AIResearch
β¨ 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
β€2
Forwarded from Machine Learning with Python
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://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
#DataScience #AI #MachineLearning #LLM #TechJobs #InterviewPrep
π‘ Here is your curated list for Data Science interviews!
β¨ 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
#DataScience #AI #MachineLearning #LLM #TechJobs #InterviewPrep
β€4
Forwarded from Machine Learning with Python
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://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
π 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://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
GitHub
GitHub - dair-ai/ML-Course-Notes: π Sharing machine learning course / lecture notes.
π Sharing machine learning course / lecture notes. - dair-ai/ML-Course-Notes
β€3
If you already have 200 open tabs with courses, articles, and GitHub repositories on ML, this repository might save the situation a bit. π
Awesome Machine Learning Resources is a huge collection of sub-collections on machine learning, deep learning, and AI. π€
Instead of endless Google searches, everything is organized into categories:
β’ fundamentals of machine learning
β’ neural networks and modern architectures
β’ tasks and application areas
β’ datasets
β’ libraries and tools
β’ fairness and AI ethics
β’ production ML and MLOps
Each link has a short description, so you can quickly understand whether it's worth opening it or skipping it. π
I particularly liked that the authors mark abandoned collections with an icon if they haven't been updated in over a year. β οΈ
https://github.com/ZhiningLiu1998/awesome-machine-learning-resources
#MachineLearning #DeepLearning #AI #MLOps #DataScience #TechResources
β¨ 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
Awesome Machine Learning Resources is a huge collection of sub-collections on machine learning, deep learning, and AI. π€
Instead of endless Google searches, everything is organized into categories:
β’ fundamentals of machine learning
β’ neural networks and modern architectures
β’ tasks and application areas
β’ datasets
β’ libraries and tools
β’ fairness and AI ethics
β’ production ML and MLOps
Each link has a short description, so you can quickly understand whether it's worth opening it or skipping it. π
I particularly liked that the authors mark abandoned collections with an icon if they haven't been updated in over a year. β οΈ
https://github.com/ZhiningLiu1998/awesome-machine-learning-resources
#MachineLearning #DeepLearning #AI #MLOps #DataScience #TechResources
β¨ 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
β€2