Update README.md
Browse files
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.
|
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 |
|