CoolFace
Apppublic

HSinghHuggingFace/SmolLM2-135-Text-Generator

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes
App README

SmolLM2-135 Text Generator

This is a Streamlit-based text generation application using a fine-tuned SmolLM2-135 model. The application allows users to:

  • —Input custom prompts
  • —Control the length of generated text
  • —Generate multiple text sequences
  • —View token information

Features

  • —Interactive text input
  • —Adjustable text generation length
  • —Multiple sequence generation
  • —Real-time text generation
  • —Token information display

Usage

  1. 1.Enter your prompt in the text area
  2. 2.Adjust the length of text to be generated
  3. 3.Select the number of sequences to generate
  4. 4.Click "Generate" to create text

Technical Details

The application uses:

  • —SmolLM2-135 model architecture
  • —Tiktoken tokenizer
  • —PyTorch for model inference
  • —Streamlit for the user interface