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

gaudi
/
opus-mt-ca-de-ctranslate2

Translation
Transformers
marian
ctranslate2
Model card Files Files and versions
xet
Community

Instructions to use gaudi/opus-mt-ca-de-ctranslate2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use gaudi/opus-mt-ca-de-ctranslate2 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="gaudi/opus-mt-ca-de-ctranslate2")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("gaudi/opus-mt-ca-de-ctranslate2", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
opus-mt-ca-de-ctranslate2
113 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
gaudi's picture
gaudi
model.bin updated to accomodate ctranslate 4.4.0
766c190 over 1 year ago
  • .gitattributes
    387 Bytes
    Initial Commit almost 2 years ago
  • README.md
    6.72 kB
    README.md Update almost 2 years ago
  • config.json
    215 Bytes
    Initial Commit almost 2 years ago
  • generation_config.json
    293 Bytes
    Initial Commit almost 2 years ago
  • model.bin

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    112 MB
    xet
    model.bin updated to accomodate ctranslate 4.4.0 over 1 year ago
  • shared_vocabulary.json
    397 kB
    Initial Commit almost 2 years ago
  • source.spm
    448 kB
    xet
    Initial Commit almost 2 years ago
  • target.spm
    451 kB
    xet
    Initial Commit almost 2 years ago
  • tokenizer_config.json
    44 Bytes
    Initial Commit almost 2 years ago
  • vocab.json
    497 kB
    Initial Commit almost 2 years ago