kfkas commited on
Commit
8fbb96b
โ€ข
1 Parent(s): ff62492

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -26,7 +26,7 @@ model = AutoModelForSeq2SeqLM.from_pretrained(model_dir)
26
  text = "์„œ๊ทœ์™•๊ตญ ์‹ธ์šฐ๋”” ํƒœ์–‘๊ด‘ยทํ’๋… ๋นจ์ฉ ์ค‘์‹ฌ์ง€ ๋  ๊ปƒ"
27
  inputs = tokenizer.encode(text,return_tensors="pt")
28
  output = model.generate(inputs)
29
- decoded_output = tokenizer.batch_decode(output[0], skip_special_tokens=True)
30
  print(decoded_output)
31
  ```
32
 
 
26
  text = "์„œ๊ทœ์™•๊ตญ ์‹ธ์šฐ๋”” ํƒœ์–‘๊ด‘ยทํ’๋… ๋นจ์ฉ ์ค‘์‹ฌ์ง€ ๋  ๊ปƒ"
27
  inputs = tokenizer.encode(text,return_tensors="pt")
28
  output = model.generate(inputs)
29
+ decoded_output = tokenizer.batch(output[0], skip_special_tokens=True)
30
  print(decoded_output)
31
  ```
32