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

  • Log In
  • Sign Up

gaudi
/
opus-mt-gem-gem-ctranslate2

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

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

  • Libraries
  • Transformers

    How to use gaudi/opus-mt-gem-gem-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-gem-gem-ctranslate2")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("gaudi/opus-mt-gem-gem-ctranslate2", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
opus-mt-gem-gem-ctranslate2
131 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
gaudi's picture
gaudi
model.bin updated to accomodate ctranslate 4.4.0
62099c8 over 1 year ago
  • .gitattributes
    387 Bytes
    Initial Commit almost 2 years ago
  • README.md
    6.74 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
    128 MB
    xet
    model.bin updated to accomodate ctranslate 4.4.0 over 1 year ago
  • shared_vocabulary.json
    692 kB
    Initial Commit almost 2 years ago
  • source.spm
    794 kB
    xet
    Initial Commit almost 2 years ago
  • target.spm
    792 kB
    xet
    Initial Commit almost 2 years ago
  • tokenizer_config.json
    44 Bytes
    Initial Commit almost 2 years ago
  • vocab.json
    870 kB
    Initial Commit almost 2 years ago