carbon-demo / README.md
lvwerra's picture
lvwerra HF Staff
README: shorten HF Space title to "Carbon"
3486829
metadata
title: Carbon
emoji: 馃К
colorFrom: gray
colorTo: indigo
sdk: docker
app_port: 7860
pinned: false
fullWidth: true
header: mini

Carbon 路 DNA Continuation

A streaming demo for the hf-carbon/carbon-3B-hybrid-loss-1T-mix2-v1 model. Enter a DNA sequence prefix and watch the model continue it.

Local

pip install -r requirements.txt
uvicorn app:app --reload --port 7860

Auth uses the locally cached HF token (huggingface-cli login). Override the endpoint with ENDPOINT_URL and the model with MODEL_NAME.

Spaces

Deploy as a Docker Space. Set HF_TOKEN as a secret (the inference endpoint requires a token authorized for it).