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

Helsinki-NLP
/
opus-mt-es-he

Translation
Transformers
PyTorch
google-tensorflow TensorFlow
Spanish
Hebrew
marian
text2text-generation
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use Helsinki-NLP/opus-mt-es-he 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="Helsinki-NLP/opus-mt-es-he")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-es-he")
    model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-es-he")
  • Notebooks
  • Google Colab
  • Kaggle
opus-mt-es-he
466 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 30 commits
joaogante's picture
joaogante
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
1d51afe almost 3 years ago
  • .gitattributes
    345 Bytes
    initial commit about 6 years ago
  • README.md
    2.08 kB
    Initial commit over 5 years ago
  • config.json
    1.45 kB
    Add TF weights over 3 years ago
  • generation_config.json
    293 Bytes
    set `renormalize_logits=True` for better performance (see `transformers` issue #4290) almost 3 years ago
  • metadata.json
    1.12 kB
    Initial commit over 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    153 MB
    xet
    Initial commit over 5 years ago
  • source.spm
    821 kB
    Initial commit over 5 years ago
  • special_tokens_map.json
    65 Bytes
    Initial commit over 5 years ago
  • target.spm
    895 kB
    Initial commit over 5 years ago
  • tf_model.h5
    309 MB
    xet
    Add TF weights over 3 years ago
  • tokenizer_config.json
    230 Bytes
    Initial commit over 5 years ago
  • vocab.json
    2.24 MB
    Initial commit over 5 years ago