Hugging Face's logo Hugging Face
    • Models
    • Datasets
    • Pricing
      • Website
        • Metrics
        • Languages
        • Organizations
      • Community
        • Forum
        • Blog
        • GitHub
      • Documentation
        • Model Hub doc
        • Inference API doc
        • Transformers doc
        • Tokenizers doc
        • Datasets doc

    • Log In
    • Sign Up
    • Account
      • Log In
      • Sign Up
    • Website
      • Models
      • Datasets
      • Metrics
      • Languages
      • Organizations
      • Pricing
    • Community
      • Forum
      • Blog
    • Documentation
      • Model Hub doc
      • Inference API doc
      • Transformers doc
      • Tokenizers doc
      • Datasets doc

    's picture Helsinki-NLP
    /
    opus-mt-en-es

    Translation
    PyTorch en es apache-2.0 marian seq2seq text2text-generation
    Model card Files and versions

      How to use from the 🤗/transformers library:

                      from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
        
        tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-es")
        
        model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-en-es")
                  

      Or just clone the model repo

        git lfs install
        git clone https://huggingface.co/Helsinki-NLP/opus-mt-en-es
        
      # if you want to clone without large files – just their pointers # prepend your git clone with the following env var:
      GIT_LFS_SKIP_SMUDGE=1
      • main
    Helsinki-NLP/opus-mt-en-es /
    History: 13 commits
    patrickvonplaten's picture
    patrickvonplaten
    Changed num_beams to 4 f10bb6c 1 month ago
    • .gitattributes 345.0B initial commit 9 months ago
    • README.md 2.3KB Update README.md 6 months ago
    • config.json 1.2KB Changed num_beams to 4 1 month ago
    • metadata.json 1.1KB Update metadata.json 6 months ago
    • pytorch_model.bin 297.6MB Update pytorch_model.bin 6 months ago
    • source.spm 782.8KB Update source.spm 6 months ago
    • target.spm 806.6KB Update target.spm 6 months ago
    • tokenizer_config.json 44.0B Update tokenizer_config.json 6 months ago
    • vocab.json 1.5MB Update vocab.json 6 months ago