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

leukas
/
mt5-large-wmt14-deen

Translation
Transformers
PyTorch
Safetensors
German
English
t5
text2text-generation
Eval Results (legacy)
text-generation-inference
Model card Files Files and versions
xet
Community
2

Instructions to use leukas/mt5-large-wmt14-deen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use leukas/mt5-large-wmt14-deen 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="leukas/mt5-large-wmt14-deen")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("leukas/mt5-large-wmt14-deen")
    model = AutoModelForSeq2SeqLM.from_pretrained("leukas/mt5-large-wmt14-deen")
  • Notebooks
  • Google Colab
  • Kaggle
mt5-large-wmt14-deen
9.84 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 6 commits
leukas's picture
leukas
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#2)
4da9251 verified about 1 year ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    1.96 kB
    Add evaluation results on the de-en config and test split of wmt14 (#1) over 2 years ago
  • config.json
    826 Bytes
    Upload T5ForConditionalGeneration about 3 years ago
  • generation_config.json
    142 Bytes
    Upload T5ForConditionalGeneration about 3 years ago
  • model.safetensors
    4.92 GB
    xet
    Adding `safetensors` variant of this model (#2) about 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    4.92 GB
    xet
    Upload T5ForConditionalGeneration about 3 years ago
  • special_tokens_map.json
    74 Bytes
    Upload tokenizer about 3 years ago
  • spiece.model
    4.31 MB
    xet
    Upload tokenizer about 3 years ago
  • tokenizer_config.json
    311 Bytes
    Upload tokenizer about 3 years ago