Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

farazmoradi98
/
csm-1b

Text-to-Speech
Transformers
Safetensors
English
csm
text-to-audio
Model card Files Files and versions
xet
Community

Instructions to use farazmoradi98/csm-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use farazmoradi98/csm-1b with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-to-speech", model="farazmoradi98/csm-1b")
    # Load model directly
    from transformers import AutoFeatureExtractor, AutoModelForTextToWaveform
    
    extractor = AutoFeatureExtractor.from_pretrained("farazmoradi98/csm-1b")
    model = AutoModelForTextToWaveform.from_pretrained("farazmoradi98/csm-1b")
  • Notebooks
  • Google Colab
  • Kaggle
csm-1b
19.6 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
farazmoradi98's picture
farazmoradi98
Add custom handler for TTS inference
f94872a verified 9 months ago
  • prompts
    Fork of sesame/csm-1b 9 months ago
  • .gitattributes
    1.95 kB
    Fork of sesame/csm-1b 9 months ago
  • README.md
    12.1 kB
    Fork of sesame/csm-1b 9 months ago
  • chat_template.jinja
    2 kB
    Fork of sesame/csm-1b 9 months ago
  • ckpt.pt

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    6.22 GB
    xet
    Fork of sesame/csm-1b 9 months ago
  • config.json
    3.28 kB
    Fork of sesame/csm-1b 9 months ago
  • generation_config.json
    264 Bytes
    Fork of sesame/csm-1b 9 months ago
  • handler.py
    3.66 kB
    Add custom handler for TTS inference 9 months ago
  • model.safetensors
    6.21 GB
    xet
    Fork of sesame/csm-1b 9 months ago
  • preprocessor_config.json
    271 Bytes
    Fork of sesame/csm-1b 9 months ago
  • requirements.txt
    33 Bytes
    Add requirements.txt for TTS deployment 9 months ago
  • special_tokens_map.json
    449 Bytes
    Fork of sesame/csm-1b 9 months ago
  • tokenizer.json
    17.2 MB
    xet
    Fork of sesame/csm-1b 9 months ago
  • tokenizer_config.json
    50.6 kB
    Fork of sesame/csm-1b 9 months ago
  • transformers-00001-of-00002.safetensors
    4.94 GB
    xet
    Fork of sesame/csm-1b 9 months ago
  • transformers-00002-of-00002.safetensors
    2.19 GB
    xet
    Fork of sesame/csm-1b 9 months ago
  • transformers.safetensors.index.json
    59.7 kB
    Fork of sesame/csm-1b 9 months ago