Update README.md
Browse files
README.md
CHANGED
@@ -272,7 +272,8 @@ model_name='alirezamsh/small100'
|
|
272 |
home_path=os.path.expanduser('~')
|
273 |
model_path=home_path+'/Downloads/models/small100-ctranslate2'
|
274 |
|
275 |
-
|
|
|
276 |
#target_language_code='ar'
|
277 |
#target_language_code='fr'
|
278 |
#target_language_code='en'
|
@@ -286,7 +287,7 @@ device='cpu'
|
|
286 |
sys.path.insert(1,model_path)
|
287 |
from tokenization_small100 import SMALL100Tokenizer
|
288 |
|
289 |
-
#load data
|
290 |
string1='जीवन एक चॉकलेट बॉक्स की तरह है।'
|
291 |
string2='生活就像一盒巧克力。'
|
292 |
string3="You never know what you are going to get."
|
@@ -331,6 +332,7 @@ model_name='alirezamsh/small100'
|
|
331 |
home_path=os.path.expanduser('~')
|
332 |
model_path=home_path+'/Downloads/models/models--alirezamsh--small100-ctranslate2'
|
333 |
|
|
|
334 |
source_language_code='hi'
|
335 |
#target_language_code='ar'
|
336 |
#target_language_code='fr'
|
@@ -345,7 +347,7 @@ device='cpu'
|
|
345 |
sys.path.insert(1,model_path)
|
346 |
from tokenization_small100 import SMALL100Tokenizer
|
347 |
|
348 |
-
#load data
|
349 |
string1='जीवन एक चॉकलेट बॉक्स की तरह है।'
|
350 |
string2='生活就像一盒巧克力。'
|
351 |
string3="You never know what you are going to get."
|
|
|
272 |
home_path=os.path.expanduser('~')
|
273 |
model_path=home_path+'/Downloads/models/small100-ctranslate2'
|
274 |
|
275 |
+
#languages list -> https://huggingface.co/alirezamsh/small100 <-
|
276 |
+
source_language_code='hi' #this does not seem to do anything
|
277 |
#target_language_code='ar'
|
278 |
#target_language_code='fr'
|
279 |
#target_language_code='en'
|
|
|
287 |
sys.path.insert(1,model_path)
|
288 |
from tokenization_small100 import SMALL100Tokenizer
|
289 |
|
290 |
+
#load data
|
291 |
string1='जीवन एक चॉकलेट बॉक्स की तरह है।'
|
292 |
string2='生活就像一盒巧克力。'
|
293 |
string3="You never know what you are going to get."
|
|
|
332 |
home_path=os.path.expanduser('~')
|
333 |
model_path=home_path+'/Downloads/models/models--alirezamsh--small100-ctranslate2'
|
334 |
|
335 |
+
#languages list -> https://huggingface.co/alirezamsh/small100 <-
|
336 |
source_language_code='hi'
|
337 |
#target_language_code='ar'
|
338 |
#target_language_code='fr'
|
|
|
347 |
sys.path.insert(1,model_path)
|
348 |
from tokenization_small100 import SMALL100Tokenizer
|
349 |
|
350 |
+
#load data
|
351 |
string1='जीवन एक चॉकलेट बॉक्स की तरह है।'
|
352 |
string2='生活就像一盒巧克力。'
|
353 |
string3="You never know what you are going to get."
|