Update README.md
Browse files
README.md
CHANGED
@@ -11,7 +11,7 @@ widget:
|
|
11 |
|
12 |
# 入力文
|
13 |
|
14 |
-
渡邉亮です。現在の住所は東京都世田谷区代沢1-2-3
|
15 |
|
16 |
'
|
17 |
inference:
|
@@ -68,7 +68,7 @@ def preprocess(text):
|
|
68 |
def postprocess(text):
|
69 |
return text.replace("<LB>", "\n")
|
70 |
|
71 |
-
input_text +=
|
72 |
input_text = preprocess(input_text)
|
73 |
|
74 |
with torch.no_grad():
|
|
|
11 |
|
12 |
# 入力文
|
13 |
|
14 |
+
渡邉亮です。現在の住所は東京都世田谷区代沢1-2-3です。<SEP>
|
15 |
|
16 |
'
|
17 |
inference:
|
|
|
68 |
def postprocess(text):
|
69 |
return text.replace("<LB>", "\n")
|
70 |
|
71 |
+
input_text += "<SEP>"
|
72 |
input_text = preprocess(input_text)
|
73 |
|
74 |
with torch.no_grad():
|