Foundational skills in Python for deep learning
The objective of these workshops is to develop foundational skills in basic Python and pandas to faciliate work with deep learning frameworks - primarily HuggingFace. This workshop will cover Python basics - including basic data types and data structures, conditional execution, looping, and functions. We'll then move into using pandas, the premier package for data analysis in Python to faciliate simpler manipulation of data for usage with transformers. Lastly, we'll focus on applying these foundational skills to understanding APIs by examining the broader topic of object-oriented programming. This will not be an exhaustive overview of Python, but is intended to introduce concepts relevant for using and understanding deep learning APIs and tutorials.
Open-source packages stand on the shoulders of giants. The content for these workshops was developed in conjunction with a number of resources specifically from Jake VanderPlas and the Software Carpentries. These resources are provided below, and provide expansive information on Python and data science packages. The Software Carpentry resource in particular provides instruction, examples, exercises, and solutions; make sure to review this resource to learn more about common analysis tasks using Python
Day 1
- Python data types
- Python data structures
- Programming using Python
Day 2
- Reading in data
- Pandas data structures
- Selected operations:
- selecting data
- filtering rows of data
- creating new computations on the data
- summarising the data
- Joining data
- Conversion to Python data structures
Day 3
- Conceptual object-oriented programming
- Examining APIs
- Applications of Python and pandas topics to HuggingFace
During these workshops, we'll have a number of breakout rooms where you'll work with others for discussion or develop code to solve an assignment. Please screenshot or paste your results in the following Google doc:
https://docs.google.com/document/d/12oTzNynYDFmnu2arVQYUZoeupl8mgt1YlanRb8R-0yM/edit?usp=sharing
Video recordings of these workshops can be found at the links below:
- Day 1: https://www.youtube.com/watch?v=9_7K9_bUCww
- Day 2: https://www.youtube.com/watch?v=eY2YQ4qQUSM
- Day 3: Coming Soon!
A number of examples will be left to the reader. Please complete these assignments prior to coming to the next workshop. These will help in developing intuition and understanding for the next workshop topics.