diff --git a/.github/workflows/make_docs.yml b/.github/workflows/make_docs.yml index 346104c..4300e47 100644 --- a/.github/workflows/make_docs.yml +++ b/.github/workflows/make_docs.yml @@ -34,6 +34,7 @@ jobs: # - run: pip install jupyter - run: cp *.ipynb docs/ # copy all notebooks to docs folder - run: cp 05_pytorch_going_modular.md docs/ # copy markdown section for 05 to docs folder + - run: cp extras/pytorch_2_intro.ipynb docs/ # copy PyTorch 2.0 section to docs - run: cp extras/pytorch_extra_resources.md docs/ - run: cp extras/pytorch_cheatsheet.ipynb docs/ - run: cp extras/pytorch_most_common_errors.ipynb docs/ diff --git a/02_pytorch_classification.ipynb b/02_pytorch_classification.ipynb index abe3df0..7c6f307 100644 --- a/02_pytorch_classification.ipynb +++ b/02_pytorch_classification.ipynb @@ -956,7 +956,7 @@ "| Stochastic Gradient Descent (SGD) optimizer | Classification, regression, many others. | [`torch.optim.SGD()`](https://pytorch.org/docs/stable/generated/torch.optim.SGD.html) |\n", "| Adam Optimizer | Classification, regression, many others. | [`torch.optim.Adam()`](https://pytorch.org/docs/stable/generated/torch.optim.Adam.html) |\n", "| Binary cross entropy loss | Binary classification | [`torch.nn.BCELossWithLogits`](https://pytorch.org/docs/stable/generated/torch.nn.BCEWithLogitsLoss.html) or [`torch.nn.BCELoss`](https://pytorch.org/docs/stable/generated/torch.nn.BCELoss.html) |\n", - "| Cross entropy loss | Multi-class classification | [`torch.nn.CrossEntropyLoss`](https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html) |\n", + "| Cross entropy loss | Mutli-class classification | [`torch.nn.CrossEntropyLoss`](https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html) |\n", "| Mean absolute error (MAE) or L1 Loss | Regression | [`torch.nn.L1Loss`](https://pytorch.org/docs/stable/generated/torch.nn.L1Loss.html) | \n", "| Mean squared error (MSE) or L2 Loss | Regression | [`torch.nn.MSELoss`](https://pytorch.org/docs/stable/generated/torch.nn.MSELoss.html#torch.nn.MSELoss) | \n", "\n", @@ -2913,7 +2913,7 @@ "id": "f5Ephtx6f1jB" }, "source": [ - "### 8.1 Creating multi-class classification data\n", + "### 8.1 Creating mutli-class classification data\n", "\n", "To begin a multi-class classification problem, let's create some multi-class data.\n", "\n", @@ -3807,7 +3807,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.7" + "version": "3.8.13" } }, "nbformat": 4, diff --git a/mkdocs.yml b/mkdocs.yml index 89a5b69..01664ed 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -42,6 +42,7 @@ nav: - 07. PyTorch Experiment Tracking: '07_pytorch_experiment_tracking.ipynb' - 08. Replicating Machine Learning Research Papers with PyTorch: '08_pytorch_paper_replicating.ipynb' - 09. Deploying PyTorch Machine Learning Models: '09_pytorch_model_deployment.ipynb' + - A Quick PyTorch 2 Tutorial: 'pytorch_2_intro.ipynb' - PyTorch Extra Resources: 'pytorch_extra_resources.md' - PyTorch Cheatsheet: 'pytorch_cheatsheet.ipynb' - Three Most Common PyTorch Errors: 'pytorch_most_common_errors.ipynb'