Update README.md
Browse files
README.md
CHANGED
@@ -36,7 +36,7 @@ The model is specifically designed to transliterate Devnagiri and Roman text bot
|
|
36 |
from transformers import MarianMTModel, MarianTokenizer
|
37 |
import evaluate
|
38 |
|
39 |
-
class
|
40 |
def __init__(self, model_name='ar5entum/marianMT_bi_dev_rom_tl'):
|
41 |
self.model_name = model_name
|
42 |
self.tokenizer = MarianTokenizer.from_pretrained(model_name)
|
|
|
36 |
from transformers import MarianMTModel, MarianTokenizer
|
37 |
import evaluate
|
38 |
|
39 |
+
class Transliterate:
|
40 |
def __init__(self, model_name='ar5entum/marianMT_bi_dev_rom_tl'):
|
41 |
self.model_name = model_name
|
42 |
self.tokenizer = MarianTokenizer.from_pretrained(model_name)
|