Yuchan5386 commited on
Commit
cd450eb
·
verified ·
1 Parent(s): c26cdc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ unk_id = sp.piece_to_id("<unk>")
22
  if unk_id == -1: unk_id = 3
23
 
24
  vocab_size = sp.get_piece_size()
25
- max_len = 128
26
 
27
  def text_to_ids(text):
28
  return sp.encode(text, out_type=int)
 
22
  if unk_id == -1: unk_id = 3
23
 
24
  vocab_size = sp.get_piece_size()
25
+ max_len = 100
26
 
27
  def text_to_ids(text):
28
  return sp.encode(text, out_type=int)