Spaces:
Runtime error
Runtime error
title: Compare Models Text Completion | |
emoji: 🐢 | |
colorFrom: yellow | |
colorTo: red | |
sdk: gradio | |
sdk_version: 4.44.0 | |
app_file: app.py | |
pinned: false | |
license: ecl-2.0 | |
# Text Generation Models Comparison | |
## Description | |
This is a test model for you to play with to compare two different text generation models. | |
## How to Use | |
1. **Enter a Prompt:** Type a sentence or phrase into the prompt textbox. | |
2. **Adjust Parameters (you'll do this in the colab in the classroom files :):** | |
- **Temperature:** Controls the randomness of the output. | |
- **Top-p:** Controls the diversity of the output. | |
3. **Generate Text:** Click the "Submit" button to see the models' outputs. | |
## Examples | |
- **Prompt:** | |
- "Once upon a time" | |
- "The best day of the week is" | |
- "And then I said 'mm-mm', and you looked at me as if I had" | |
- **Temperature:** 0.7 | |
- **Top-p:** 0.9 | |
## Acknowledgments | |
- Built with [Gradio](https://gradio.app/) and [Transformers](https://huggingface.co/transformers/). | |