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

inseq
/
wmt21-mlqe-ru-en

Translation
Transformers
PyTorch
English
Russian
multilingual
fsmt
text2text-generation
wmt20
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use inseq/wmt21-mlqe-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="inseq/wmt21-mlqe-ru-en")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("inseq/wmt21-mlqe-ru-en")
    model = AutoModelForSeq2SeqLM.from_pretrained("inseq/wmt21-mlqe-ru-en")
  • Notebooks
  • Google Colab
  • Kaggle
wmt21-mlqe-ru-en
1.67 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
gsarti's picture
gsarti
Update README.md
9642794 over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    1.34 kB
    Update README.md over 3 years ago
  • config.json
    826 Bytes
    Initial commit over 3 years ago
  • merges.txt
    396 kB
    Initial commit over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.67 GB
    xet
    Initial commit over 3 years ago
  • tokenizer_config.json
    93 Bytes
    Initial commit over 3 years ago
  • vocab-src.json
    776 kB
    Initial commit over 3 years ago
  • vocab-tgt.json
    639 kB
    Initial commit over 3 years ago