klone / README.md
shreedhar888's picture
Update README with Space configuration metadata
b52f447

A newer version of the Gradio SDK is available: 5.17.1

Upgrade
metadata
title: DeepSeek Tweet Generator
emoji: 🐦
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 4.12.0
app_file: app.py
pinned: false

DeepSeek Tweet Generator Space

This Space hosts a DeepSeek model fine-tuned for generating tweets based on a given style profile and recent tweet examples.

Usage

The interface accepts three inputs:

  1. Style Profile (JSON): A JSON object containing style characteristics like tone, complexity, and technical level
  2. Recent Tweets: Example tweets to base the style on
  3. Topic: The topic to generate a tweet about

Example Style Profile:

{
  "tone": "Natural",
  "complexity": 2.8,
  "technical_level": "Technical"
}

Model Details

  • Base Model: deepseek-ai/deepseek-coder-6.7b-base
  • Modifications: Optimized for tweet generation while maintaining technical accuracy
  • Max Length: 280 characters (Twitter limit)

Environment

  • Python 3.9+
  • PyTorch 2.1.2
  • Transformers 4.36.2
  • Gradio 4.12.0