Downloads · 30 days
8
32% of all-time downloads
trainfarren/john-welbourne-csm-1b-4bit
john-welbourne-csm-1b-4bit is a text-to-speech model from trainfarren. Use it when you need text read aloud. The card lists the license as apache-2.0.
This is a 4bit quantized version of trainfarren/john-welbourne-csm-1b for faster inference.
Downloads · 30 days
8
32% of all-time downloads
All-time downloads
25
Public
Parameters
1.7B
1.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.6 GB · 99%
How the weights are stored.
U81.2B · 70%
From the Hugging Face model README
This is a 4bit quantized version of trainfarren/john-welbourne-csm-1b for faster inference.
This model has been quantized using BitsAndBytesConfig to reduce memory usage and improve inference speed while maintaining quality.
from transformers import CsmForConditionalGeneration, AutoProcessor, BitsAndBytesConfig
import torch
# The model is already quantized, so just load it normally
model = CsmForConditionalGeneration.from_pretrained(
"john-welbourne-csm-1b-4bit",
torch_dtype=torch.float16,
device_map="auto"
)
processor = AutoProcessor.from_pretrained("john-welbourne-csm-1b-4bit")
# Use with your existing CSM inference code
Expected improvements over the original model:
This model is based on trainfarren/john-welbourne-csm-1b.