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

tiedeman
/
opus-mt-he-en

Translation
Transformers
PyTorch
Rust
Hebrew
English
marian
text2text-generation
Model card Files Files and versions
xet
Community
2

Instructions to use tiedeman/opus-mt-he-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tiedeman/opus-mt-he-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="tiedeman/opus-mt-he-en")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("tiedeman/opus-mt-he-en")
    model = AutoModelForSeq2SeqLM.from_pretrained("tiedeman/opus-mt-he-en")
  • Notebooks
  • Google Colab
  • Kaggle
opus-mt-he-en
441 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
guillaume-be's picture
guillaume-be
Addition of Rust model
d1f295a about 5 years ago
  • .gitattributes
    345 Bytes
    initial commit over 5 years ago
  • README.md
    2.1 kB
    Update README.md over 5 years ago
  • config.json
    1.23 kB
    Update config.json over 5 years ago
  • metadata.json
    1.12 kB
    Update metadata.json over 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    154 MB
    xet
    Update pytorch_model.bin over 5 years ago
  • rust_model.ot
    283 MB
    xet
    Addition of Rust model about 5 years ago
  • source.spm
    885 kB
    Update source.spm over 5 years ago
  • special_tokens_map.json
    65 Bytes
    Update special_tokens_map.json over 5 years ago
  • target.spm
    797 kB
    Update target.spm over 5 years ago
  • tokenizer_config.json
    147 Bytes
    Update tokenizer_config.json over 5 years ago
  • vocab.json
    2.16 MB
    Update vocab.json over 5 years ago