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

zenlm
/
zen-translator

Translation
Transformers
English
zen-translator
zen
zenlm
hanzo
multilingual
Model card Files Files and versions
xet
Community

Instructions to use zenlm/zen-translator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use zenlm/zen-translator with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "translation" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("translation", model="zenlm/zen-translator")
    # Load model directly
    from transformers import ZenTranslatorForSpeechTranslation
    model = ZenTranslatorForSpeechTranslation.from_pretrained("zenlm/zen-translator", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
zen-translator / zen_translator
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
zeekay's picture
zeekay
Add source code
9dfa701 verified 6 months ago
  • lip_sync
    Add source code 6 months ago
  • streaming
    Add source code 6 months ago
  • training
    Add source code 6 months ago
  • translation
    Add source code 6 months ago
  • voice_clone
    Add source code 6 months ago
  • __init__.py
    649 Bytes
    Add source code 6 months ago
  • cli.py
    8.5 kB
    Add source code 6 months ago
  • config.py
    5.3 kB
    Add source code 6 months ago
  • pipeline.py
    12 kB
    Add source code 6 months ago