Skip to content
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 @@ -200,7 +200,7 @@ for (k, p) in trainables(model, path=true)
end
```

You don't have to use layers, but they can be convient for many simple kinds of models and fast iteration.
You don't have to use layers, but they can be convenient for many simple kinds of models and fast iteration.

The next step is to update our weights and perform optimisation. As you might be familiar, *Gradient Descent* is a simple algorithm that takes the weights and steps using a learning rate and the gradients. `weights = weights - learning_rate * gradient`.

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 @@ -101,7 +101,7 @@ end
```


In addition, we define the function (`accuracy`) to report the accuracy of our model during the training process. To compute the accuray, we need to decode the output of our model using the [onecold](https://fluxml.ai/Flux.jl/stable/data/onehot/#Flux.onecold) function.
In addition, we define the function (`accuracy`) to report the accuracy of our model during the training process. To compute the accuracy, we need to decode the output of our model using the [onecold](https://fluxml.ai/Flux.jl/stable/data/onehot/#Flux.onecold) function.

```julia
function accuracy(dataloader, model)
Expand Down
Loading