Still Paying Per Course? Get Every Coursera Certificate for ₹7,999
Foundations for Product Management Success
Overview
Why Pay Per Course When You Can Get All of Coursera for 40% Off?
10,000+ courses, Google, IBM & Meta certificates, one annual plan at 40% off. Upgrade now.
Get Full Access
Explore the hidden dangers of loading open-source AI models in this eye-opening video. Discover how a seemingly innocent act of loading a model can potentially execute arbitrary code on your machine. Delve into the intricacies of Hugging Face model loading, the connection between PyTorch and pickle, and the inner workings of pickle data saving. Learn how to execute arbitrary code and examine the final code implementation. Gain valuable insights on protecting yourself from potential security risks associated with open-source AI models. This informative presentation covers essential topics for AI practitioners and enthusiasts, including model loading processes, data serialization, and cybersecurity best practices in the context of artificial intelligence.
Syllabus
- Introduction
- Sponsor: Weights & Biases
- How Hugging Face models are loaded
- From PyTorch to pickle
- Understanding how pickle saves data
- Executing arbitrary code
- The final code
- How can you protect yourself?
Taught by
Yannic Kilcher