Skip to content

Commit 1ec69e6

Browse files
authored
Fix Typos in Old Tutorials Documentation (#2610)
* Update 2024-04-10-blitz.md * Update 2024-04-10-mlp.md
1 parent 676c816 commit 1ec69e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/old_tutorials/2024-04-10-blitz.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Flux comes with a bunch of pre-defined optimisers and makes writing our own real
219219
opt_state = Flux.setup(Descent(η), model)
220220
```
221221

222-
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.
222+
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.
223223

224224
```julia
225225
data, labels = rand(10, 100), fill(0.5, 2, 100)

docs/old_tutorials/2024-04-10-mlp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ train()
156156

157157
`train` performs the following steps:
158158

159-
* **Initializes the model parameters:** Creates the `args` object that contains the defult values for training our model.
159+
* **Initializes the model parameters:** Creates the `args` object that contains the default values for training our model.
160160
* **Loads the train and test data:** Calls the function `getdata` we defined above.
161161
* **Constructs the model:** Builds the model and loads the train and test data sets, and our model onto the GPU (if available).
162162
* **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.

0 commit comments

Comments
 (0)