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")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("entity2260/opus_en_hi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Ranjith Kumar1a2efcc -
Update README.md
Ranjith Kumar70c075e -
Upload gitattributes
Ranjith KumarUpload gitattributescae9d7f -
Upload config.json
Ranjith KumarUpload config.jsona4c17c5 -
Upload metadata.json
Ranjith KumarUpload metadata.json8e428c1 -
Upload README.md
Ranjith KumarUpload README.mdd006b6f -
Upload source.spm
Ranjith KumarUpload source.spm39161d1 -
Upload target.spm
Ranjith KumarUpload target.spmc66af6b -
Upload tokenizer_config.json
Ranjith KumarUpload tokenizer_config.json40f04d3 -
Upload pytorch_model.bin with git-lfs
Ranjith KumarUpload pytorch_model.binf482cf4 -
Upload rust_model.ot.zip with git-lfs
Ranjith KumarUpload rust_model.ot.zipc59506e
-
initial commit
d5489cc