{"id":14482780,"url":"https://github.com/dair-ai/pytorch_notebooks","last_synced_at":"2025-08-30T03:32:12.246Z","repository":{"id":44989106,"uuid":"232225683","full_name":"dair-ai/pytorch_notebooks","owner":"dair-ai","description":"🔥 A collection of PyTorch notebooks for learning and practicing deep learning","archived":false,"fork":true,"pushed_at":"2023-01-08T13:40:58.000Z","size":521,"stargazers_count":575,"open_issues_count":0,"forks_count":105,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-08-19T12:53:21.287Z","etag":null,"topics":["deep-learning","machine-learning","nlp","pytorch"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"omarsar/pytorch_notebooks","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dair-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["dair-ai"],"patreon":null,"open_collective":"dairai","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-01-07T02:25:49.000Z","updated_at":"2025-08-08T00:29:39.000Z","dependencies_parsed_at":"2023-02-08T06:00:49.993Z","dependency_job_id":null,"html_url":"https://github.com/dair-ai/pytorch_notebooks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dair-ai/pytorch_notebooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dair-ai%2Fpytorch_notebooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dair-ai%2Fpytorch_notebooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dair-ai%2Fpytorch_notebooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dair-ai%2Fpytorch_notebooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dair-ai","download_url":"https://codeload.github.com/dair-ai/pytorch_notebooks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dair-ai%2Fpytorch_notebooks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272800741,"owners_count":24995138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","machine-learning","nlp","pytorch"],"created_at":"2024-09-03T00:01:17.375Z","updated_at":"2025-08-30T03:32:11.931Z","avatar_url":"https://github.com/dair-ai.png","language":"Jupyter Notebook","funding_links":["https://github.com/sponsors/dair-ai","https://opencollective.com/dairai"],"categories":["Jupyter Notebook"],"sub_categories":[],"readme":"# PyTorch Notebooks\nA collection of PyTorch notebooks for studying and practicing deep learning. Each notebook contains a set of exercises that are specifically designed to engage and encourage the learner to conduct more research and experiments. (Work in progress!)\n\n\u003ctable class=\"tg\"\u003e\n  \u003ctr\u003e\n    \u003cth class=\"tg-yw4l\"\u003e\u003cb\u003eName\u003c/b\u003e\u003c/th\u003e\n    \u003cth class=\"tg-yw4l\"\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/th\u003e\n    \u003cth class=\"tg-yw4l\"\u003e\u003cb\u003eCategory\u003c/b\u003e\u003c/th\u003e\n    \u003cth class=\"tg-yw41\"\u003e\u003cb\u003eLevel\u003c/b\u003e\u003c/th\u003e\n    \u003cth class=\"tg-yw4l\"\u003e\u003cb\u003eNotebook \u003c/b\u003e\u003c/th\u003e\n    \u003cth class=\"tg-yw4l\"\u003e\u003cb\u003eBlog \u003c/b\u003e\u003c/th\u003e\n    \n  \u003c/tr\u003e\n  \n  \u003ctr\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eImplementing a Logistic Regression Model from Scratch\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eLearn how to implement the fundamental building blocks of a neural network using PyTorch.\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eMachine Learning\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eBeginner\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://colab.research.google.com/drive/1AWXvwvyoOczCugTTULLbIPYIh2_GS2Aq\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" width = '' \u003e\n\u003c/a\u003e\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://medium.com/dair-ai/implementing-a-logistic-regression-model-from-scratch-with-pytorch-24ea062cd856?source=friends_link\u0026sk=49dcddb17d1d021d2d677f3666c884636\"\u003eread\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \n  \n  \u003ctr\u003e\n    \u003ctd class=\"tg-yw4l\"\u003ePyTorch Hello World\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eCreate a hello world for deep learning using PyTorch.\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eDeep Learning\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eBeginner\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://colab.research.google.com/drive/1ac0K9_aa46c77XEeYtaMAfSOfmH1Bl9L\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" width = '' \u003e\n\u003c/a\u003e\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://medium.com/dair-ai/a-first-shot-at-deep-learning-with-pytorch-4a8252d30c75?sk=729868741e9809dc3bba6e28a4d7af10\"\u003eread\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \n  \u003ctr\u003e\n    \u003ctd class=\"tg-yw4l\"\u003ePyTorch Quickstart\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eLearn about PyTorch's basic building blocks to build and train a CNN model for image classification.\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eImage Classification\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eIntermediate\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://colab.research.google.com/github/omarsar/pytorch_notebooks/blob/master/pytorch_quick_start.ipynb\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" width = '' \u003e\n\u003c/a\u003e\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://medium.com/dair-ai/pytorch-1-2-quickstart-with-google-colab-6690a30c38d\"\u003eread\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eA Gentle Introduction to PyTorch 1.2\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eThis comprehensive tutorial aims to introduce the fundamentals of PyTorch building blocks for training neural networks.\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eNeural Networks\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eBeginner\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://colab.research.google.com/github/omarsar/pytorch_notebooks/blob/master/A_Gentle_Introduction_to_PyTorch_1_2.ipynb\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" width = '' \u003e\n\u003c/a\u003e\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://medium.com/dair-ai/pytorch-1-2-introduction-guide-f6fa9bb7597c\"\u003eread\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \n  \u003ctr\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eBuilding RNNs is Fun with PyTorch\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eThis notebook teaches you how to build a recurrent neural network (RNN) with a single layer, consisting of one single neuron. It also teaches how to implement a simple RNN-based model for image classification.\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eNeural Networks\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eBeginner\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://colab.research.google.com/drive/1NVuWLZ0cuXPAtwV4Fs2KZ2MNla0dBUas#scrollTo=FD98PsQi8CRv\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" width = '' \u003e\n\u003c/a\u003e\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://medium.com/dair-ai/building-rnns-is-fun-with-pytorch-and-google-colab-3903ea9a3a79\"\u003eread\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \n   \u003ctr\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eA Simple Neural Network from Scratch with PyTorch and Google Colab\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eIn this tutorial we implement a simple neural network from scratch using PyTorch.\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eNeural Networks\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eBeginner\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://colab.research.google.com/drive/109gHWFUlUzuwhgXROpzIuVoSPZA_qeoy?authuser=1\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" width = '' \u003e\n\u003c/a\u003e\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://medium.com/dair-ai/a-simple-neural-network-from-scratch-with-pytorch-and-google-colab-c7f3830618e0\"\u003eread\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \n  \u003ctr\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eNLP Basics\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eIn this tutorial we show the basics of preparing your textual data for NLP.\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eNLP\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eBeginner\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://colab.research.google.com/drive/1sGmZht-ewnLglPwYPDWFWxSk3P-yFJ_d\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" width = '' \u003e\n\u003c/a\u003e\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"\"\u003ecoming soon!\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \n  \n   \u003ctr\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eDeep Learning for NLP\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eIn this notebook we are going to use deep learning (RNN model) for approaching NLP tasks.\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eDeep Learning NLP\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eBeginner\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://colab.research.google.com/drive/1xEzL8mK7oUnjkgbnANBPvLwdTSZAyDGF\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" width = '' \u003e\n\u003c/a\u003e\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"\"\u003ecoming soon!\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \n  \n   \u003ctr\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eNeural Machine Translation with Attention using PyTorch\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eIn this notebook we are going to perform neural machine translation using a deep learning based approach and attention mechanism.\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eDeep Learning NLP\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eAdvanced\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://colab.research.google.com/drive/1uFJBO1pgsiFwCGIJwZlhUzaJ2srDbtw-\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" width = '' \u003e\n\u003c/a\u003e\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"\"\u003ecoming soon!\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \n  \n  \u003ctr\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eFine-tuning BERT Language Model for English Sentiment Classification\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eIn this tutorial we demonstrate how to fine-tune BERT-based model for sentiment classification.\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eDeep Learning NLP\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eIntermediate\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://colab.research.google.com/drive/1wEPiGXToKfuNFGEjjoJsqlssuSbV8EU8\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" width = '' \u003e\n\u003c/a\u003e\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"\"\u003ecoming soon!\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \n  \n   \u003ctr\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eFine-tuning BERT Language Model for English Emotion Classification\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eIn this tutorial we demonstrate how to fine-tune BERT-based model for multiclass emotion classification.\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eDeep Learning NLP\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eAdvanced\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://colab.research.google.com/drive/1nwCE6b9PXIKhv2hvbqf1oZKIGkXMTi1X\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" width = '' \u003e\n\u003c/a\u003e\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"\"\u003ecoming soon!\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \n  \u003ctr\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eText Similarity Search using Pretrained Language Models\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eIn this tutorial we show how to build a simple text similarity search application using pretrained language models and Elasticsearch.\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eDeep Learning NLP Applications\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eAdvanced\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://colab.research.google.com/drive/1ORIAvdM86mFCU79SSwZD09vaH_oGes1z\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" width = '' \u003e\n\u003c/a\u003e\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"\"\u003ecoming soon!\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \n  \u003ctr\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eSpinal Cord Gray Matter Segmentation Using PyTorch\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eIn this notebook we are going to explore a medical imaging open-source library known as MedicalTorch, which was built on top of PyTorch.\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eDeep Learning in Medicine\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003eAdvanced\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"https://colab.research.google.com/drive/12A0Bm8HzeBuImAKbDuJSzAwDTsezHHeW\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" width = '' \u003e\n\u003c/a\u003e\u003c/td\u003e\n    \u003ctd class=\"tg-yw4l\"\u003e\u003ca href=\"\"\u003ecoming soon!\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \n  \n\u003c/table\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdair-ai%2Fpytorch_notebooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdair-ai%2Fpytorch_notebooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdair-ai%2Fpytorch_notebooks/lists"}