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
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,8 +14,7 @@ datasets:
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# Model Description
|
| 17 |
-
The base model [sarvamai/OpenHathi-7B-Hi-v0.1-Base](https://huggingface.co/sarvamai/OpenHathi-7B-Hi-v0.1-Base) was finetuned using [Unsloth](https://github.com/unslothai/unsloth)
|
| 18 |
-
|
| 19 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/6487239cca30096ea9f52115/Rsixw_aSB-ytZT7VEQ06c.jpeg" width="500" height="500" alt="Image">
|
| 20 |
|
| 21 |
# Steps to try the model :
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# Model Description
|
| 17 |
+
This merge of lora model was finetuned using The base model [sarvamai/OpenHathi-7B-Hi-v0.1-Base](https://huggingface.co/sarvamai/OpenHathi-7B-Hi-v0.1-Base) was finetuned using [Unsloth](https://github.com/unslothai/unsloth)
|
|
|
|
| 18 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/6487239cca30096ea9f52115/Rsixw_aSB-ytZT7VEQ06c.jpeg" width="500" height="500" alt="Image">
|
| 19 |
|
| 20 |
# Steps to try the model :
|