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

allenai
/
wmt16-en-de-dist-6-1

Translation
Transformers
PyTorch
English
German
fsmt
text2text-generation
wmt16
allenai
Model card Files Files and versions
xet
Community
2

Instructions to use allenai/wmt16-en-de-dist-6-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use allenai/wmt16-en-de-dist-6-1 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="allenai/wmt16-en-de-dist-6-1")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("allenai/wmt16-en-de-dist-6-1")
    model = AutoModelForSeq2SeqLM.from_pretrained("allenai/wmt16-en-de-dist-6-1")
  • Notebooks
  • Google Colab
  • Kaggle
wmt16-en-de-dist-6-1
161 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 14 commits
joaogante's picture
joaogante
Adding generation config file(s)
2def976 over 3 years ago
  • .gitattributes
    345 Bytes
    initial commit over 5 years ago
  • README.md
    3 kB
    Migrate model card from transformers-repo over 5 years ago
  • config.json
    823 Bytes
    Update config.json over 5 years ago
  • generation_config.json
    260 Bytes
    Adding generation config file(s) over 3 years ago
  • merges.txt
    350 kB
    Update merges.txt over 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    160 MB
    xet
    Update pytorch_model.bin over 5 years ago
  • tokenizer_config.json
    67 Bytes
    Update tokenizer_config.json over 5 years ago
  • vocab-src.json
    704 kB
    Update vocab-src.json over 5 years ago
  • vocab-tgt.json
    704 kB
    Update vocab-tgt.json over 5 years ago