|
--- |
|
library_name: transformers |
|
datasets: |
|
- Aarif1430/english-to-hindi |
|
language: |
|
- en |
|
- hi |
|
pipeline_tag: translation |
|
--- |
|
|
|
# Model Card for Model ID |
|
|
|
<!-- Provide a quick summary of what the model is/does. --> |
|
A English to Hindi Translation Model. |
|
|
|
## Model Details |
|
|
|
### Model Description |
|
|
|
<!-- Provide a longer summary of what this model is. --> |
|
|
|
This is the model card of a 🤗 transformers model that has been pushed on the Hub. |
|
|
|
- **Developed by:** [Swekerr](https://x.com/paneerchilli65) |
|
- **Model type:** Translation |
|
- **Language(s) (NLP):** [More Information Needed] |
|
|
|
### Model Sources [optional] |
|
|
|
- **Repository:** [.](https://github.com/SwekeR-463/eng-2hindi) |
|
- **Demo:** [.](https://huggingface.co/spaces/Swekerr/English-2-Hindi) |
|
|
|
|
|
## How to Get Started with the Model |
|
|
|
Use the code below to get started with the model. |
|
|
|
```python |
|
from transformers import pipeline |
|
|
|
checkpoint = "Swekerr/eng2hindi" |
|
|
|
translate = pipeline("translation", model=checkpoint) |
|
translate("Failure is the pillar of success") |
|
|
|
>>> [{'translation_text': 'असफलता सफलता का स्तम्भ है।'}] |
|
``` |
|
|
|
## Citation [optional] |
|
|
|
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. --> |
|
|
|
|