Translation
Transformers
Safetensors
qwen2
text-generation
sanskrit
transliteration
qwen
axolotl
iast
devanagari
bilingual
text-generation-inference
Instructions to use diabolic6045/Sanskrit-qwen-7B-Translate-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use diabolic6045/Sanskrit-qwen-7B-Translate-v2 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="diabolic6045/Sanskrit-qwen-7B-Translate-v2")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("diabolic6045/Sanskrit-qwen-7B-Translate-v2") model = AutoModelForCausalLM.from_pretrained("diabolic6045/Sanskrit-qwen-7B-Translate-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 942830cda8d43dc8aaed6a062ffd2637e4bce17e5191e26f41facd62609c9c9a
- Size of remote file:
- 4.33 GB
- SHA256:
- 94594a9ee4765f6b714aaed2dd1246f60531f0b4192201f62e7171e92d27db3f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.