Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.15.0
metadata
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
- Enter your prompt in the text box
- Adjust the generation parameters:
- Max Tokens: Controls the length of generated text (10-200)
- Temperature: Controls randomness (0.1-2.0)
- 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