Update README.md
Browse files
README.md
CHANGED
@@ -5,7 +5,7 @@ language:
|
|
5 |
- ta
|
6 |
- en
|
7 |
widget:
|
8 |
-
- text:
|
9 |
- text: they are running fast than me
|
10 |
- text: i love seeing moon
|
11 |
pipeline_tag: text2text-generation
|
@@ -58,7 +58,7 @@ def language_translator(text):
|
|
58 |
out = model.generate(**tokenized, max_length=128)
|
59 |
return tokenizer.decode(out[0],skip_special_tokens=True)
|
60 |
|
61 |
-
text_to_translate = "
|
62 |
output = language_translator(text_to_translate)
|
63 |
print(output)
|
64 |
```
|
|
|
5 |
- ta
|
6 |
- en
|
7 |
widget:
|
8 |
+
- text: hardwork never fail
|
9 |
- text: they are running fast than me
|
10 |
- text: i love seeing moon
|
11 |
pipeline_tag: text2text-generation
|
|
|
58 |
out = model.generate(**tokenized, max_length=128)
|
59 |
return tokenizer.decode(out[0],skip_special_tokens=True)
|
60 |
|
61 |
+
text_to_translate = "hardwork never fail"
|
62 |
output = language_translator(text_to_translate)
|
63 |
print(output)
|
64 |
```
|