Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

khazarai
/
Medical-TTS

Text-to-Speech
PEFT
Safetensors
Transformers
English
unsloth
trl
Model card Files Files and versions
xet
Community

Instructions to use khazarai/Medical-TTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use khazarai/Medical-TTS with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("unsloth/csm-1b")
    model = PeftModel.from_pretrained(base_model, "khazarai/Medical-TTS")
  • Transformers

    How to use khazarai/Medical-TTS with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-to-speech", model="khazarai/Medical-TTS")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("khazarai/Medical-TTS", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Unsloth Studio new

    How to use khazarai/Medical-TTS with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for khazarai/Medical-TTS to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for khazarai/Medical-TTS to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for khazarai/Medical-TTS to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="khazarai/Medical-TTS",
        max_seq_length=2048,
    )
Medical-TTS
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
Rustamshry's picture
Rustamshry
Update README.md
936aee0 verified 8 months ago
  • .gitattributes
    1.57 kB
    Upload 8 files 8 months ago
  • README.md
    2.7 kB
    Update README.md 8 months ago
  • adapter_config.json
    961 Bytes
    Update adapter_config.json 8 months ago
  • adapter_model.safetensors
    58.1 MB
    xet
    Upload 8 files 8 months ago
  • chat_template.jinja
    2 kB
    Upload 8 files 8 months ago
  • preprocessor_config.json
    271 Bytes
    Upload 8 files 8 months ago
  • special_tokens_map.json
    449 Bytes
    Upload 8 files 8 months ago
  • tokenizer.json
    17.2 MB
    xet
    Upload 8 files 8 months ago
  • tokenizer_config.json
    50.6 kB
    Upload 8 files 8 months ago