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

facebook
/
wmt19-ru-en

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

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

  • Libraries
  • Transformers

    How to use facebook/wmt19-ru-en 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-ru-en")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("facebook/wmt19-ru-en")
    model = AutoModelForSeq2SeqLM.from_pretrained("facebook/wmt19-ru-en")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
wmt19-ru-en
Ctrl+K
Ctrl+K
  • 6 contributors
History: 16 commits
ajb85's picture
ajb85
hf-transformers-bot's picture
hf-transformers-bot
Upload model.safetensors (#4)
683f21a verified 10 months ago
  • .gitattributes
    399 Bytes
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • README.md
    3.47 kB
    Migrate model card from transformers-repo over 5 years ago
  • config.json
    826 Bytes
    Update config.json over 5 years ago
  • generation_config.json
    260 Bytes
    Adding generation config file(s) over 3 years ago
  • merges.txt
    396 kB
    Update merges.txt over 5 years ago
  • model.safetensors
    1.17 GB
    xet
    Upload model.safetensors (#4) 10 months ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.16 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
    776 kB
    Update vocab-src.json over 5 years ago
  • vocab-tgt.json
    639 kB
    Update vocab-tgt.json over 5 years ago