mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-29 18:26:37 +08:00
nits
This commit is contained in:
parent
29e642a482
commit
e899271275
@ -27,13 +27,13 @@ The `<model>` can be any of the following:
|
|||||||
|
|
||||||
## Generate
|
## Generate
|
||||||
|
|
||||||
To gneerate text with the model, use the `t5.py` script:
|
Generate text with:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
python t5.py --model t5-small --prompt "translate English to German: A tasty apple"
|
python t5.py --model t5-small --prompt "translate English to German: A tasty apple"
|
||||||
```
|
```
|
||||||
|
|
||||||
Should give the output: `Ein schmackhafter Apfel`
|
This should give the output: `Ein schmackhafter Apfel`
|
||||||
|
|
||||||
To see a list of options run:
|
To see a list of options run:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user