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

silsever
/
opus-mt-align-en-de

Translation
Transformers
PyTorch
English
German
marian
text2text-generation
opus-mt
Eval Results (legacy)
Model card Files Files and versions
xet
Community
1

Instructions to use silsever/opus-mt-align-en-de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use silsever/opus-mt-align-en-de 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="silsever/opus-mt-align-en-de")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("silsever/opus-mt-align-en-de")
    model = AutoModelForSeq2SeqLM.from_pretrained("silsever/opus-mt-align-en-de")
  • Notebooks
  • Google Colab
  • Kaggle
opus-mt-align-en-de
225 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
silsever's picture
silsever
Upload 8 files
3d677f0 over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    2.47 kB
    Upload 8 files over 3 years ago
  • config.json
    1.04 kB
    Upload 8 files over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.HalfStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    222 MB
    xet
    Upload 8 files over 3 years ago
  • source.spm
    794 kB
    Upload 8 files over 3 years ago
  • special_tokens_map.json
    74 Bytes
    Upload 8 files over 3 years ago
  • target.spm
    819 kB
    Upload 8 files over 3 years ago
  • tokenizer_config.json
    368 Bytes
    Upload 8 files over 3 years ago
  • vocab.json
    1.7 MB
    Upload 8 files over 3 years ago