File size: 981 Bytes
ec317f5
 
 
 
 
 
 
 
 
 
 
4837828
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ec317f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
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/).