lyu-boxuan
commited on
Commit
•
fc4fca6
1
Parent(s):
6877291
Update README.md
Browse files
README.md
CHANGED
@@ -26,8 +26,8 @@ This model is based on rinna's [rinna/llama-3-youko-8b], fine-tuned using LoRA o
|
|
26 |
import torch
|
27 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
28 |
|
29 |
-
response_template
|
30 |
-
prefix
|
31 |
|
32 |
|
33 |
def create_input(text, tokenizer):
|
|
|
26 |
import torch
|
27 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
28 |
|
29 |
+
response_template= "\n### 日本語:\n"
|
30 |
+
prefix= "### 次の英語のテキストを日本語に翻訳してください:\n英語:\n"
|
31 |
|
32 |
|
33 |
def create_input(text, tokenizer):
|