File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -109,14 +109,13 @@ For more information run `python torchchat.py eval --help`
109
109
** Examples**
110
110
Eager mode:
111
111
```
112
- # Eval example for Mac with some parameters
113
- python -m torchchat.py eval --device cuda --checkpoint-path ${MODEL_PATH} -d fp32 --limit 5
112
+ python torchchat.py eval --checkpoint-path ${MODEL_PATH} -d fp32 --limit 5
114
113
```
115
114
116
- To test the perplexity for lowered or quantized model, pass it in the same way you would to generate.py :
115
+ To test the perplexity for lowered or quantized model, pass it in the same way you would to generate:
117
116
118
117
```
119
- python3 -m torchchat.py eval --pte < pte> -p <params.json> -t <tokenizer.model> --limit 5
118
+ python torchchat.py eval --pte-path stories15m. pte --params-table <params.json> --tokenizer-path <tokenizer.model> --limit 5
120
119
```
121
120
## Models
122
121
These are the supported models
You can’t perform that action at this time.
0 commit comments