--- 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