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

Helsinki-NLP
/
opus-mt-tc-big-de-zle

Translation
Transformers
PyTorch
Safetensors
marian
text2text-generation
opus-mt-tc
Eval Results (legacy)
Model card Files Files and versions
xet
Community
4

Instructions to use Helsinki-NLP/opus-mt-tc-big-de-zle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Helsinki-NLP/opus-mt-tc-big-de-zle 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="Helsinki-NLP/opus-mt-tc-big-de-zle")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-tc-big-de-zle")
    model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-tc-big-de-zle")
  • Notebooks
  • Google Colab
  • Kaggle
opus-mt-tc-big-de-zle
965 MB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 6 commits
ArthurZ's picture
ArthurZ HF Staff
Update checkpoint for transformers>=4.29 (#4)
d4db2a2 over 2 years ago
  • .gitattributes
    1.27 kB
    Update checkpoint for transformers>=4.29 (#4) over 2 years ago
  • README.md
    7.85 kB
    Add `opus-mt-tc` tag (#1) almost 4 years ago
  • benchmark_results.txt
    886 Bytes
    Initial commit about 4 years ago
  • benchmark_translations.zip

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    4.94 MB
    xet
    Initial commit about 4 years ago
  • config.json
    1.08 kB
    Update checkpoint for transformers>=4.29 (#4) over 2 years ago
  • generation_config.json
    301 Bytes
    Update checkpoint for transformers>=4.29 (#4) over 2 years ago
  • model.safetensors
    478 MB
    xet
    Update checkpoint for transformers>=4.29 (#4) over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    478 MB
    xet
    Update checkpoint for transformers>=4.29 (#4) over 2 years ago
  • source.spm
    823 kB
    xet
    Initial commit about 4 years ago
  • special_tokens_map.json
    65 Bytes
    Initial commit about 4 years ago
  • target.spm
    1.01 MB
    xet
    Initial commit about 4 years ago
  • tokenizer_config.json
    336 Bytes
    Initial commit about 4 years ago
  • vocab.json
    2.5 MB
    Initial commit about 4 years ago