Update README.md
Browse files
README.md
CHANGED
@@ -61,7 +61,7 @@ def p2g(param):
|
|
61 |
return chat_response.choices[0].message.content
|
62 |
|
63 |
|
64 |
-
prompt= f"""
|
65 |
|
66 |
result= p2g(prompt)
|
67 |
|
@@ -86,7 +86,7 @@ tokenizer = AutoTokenizer.from_pretrained("Respair/Japanese_Phoneme_to_Grapheme_
|
|
86 |
tokenizer.pad_token = "<|endoftext|>"
|
87 |
tokenizer.bos_token = "<|endoftext|>"
|
88 |
tokenizer.eos_token = "<|im_end|>"
|
89 |
-
prompt = "
|
90 |
# or anyother prompts, this model was trained on an instruction tuned dataset, so it should be a bit robust to variations in prompt
|
91 |
|
92 |
|
|
|
61 |
return chat_response.choices[0].message.content
|
62 |
|
63 |
|
64 |
+
prompt= f"""convert this pronunciation back to normal japanese: geɴ'iɴ? sonna fɯɯ ni ɕiɽoi hebi no geŋkakɯ ga, omae no ɕɯɯi ni naɴ do mo naɴ do mo aɽawaɽerɯ, kiʔkake na no ka naɴ na no ka? mi ni oboeʔtsɯ no ka? """
|
65 |
|
66 |
result= p2g(prompt)
|
67 |
|
|
|
86 |
tokenizer.pad_token = "<|endoftext|>"
|
87 |
tokenizer.bos_token = "<|endoftext|>"
|
88 |
tokenizer.eos_token = "<|im_end|>"
|
89 |
+
prompt = "convert this pronunciation back to normal japanese: geɴ'iɴ? sonna fɯɯ ni ɕiɽoi hebi no geŋkakɯ ga, omae no ɕɯɯi ni naɴ do mo naɴ do mo aɽawaɽerɯ, kiʔkake na no ka naɴ na no ka? mi ni oboeʔtsɯ no ka?"
|
90 |
# or anyother prompts, this model was trained on an instruction tuned dataset, so it should be a bit robust to variations in prompt
|
91 |
|
92 |
|