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-sv

    Translation
    PyTorch Rust en sv 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-sv")
        
        model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-en-sv")
                  

      Or just clone the model repo

        git lfs install
        git clone https://huggingface.co/Helsinki-NLP/opus-mt-en-sv
        
      # 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-sv /
    History: 27 commits
    guillaume-be's picture
    guillaume-be
    Addition of Rust model b60e17d 1 day ago
    • .gitattributes 345.0B initial commit 10 months ago
    • README.md 798.0B Update README.md 8 months ago
    • config.json 1.1KB Changed num_beams to 4 1 month ago
    • pytorch_model.bin 280.9MB Update pytorch_model.bin 10 months ago
    • rust_model.ot 501.3MB Addition of Rust model 1 day ago
    • source.spm 771.6KB Update source.spm 10 months ago
    • target.spm 796.2KB Update target.spm 10 months ago
    • tokenizer_config.json 42.0B Update tokenizer_config.json 10 months ago
    • vocab.json 1.2MB Update vocab.json 10 months ago