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

entity2260
/
opus_en_hi

Translation
Transformers
PyTorch
English
Hindi
Model card Files Files and versions
xet
Community

Instructions to use entity2260/opus_en_hi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use entity2260/opus_en_hi 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="entity2260/opus_en_hi")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("entity2260/opus_en_hi", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
opus_en_hi
867 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
entity2260's picture
entity2260
Update README.md
1a2efcc over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit almost 5 years ago
  • README.md
    779 Bytes
    Update README.md over 4 years ago
  • config.json
    0 Bytes
    Upload config.json over 4 years ago
  • gitattributes
    345 Bytes
    Upload gitattributes over 4 years ago
  • metadata.json
    0 Bytes
    Upload metadata.json over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    306 MB
    xet
    Upload pytorch_model.bin with git-lfs over 4 years ago
  • rust_model.ot.zip
    560 MB
    xet
    Upload rust_model.ot.zip with git-lfs over 4 years ago
  • source.spm
    812 kB
    Upload source.spm over 4 years ago
  • target.spm
    1.07 MB
    Upload target.spm over 4 years ago
  • tokenizer_config.json
    0 Bytes
    Upload tokenizer_config.json over 4 years ago