Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,5 +9,29 @@ app_file: app.py
|
|
| 9 |
pinned: false
|
| 10 |
license: ecl-2.0
|
| 11 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 9 |
pinned: false
|
| 10 |
license: ecl-2.0
|
| 11 |
---
|
| 12 |
+
# Text Generation Models Comparison
|
| 13 |
+
|
| 14 |
+
## Description
|
| 15 |
+
|
| 16 |
+
This is a test model for you to play with to compare two different text generation models.
|
| 17 |
+
## How to Use
|
| 18 |
+
|
| 19 |
+
1. **Enter a Prompt:** Type a sentence or phrase into the prompt textbox.
|
| 20 |
+
2. **Adjust Parameters (you'll do this in the colab in the classroom files :):**
|
| 21 |
+
- **Temperature:** Controls the randomness of the output.
|
| 22 |
+
- **Top-p:** Controls the diversity of the output.
|
| 23 |
+
3. **Generate Text:** Click the "Submit" button to see the models' outputs.
|
| 24 |
+
|
| 25 |
+
## Examples
|
| 26 |
+
|
| 27 |
+
- **Prompt:**
|
| 28 |
+
- "Once upon a time"
|
| 29 |
+
- "The best day of the week is"
|
| 30 |
+
- "And then I said 'mm-mm', and you looked at me as if I had"
|
| 31 |
+
- **Temperature:** 0.7
|
| 32 |
+
- **Top-p:** 0.9
|
| 33 |
+
|
| 34 |
+
## Acknowledgments
|
| 35 |
+
|
| 36 |
+
- Built with [Gradio](https://gradio.app/) and [Transformers](https://huggingface.co/transformers/).
|
| 37 |
|
|
|