add example explanation
Browse files
app.py
CHANGED
|
@@ -74,6 +74,9 @@ if __name__ == "__main__":
|
|
| 74 |
[`compute_transition_scores`](https://huggingface.co/docs/transformers/main/en/main_classes/text_generation#transformers.GenerationMixin.compute_transition_scores),
|
| 75 |
which was added in `transformers` v4.26.0.
|
| 76 |
|
|
|
|
|
|
|
|
|
|
| 77 |
🤗 Feel free to clone this demo and modify it to your needs 🤗
|
| 78 |
"""
|
| 79 |
)
|
|
|
|
| 74 |
[`compute_transition_scores`](https://huggingface.co/docs/transformers/main/en/main_classes/text_generation#transformers.GenerationMixin.compute_transition_scores),
|
| 75 |
which was added in `transformers` v4.26.0.
|
| 76 |
|
| 77 |
+
⚠️ For instance, with the pre-populated input and its color coded output, you can see that
|
| 78 |
+
`google/flan-t5-base` struggles with arithmetics.
|
| 79 |
+
|
| 80 |
🤗 Feel free to clone this demo and modify it to your needs 🤗
|
| 81 |
"""
|
| 82 |
)
|