Instructions to use entity2260/opus_en_es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use entity2260/opus_en_es 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_es")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("entity2260/opus_en_es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Ranjith Kumar29b5ff8 -
Update README.md
Ranjith Kumarf1b2dc9 -
Upload tokenizer_config.json
Ranjith KumarUpload tokenizer_config.json8290433 -
Upload target.spm
Ranjith KumarUpload target.spmf4c5142 -
Upload source.spm
Ranjith KumarUpload source.spm5b14771 -
Upload README.md
Ranjith KumarUpload README.md335a3bb -
Upload pytorch_model.bin with git-lfs
Ranjith KumarUpload pytorch_model.bin2ce30c5 -
Upload metadata.json
Ranjith KumarUpload metadata.json4c8ab92 -
Upload gitattributes
Ranjith KumarUpload gitattributes657ebd8 -
Upload flax_model.msgpack with git-lfs
Ranjith KumarUpload flax_model.msgpack517c51d -
Upload config.json
Ranjith KumarUpload config.jsonc1bfa61
-
initial commit
2a5bb6b