Update README.md
Browse files
README.md
CHANGED
@@ -44,13 +44,13 @@ model = AutoModelForSeq2SeqLM.from_pretrained("shihab17/en-to-bn-sentence-transl
|
|
44 |
|
45 |
sentence = 'ম্যাচ শেষে পুরস্কার বিতরণের মঞ্চে তামিমের মুখে মোস্তাফিজের প্রশংসা শোনা গেল'
|
46 |
|
47 |
-
translator = pipeline("
|
48 |
output = translator(sentence)
|
49 |
print(output)
|
50 |
```
|
51 |
|
52 |
|
53 |
-
# bengali-
|
54 |
|
55 |
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-bn-en](https://huggingface.co/Helsinki-NLP/opus-mt-bn-en) on the kde4 dataset.
|
56 |
It achieves the following results on the evaluation set:
|
|
|
44 |
|
45 |
sentence = 'ম্যাচ শেষে পুরস্কার বিতরণের মঞ্চে তামিমের মুখে মোস্তাফিজের প্রশংসা শোনা গেল'
|
46 |
|
47 |
+
translator = pipeline("translation_en_to_bn", model=model, tokenizer=tokenizer)
|
48 |
output = translator(sentence)
|
49 |
print(output)
|
50 |
```
|
51 |
|
52 |
|
53 |
+
# bengali-en-to-bn
|
54 |
|
55 |
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-bn-en](https://huggingface.co/Helsinki-NLP/opus-mt-bn-en) on the kde4 dataset.
|
56 |
It achieves the following results on the evaluation set:
|