mithulaartigala's picture
Preload the FP8 checkpoint during the Space build
b225cf5 verified
|
Raw History Blame Contribute Delete
1.4 kB
metadata
title: Prompt Resampler Mini
emoji: 🔄
colorFrom: red
colorTo: red
sdk: gradio
sdk_version: 6.32.0
python_version: 3.12.12
app_file: app.py
license: apache-2.0
models:
  - mithulaartigala/Prompt-Resampler-2B-SFT-Alpha-8K-FP8
preload_from_hub:
  - >-
    mithulaartigala/Prompt-Resampler-2B-SFT-Alpha-8K-FP8
    chat_template.jinja,config.json,default_system_prompt.md,generation_config.json,model-00001-of-00004.safetensors,model-00002-of-00004.safetensors,model-00003-of-00004.safetensors,model-00004-of-00004.safetensors,model.safetensors.index.json,processor_config.json,tokenizer.json,tokenizer_config.json
    b5f0f8afe721d43329e84106fbb19c427cd7223a
short_description: Generate a new version of a prompt with Resampler Mini.

Prompt Resampler Mini

Enter a prompt to generate a new version that preserves the original task. Turn on reasoning to make the model's generated reasoning available in a collapsed panel.

The demo serves the FP8 safetensors checkpoint on Hugging Face ZeroGPU. Hugging Face preloads the pinned checkpoint during the Space build. The app reads it from the local Hub cache at startup. Requests use the visitor's ZeroGPU quota. The demo uses a 24,576-token context budget with up to 8,192 input tokens (including the system prompt and chat formatting) and 16,384 generated tokens (including reasoning).