Update README.md
Browse files
README.md
CHANGED
@@ -22,7 +22,7 @@ model_dir = "lcw99/t5-large-korean-text-summary"
|
|
22 |
tokenizer = AutoTokenizer.from_pretrained(model_dir)
|
23 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_dir)
|
24 |
|
25 |
-
max_input_length = 512
|
26 |
|
27 |
text = """
|
28 |
์ฃผ์ธ๊ณต ๊ฐ์ธ๊ตฌ(ํ์ ์ฐ)๋ โ์๋ฆฌ๋จ์์ ํ์ด๊ฐ ๋ง์ด ๋๋๋ฐ ๋ค ๊ฐ๋ค๋ฒ๋ฆฐ๋คโ๋ ์น๊ตฌ
|
|
|
22 |
tokenizer = AutoTokenizer.from_pretrained(model_dir)
|
23 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_dir)
|
24 |
|
25 |
+
max_input_length = 512 + 256
|
26 |
|
27 |
text = """
|
28 |
์ฃผ์ธ๊ณต ๊ฐ์ธ๊ตฌ(ํ์ ์ฐ)๋ โ์๋ฆฌ๋จ์์ ํ์ด๊ฐ ๋ง์ด ๋๋๋ฐ ๋ค ๊ฐ๋ค๋ฒ๋ฆฐ๋คโ๋ ์น๊ตฌ
|