Instructions to use subham92/translation_model_by_subham with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use subham92/translation_model_by_subham 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="subham92/translation_model_by_subham")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("subham92/translation_model_by_subham") model = AutoModelForSeq2SeqLM.from_pretrained("subham92/translation_model_by_subham", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from subham92/translation_model_by_subham: direct link, hf CLI and curl.
- Browser
- Download file 301 MB
-
https://huggingface.co/subham92/translation_model_by_subham/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://subham92/translation_model_by_subham/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/subham92/translation_model_by_subham/resolve/main/pytorch_model.bin
301 MB
- Xet hash:
- 033bffc4927eed16829760446b83f461ecae0d12a806081ce50c9b3de02f0f53
- Size of remote file:
- 301 MB
- SHA256:
- 33acd3582070f4bdefbf827ed57dc5342723d693f1a4b3bbc8908d1b4e8619f2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.