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
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,6 +11,8 @@ tags:
|
|
| 11 |
datasets:
|
| 12 |
- Aarif1430/english-to-hindi
|
| 13 |
- Sampuran01/english-hindi-translation
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# Model Description
|
|
|
|
| 11 |
datasets:
|
| 12 |
- Aarif1430/english-to-hindi
|
| 13 |
- Sampuran01/english-hindi-translation
|
| 14 |
+
metrics:
|
| 15 |
+
- bleu
|
| 16 |
---
|
| 17 |
|
| 18 |
# Model Description
|