Skip to content

Fix Typos in Old Tutorials Documentation #2610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/old_tutorials/2024-04-10-blitz.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ Flux comes with a bunch of pre-defined optimisers and makes writing our own real
opt_state = Flux.setup(Descent(η), model)
```

Training a network reduces down to iterating on a dataset mulitple times, performing these steps in order. Just for a quick implementation, let’s train a network that learns to predict `0.5` for every input of 10 floats. `Flux` defines the `train!` function to do it for us.
Training a network reduces down to iterating on a dataset multiple times, performing these steps in order. Just for a quick implementation, let’s train a network that learns to predict `0.5` for every input of 10 floats. `Flux` defines the `train!` function to do it for us.

```julia
data, labels = rand(10, 100), fill(0.5, 2, 100)
Expand Down
2 changes: 1 addition & 1 deletion docs/old_tutorials/2024-04-10-mlp.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ train()

`train` performs the following steps:

* **Initializes the model parameters:** Creates the `args` object that contains the defult values for training our model.
* **Initializes the model parameters:** Creates the `args` object that contains the default values for training our model.
* **Loads the train and test data:** Calls the function `getdata` we defined above.
* **Constructs the model:** Builds the model and loads the train and test data sets, and our model onto the GPU (if available).
* **Trains the model:** Sets [Adam](@ref Optimisers.Adam) as the optimiser for training out model, runs the training process for `10` epochs (as defined in the `args` object) and shows the `accuracy` value for the train and test data.
Expand Down
Loading