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")# 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
- Xet hash:
- 567ca59e16f0730c9ec996d464c3004a90f345111e000c96f2bc087857827bba
- Size of remote file:
- 968 kB
- SHA256:
- 9c384835e29a2bcdc9af37e169f13978dc6fbf2f94274f956ed2a42afa4b7e87
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.