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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

alvanlii
/
whisper-small-cantonese

Automatic Speech Recognition
Transformers
PyTorch
Safetensors
Chinese
Yue Chinese
whisper
whisper-event
Generated from Trainer
Eval Results (legacy)
Model card Files Files and versions
xet
Community
11

Instructions to use alvanlii/whisper-small-cantonese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use alvanlii/whisper-small-cantonese with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("automatic-speech-recognition", model="alvanlii/whisper-small-cantonese")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
    
    processor = AutoProcessor.from_pretrained("alvanlii/whisper-small-cantonese")
    model = AutoModelForSpeechSeq2Seq.from_pretrained("alvanlii/whisper-small-cantonese", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

`use_cache=False`

2
#11 opened over 1 year ago by
jemoka

May I ask how could I use pipeline and output the transcript as SRT with timestamp?

3
#9 opened almost 2 years ago by
ziweithunder

Should the `language` for transformers.pipeline be set as `yue` instead of `zh`?

2
#8 opened almost 2 years ago by
JinchaoLove
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs