update max_length for example code
Browse files
README.md
CHANGED
@@ -55,7 +55,10 @@ Hello,
|
|
55 |
|
56 |
Following up on the bubblegum shipment."""
|
57 |
|
58 |
-
generator(
|
|
|
|
|
|
|
59 |
```
|
60 |
- [Link to notebook](https://colab.research.google.com/gist/pszemraj/acadd34e11a8dd9df8e7e25a8ec2537a/email-autocomplete-demo.ipynb) on Colab
|
61 |
> For this model, formatting matters. The results may be (significantly) different between the structure outlined above and `prompt = "Hey, just wanted to ..."` etc.
|
|
|
55 |
|
56 |
Following up on the bubblegum shipment."""
|
57 |
|
58 |
+
generator(
|
59 |
+
prompt,
|
60 |
+
max_length=64,
|
61 |
+
) # generate
|
62 |
```
|
63 |
- [Link to notebook](https://colab.research.google.com/gist/pszemraj/acadd34e11a8dd9df8e7e25a8ec2537a/email-autocomplete-demo.ipynb) on Colab
|
64 |
> For this model, formatting matters. The results may be (significantly) different between the structure outlined above and `prompt = "Hey, just wanted to ..."` etc.
|