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

timliau
/
whisper-small-zh-en-code-switching

Automatic Speech Recognition
Transformers
PEFT
English
Chinese
whisper
code-switching
asr
lora
mandarin
english
customer-service
Model card Files Files and versions
xet
Community

Instructions to use timliau/whisper-small-zh-en-code-switching with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use timliau/whisper-small-zh-en-code-switching with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("automatic-speech-recognition", model="timliau/whisper-small-zh-en-code-switching")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("timliau/whisper-small-zh-en-code-switching", dtype="auto")
  • PEFT

    How to use timliau/whisper-small-zh-en-code-switching with PEFT:

    Task type is invalid.
  • Notebooks
  • Google Colab
  • Kaggle
whisper-small-zh-en-code-switching
19.4 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
timliau's picture
timliau
Fix training collapse: fp32 for MPS, LR 1e-4, gradient clipping
4cb47ef verified about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    4.8 kB
    Add model card with research background and usage instructions about 1 month ago
  • train.py
    13 kB
    Fix training collapse: fp32 for MPS, LR 1e-4, gradient clipping about 1 month ago