This commit is contained in:
Awni Hannun 2023-12-18 11:01:16 -08:00
parent 29e642a482
commit e899271275

View File

@ -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: