ksuzuki01 commited on
Commit
8303f9f
1 Parent(s): 58c9c9c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -11,7 +11,7 @@ widget:
11
 
12
  # 入力文
13
 
14
- 渡邉亮です。現在の住所は東京都世田谷区代沢1-2-3です。</s>
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 += tokenizer.eos_token
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():