Downloads · 30 days
18
0% of all-time downloads
SVECTOR-CORPORATION/Continue-TTS
Continue-TTS is a text-to-speech model from SVECTOR-CORPORATION. Use it when you need text read aloud. The card lists the license as apache-2.0.
<p align="center" <img alt="Continue-TTS" src="https://github.com/SVECTOR-CORPORATION/Continue-TTS/blob/main/continue-tts-image-banner.jpg?raw=true" width="800" </p
Downloads · 30 days
18
0% of all-time downloads
All-time downloads
48.4K
Public
Parameters
3.8B
15.2 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors15.1 GB · 100%
From the Hugging Face model README
We are thrilled to introduce Continue-TTS, a fine-tuned text-to-speech model based on the Continue-1-OSS architecture, developed by SVECTOR. This model is specifically trained for high-quality speech synthesis and delivers exceptional voice generation capabilities.
Continue-TTS is engineered to provide:
This model is based on the Continue-1-OSS architecture and combines the power of large language models with neural audio codecs to generate exceptionally natural speech from text.
<audio controls src="https://ik.imagekit.io/svector/efd3e807-49a4-463b-af6d-4069acf7ff3a.wav"></audio>
The sun was setting behind the mountains, painting the sky with soft shades of orange and violet.
She stood there quietly, breathing in the moment. <sigh>
Sometimes, the smallest moments are the ones that change everything.
<audio controls src="https://ik.imagekit.io/svector/c99ff697-291a-4fb7-940a-56b523b9f286.wav?updatedAt=1762362454065"></audio>
<sigh>
Not every journey is loud.
Some begin quietly… inside.
But once they begin, they never stop.
We continue.
To use Continue-TTS, install the required dependencies:
pip install transformers torch
pip install snac # Audio codec
pip install vllm==0.7.3 # For fast inference (optional but recommended)
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "SVECTOR-CORPORATION/Continue-TTS"
# Load model and tokenizer
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True
)
# Prepare text with voice
text = "Hello! I am Continue-TTS, a text-to-speech model based on Continue-1-OSS."
voice = "nova" # Choose: nova, aurora, stellar, atlas, orion, luna, phoenix, ember
# Format prompt (TTS format)
adapted_prompt = f"{voice}: {text}"
prompt_tokens = tokenizer(adapted_prompt, return_tensors="pt")
start_token = torch.tensor([[128259]], dtype=torch.int64)
end_tokens = torch.tensor([[128009, 128260, 128261, 128257]], dtype=torch.int64)
input_ids = torch.cat([start_token, prompt_tokens.input_ids, end_tokens], dim=1)
# Generate audio tokens
outputs = model.generate(
input_ids.to(model.device),
max_new_tokens=1200,
temperature=0.6,
top_p=0.8,
repetition_penalty=1.3,
eos_token_id=49158, # TTS stop token
do_sample=True
)
# Decode tokens (audio codes can be decoded using SNAC decoder)
generated_tokens = tokenizer.decode(outputs[0], skip_special_tokens=False)
For easier usage with audio generation, use the Continue-TTS package:
pip install continue-speech
from continue_tts import Continue1Model
import wave
# Initialize model
model = Continue1Model(model_name="SVECTOR-CORPORATION/Continue-TTS", max_model_len=2048)
# Generate speech
text = "Welcome to Continue-TTS! This model is built on Continue-1-OSS."
audio_chunks = model.generate_speech(prompt=text, voice="nova")
# Save to file
with wave.open("output.wav", "wb") as wf:
wf.setnchannels(1)
wf.setsampwidth(2)
wf.setframerate(24000)
for chunk in audio_chunks:
wf.writeframes(chunk)
Continue-TTS includes 8 professionally designed voices:
| Voice | Gender | Description |
|---|---|---|
| nova | Female | Conversational and natural, perfect for general use |
| aurora | Female | Warm and friendly, excellent for storytelling |
| stellar | Female | Energetic and bright, great for upbeat content |
| atlas | Male | Deep and authoritative, ideal for narration |
| orion | Male | Friendly and casual, perfect for conversational content |
| luna | Female | Soft and gentle, excellent for calm narration |
| phoenix | Male | Dynamic and expressive, great for engaging content |
| ember | Female | Warm and engaging, perfect for emotional expression |
Add natural emotions to your speech:
text = "This is incredible! <laugh> I can't believe how natural it sounds. <gasp>"
Supported emotions:
<laugh> - Natural laughter<chuckle> - Light laugh<sigh> - Expressive sigh<gasp> - Surprised gasp<cough> - Cough sound<yawn> - Yawn<groan> - Groan<sniffle> - SniffleFine-tune generation quality:
audio = model.generate_speech(
prompt="Your text here",
voice="nova",
temperature=0.6, # Lower = more consistent, Higher = more varied
top_p=0.8, # Nucleus sampling threshold
max_tokens=1200, # Maximum audio length
repetition_penalty=1.3 # Prevent token repetition
)
Continue-TTS excels at:
Continue-TTS is built on the Continue-1-OSS and combines:
The model generates audio tokens autoregressively, which are then decoded into waveforms using the SNAC neural codec.
Continue-TTS was fine-tuned on the Continue-1-OSS using:
Training utilized:
As with any TTS model, Continue-TTS has certain limitations:
SVECTOR is committed to responsible AI development. Users should:
This model is released under the Apache License 2.0. See the LICENSE file for complete details.
Continue-1-OSS builds upon advances in neural speech synthesis, large language models, and neural audio codecs. We thank the open-source community for their contributions to these foundational technologies.