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

  • Log In
  • Sign Up

facebook
/
wmt19-en-de

Translation
Transformers
PyTorch
Safetensors
English
German
fsmt
text2text-generation
wmt19
facebook
Model card Files Files and versions
xet
Community
12

Instructions to use facebook/wmt19-en-de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use facebook/wmt19-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="facebook/wmt19-en-de")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("facebook/wmt19-en-de")
    model = AutoModelForSeq2SeqLM.from_pretrained("facebook/wmt19-en-de")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
wmt19-en-de
2.17 GB
Ctrl+K
Ctrl+K
  • 6 contributors
History: 17 commits
ajb85's picture
ajb85
hf-transformers-bot's picture
hf-transformers-bot
Upload model.safetensors (#12)
857182e verified 10 months ago
  • .gitattributes
    399 Bytes
    Upload model.safetensors (#12) 10 months ago
  • README.md
    3.43 kB
    Migrate model card from transformers-repo over 5 years ago
  • config.json
    825 Bytes
    Update config.json over 5 years ago
  • generation_config.json
    235 Bytes
    Adding generation config file(s) over 3 years ago
  • merges.txt
    315 kB
    Update merges.txt over 5 years ago
  • model.safetensors
    1.09 GB
    xet
    Upload model.safetensors (#12) 10 months ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.08 GB
    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
    849 kB
    Update vocab-src.json over 5 years ago
  • vocab-tgt.json
    849 kB
    Update vocab-tgt.json over 5 years ago