Update README.md
Browse files
README.md
CHANGED
@@ -462,7 +462,7 @@ import transformers
|
|
462 |
translator = ctranslate2.Translator("avans06/madlad400-7b-mt-bt-ct2-int8_float16", compute_type="auto")
|
463 |
tokenizer = transformers.AutoTokenizer.from_pretrained("jbochi/madlad400-7b-mt-bt")
|
464 |
|
465 |
-
prefix = "<
|
466 |
input_text = "Who is Alan Turing?"
|
467 |
input_tokens = tokenizer.convert_ids_to_tokens(tokenizer.encode(prefix + input_text))
|
468 |
|
|
|
462 |
translator = ctranslate2.Translator("avans06/madlad400-7b-mt-bt-ct2-int8_float16", compute_type="auto")
|
463 |
tokenizer = transformers.AutoTokenizer.from_pretrained("jbochi/madlad400-7b-mt-bt")
|
464 |
|
465 |
+
prefix = "<2zh> "
|
466 |
input_text = "Who is Alan Turing?"
|
467 |
input_tokens = tokenizer.convert_ids_to_tokens(tokenizer.encode(prefix + input_text))
|
468 |
|