Skip to content
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

Typo suggestions for: Update tutorial.md #14

Closed
wants to merge 1 commit into from
Closed
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
6 changes: 3 additions & 3 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ In this tutorial, you will learn how to run a simple handwritten digit recogniti

## Train

First train a DNN model using Pytorch, the training part is shown in `mlgo/examples/mnist/trainning/mnist.ipynb`
First train a DNN model using Pytorch, the training part is shown in `mlgo/examples/mnist/training/mnist.ipynb`
and then save the model at `mlgo/examples/mnist/models/mnist/mnist-small.state_dict`

## Model Format Conversion
Expand All @@ -30,7 +30,7 @@ To build a ML program in MIPS VM, just run `mlgo/examples/mnist_mips/build.sh`

## Construct VM Image

The user who proposes a ML inference request should first construct a initial VM image
The user who proposes a ML inference request should first construct an initial VM image

```shell
mlvm/mlvm --outputGolden --basedir=/tmp/cannon --program="$PROGRAM_PATH" --model="$MODEL_PATH" --data="$DATA_PATH" --mipsVMCompatible
Expand Down Expand Up @@ -67,4 +67,4 @@ done
Finally, the bisection protocol will help to locate the dispute step, the step will be sent to the arbitration contract on the blockchain.
```shell
npx hardhat run scripts/assert.js --network localhost
```
```