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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

TigreGotico
/
opus-mt-hy-en-onnx

Translation
Transformers
ONNX
Armenian
English
marian
text2text-generation
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use TigreGotico/opus-mt-hy-en-onnx 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="TigreGotico/opus-mt-hy-en-onnx")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("TigreGotico/opus-mt-hy-en-onnx")
    model = AutoModelForSeq2SeqLM.from_pretrained("TigreGotico/opus-mt-hy-en-onnx", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
opus-mt-hy-en-onnx
1.62 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Jarbas's picture
Jarbas
Upload README.md with huggingface_hub
01474ca verified 5 days ago
  • int8
    Upload folder using huggingface_hub 5 days ago
  • .gitattributes
    1.61 kB
    Upload folder using huggingface_hub 5 days ago
  • README.md
    2.89 kB
    Upload README.md with huggingface_hub 5 days ago
  • config.json
    1.3 kB
    Upload folder using huggingface_hub 5 days ago
  • decoder_model.onnx
    358 MB
    xet
    Upload folder using huggingface_hub 5 days ago
  • decoder_with_past_model.onnx
    346 MB
    xet
    Upload folder using huggingface_hub 5 days ago
  • encoder_model.onnx
    205 MB
    xet
    Upload folder using huggingface_hub 5 days ago
  • generation_config.json
    288 Bytes
    Upload folder using huggingface_hub 5 days ago
  • source.spm
    1.06 MB
    xet
    Upload folder using huggingface_hub 5 days ago
  • special_tokens_map.json
    74 Bytes
    Upload folder using huggingface_hub 5 days ago
  • target.spm
    822 kB
    xet
    Upload folder using huggingface_hub 5 days ago
  • tokenizer_config.json
    847 Bytes
    Upload folder using huggingface_hub 5 days ago
  • vocab.json
    2.68 MB
    Upload folder using huggingface_hub 5 days ago