Learn PyTorch - a quick code-based summary from PyTorch 60-min Blitz

Tensor Standard NumPy like indexing Joining Tensor Multiplying Tensors 👉🏼 In-place operations Bridge with NumPy NumPy array to Tensor AutoGrad Training a NN Forward Propagation Backward Propagation Adjusts the parameters proportionate to the error Reference: Optimize using gradient descent 3Blue1Brown Single Training Step in PyTorch Differentiation in Autograd Tensor everything is tensor computation happens in compiled c++ code over 300 mathematical operations default float32 seed is used to generate replicable data ...

August 22, 2023 · Rohan

Build NLP Apps, quickly! ⏩

Created an app to to zero shot classification using huggingface 🤗 library. In this app, I created a simple streamlit app to try out the zero-shot-classification pipeline provided by HuggingFace. Please take a look at the code here https://github.com/ygivenx/zero-shot-classifier-app Or try it yourself by running Make sure your docker memory is set to over 6GB. docker pull ygivenx/zero-shot-app docker run -it -p 8501:8501 ygivenx/zero-shot-app

April 27, 2021 · Rohan

So, you got a new Mac 🍺

Update Feb 2024 with Mac OS Sonoma on M3 Pro. I, recently, changed jobs and got a brand new mac. Now, I am a data scientist and I wanted my new mac to be familiar. In this post, I wanted to show what I installed on my new mac to make it somewhat efficient from the get-go. I Hope, this post will help you get started, quickly :) ...

April 26, 2021 · Rohan