This is my repository for AI and ML work. I've been doing this work off-and on since 2022, largely motivated by the release of Stable Diffusion and later ChatGPT.
Why post this code? Neural networks have been used in some really clever ways and learning the algorithms and strategies is fun. Working on them full time will be my day job one of these days. It is helpful to have notes! You may find them helpful too.
I try to create examples using both TensorFlow and PyTorch, which are popular frameworks. Likely what you'd use professionally. Hugging Face has Tasks are many great examples that use the previously mentioned frameworks too.
Most code examples are in Python but I'll also include some Java, C/C++ CUDA and Linux CLI. AWS and ChatGPT's API are used too. These too are the main methods you'd likely use professionally.
These are all a mix of examples you should be able to easily run yourself.
- Use OpenAI/ChatGPT's API with AWS Lambda
- Stable diffusion using just your CPU (doing it the slow way!)
- Classifying handwritten numbers by remaking LeNet-5 and MNIST using PyTorch
Notes from review of related topics, manuscripts, documentation and, generally other interesting resources to learn from.
- High-Resolution Image Synthesis with Latent Diffusion Models by R. Rombach et al. 2022