Instructions to use ai4bharat/MultiIndicParaphraseGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ai4bharat/MultiIndicParaphraseGeneration with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ai4bharat/MultiIndicParaphraseGeneration") model = AutoModelForSeq2SeqLM.from_pretrained("ai4bharat/MultiIndicParaphraseGeneration", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -69,7 +69,7 @@ decoded_output=tokenizer.decode(model_output[0], skip_special_tokens=True, clean
|
|
| 69 |
print(decoded_output) # मला ओळखलं पाहिजे
|
| 70 |
```
|
| 71 |
# Note:
|
| 72 |
-
If you wish to use any language written in a non-Devanagari script
|
| 73 |
|
| 74 |
## Benchmarks
|
| 75 |
|
|
|
|
| 69 |
print(decoded_output) # मला ओळखलं पाहिजे
|
| 70 |
```
|
| 71 |
# Note:
|
| 72 |
+
If you wish to use any language written in a non-Devanagari script, then you should first convert it to Devanagari using the <a href="https://github.com/anoopkunchukuttan/indic_nlp_library">Indic NLP Library</a>. After you get the output, you should convert it back into the original script.
|
| 73 |
|
| 74 |
## Benchmarks
|
| 75 |
|