Update README.md

main
randaller 3 years ago committed by GitHub
parent 82dd63655b
commit 08d0535f81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -89,6 +89,7 @@ python example-chat.py ./model ./tokenizer/tokenizer.model
By default, Meta provided us with top_p sampler only. Again, Shawn added an alternate top_k sampler, which (in my tests) performs pretty well. If you wish to switch to top_k sampler, use the following parameters:
```
temperature: float = 0.7,
top_p: float = 0.0,
top_k: int = 40,
sampler: str = 'top_k',

Loading…
Cancel
Save