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:
- 9fc1bcca26f039086a199729c87e15f795c9c05e4d68ee2e5ff40f38e44729b4
- Size of remote file:
- 1.09 GB
- SHA256:
- 06006972c3be88e8a44fe21cfe2b0472b130780c781a741f8f90f1fe5ba3aae2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.