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

tonythethompson
/
opus-mt-en-ROMANCE

Translation
Transformers
ONNX
English
roa
marian
text2text-generation
opus-mt
romance-languages
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use tonythethompson/opus-mt-en-ROMANCE 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="tonythethompson/opus-mt-en-ROMANCE")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("tonythethompson/opus-mt-en-ROMANCE")
    model = AutoModelForSeq2SeqLM.from_pretrained("tonythethompson/opus-mt-en-ROMANCE")
  • Notebooks
  • Google Colab
  • Kaggle
opus-mt-en-ROMANCE
1.37 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
tonythethompson's picture
tonythethompson
Upload English Romance ONNX OPUS model files
d05275a verified 13 days ago
  • onnx
    Upload English Romance ONNX OPUS model files 13 days ago
  • .gitattributes
    1.61 kB
    Upload English Romance ONNX OPUS model files 13 days ago
  • README.md
    2.93 kB
    Upload English Romance ONNX OPUS model files 13 days ago
  • config.json
    1.53 kB
    Upload English Romance ONNX OPUS model files 13 days ago
  • generation_config.json
    288 Bytes
    Upload English Romance ONNX OPUS model files 13 days ago
  • quantize_config.json
    216 Bytes
    Upload English Romance ONNX OPUS model files 13 days ago
  • source.spm
    779 kB
    xet
    Upload English Romance ONNX OPUS model files 13 days ago
  • special_tokens_map.json
    74 Bytes
    Upload English Romance ONNX OPUS model files 13 days ago
  • target.spm
    799 kB
    xet
    Upload English Romance ONNX OPUS model files 13 days ago
  • tokenizer.json
    6.12 MB
    Upload English Romance ONNX OPUS model files 13 days ago
  • tokenizer_config.json
    1.07 kB
    Upload English Romance ONNX OPUS model files 13 days ago
  • vocab.json
    1.59 MB
    Upload English Romance ONNX OPUS model files 13 days ago