Spaces:
Running
Running
File size: 895 Bytes
31aecee cd1c48a 234a98d |
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 |
---
title: Smollm2 Shakespeare
emoji: π
colorFrom: pink
colorTo: blue
sdk: gradio
sdk_version: 5.13.1
app_file: app.py
pinned: false
short_description: SmolLM2-135M model, trained on Shakespeare's text
---
# SmolLM2-135M Shakespeare Text Generator
This is a Gradio interface for the SmolLM2-135M model, trained on Shakespeare's text. The model can generate Shakespeare-style text continuations from your prompts.
## Usage
1. Enter your prompt in the text box
2. Adjust the generation parameters:
- Max Tokens: Controls the length of generated text (10-200)
- Temperature: Controls randomness (0.1-2.0)
3. Click "Submit" to generate text
## Example Prompts
- "To be or not"
- "All the world's"
- "Friends, Romans,"
- "Now is the winter"
## Model Details
- Architecture: Transformer-based language model
- Parameters: 135M
- Training Data: Shakespeare's works
- Training Steps: 5050
|