Translation
Transformers
Safetensors
English
Hindi
llama
text-generation
Bilingual
text-generation-inference
Instructions to use damerajee/openhathi-h2e-e2h-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use damerajee/openhathi-h2e-e2h-small 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="damerajee/openhathi-h2e-e2h-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("damerajee/openhathi-h2e-e2h-small") model = AutoModelForCausalLM.from_pretrained("damerajee/openhathi-h2e-e2h-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signatureef20ca6
-
Update README.md
Verified signature8f81d38 -
Update README.md
Verified signatured0e3ea2 -
Update README.md
Verified signature25df767 -
Update README.md
Verified signature24509b9 -
Update README.md
Verified signatureb4f1620 -
Update README.md
Verified signature53615b1 -
Update README.md
Verified signature1d054df -
Update README.md
Verified signature6242bb9 -
Update README.md
a9e21a9 -
Update README.md
97ddd2f -
Update README.md
136a57f -
Create README.md
8e72f93 -
Upload tokenizer
a838bb0 -
Upload LlamaForCausalLM
a00d85c -
initial commit
8b0d9e1