kfkas commited on
Commit
405395f
โ€ข
1 Parent(s): 88012ae

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -3
README.md CHANGED
@@ -13,8 +13,8 @@ model-index:
13
 
14
  ์ด ๋ชจ๋ธ์€ lcw99 / t5-large-korean-text-summary์„ klue-ynat์œผ๋กœ ํ›ˆ๋ จ์‹œ์ผœ ๋งŒ๋“  ๋ชจ๋ธ์ž…๋‹ˆ๋‹ค.<br>
15
  Input = ['IT๊ณผํ•™','๊ฒฝ์ œ','์‚ฌํšŒ','์ƒํ™œ๋ฌธํ™”','์„ธ๊ณ„','์Šคํฌ์ธ ','์ •์น˜']<br>
16
- OUTPUT = ๊ฐ label์— ๋งž๋Š” ๋‰ด์Šค ๊ธฐ์‚ฌ ์ œ๋ชฉ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
17
-
18
  ## Usage
19
  ```python
20
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
@@ -39,7 +39,8 @@ with torch.no_grad():
39
  top_p=0.95, # ๋ˆ„์  ํ™•๋ฅ ์ด 95%์ธ ํ›„๋ณด์ง‘ํ•ฉ์—์„œ๋งŒ ์ƒ์„ฑ
40
  )
41
  decoded_output = tokenizer.batch_decode(output, skip_special_tokens=True)[0]
42
- print(decoded_output)#๊ฐค๋…ธํŠธ7 ์ถœ์‹œ ์—ดํ˜...์˜ˆ์•ฝํŒ๋งค 5๋งŒ 4์ฒœ์—ฌ๋Œ€
 
43
 
44
  ```
45
 
 
13
 
14
  ์ด ๋ชจ๋ธ์€ lcw99 / t5-large-korean-text-summary์„ klue-ynat์œผ๋กœ ํ›ˆ๋ จ์‹œ์ผœ ๋งŒ๋“  ๋ชจ๋ธ์ž…๋‹ˆ๋‹ค.<br>
15
  Input = ['IT๊ณผํ•™','๊ฒฝ์ œ','์‚ฌํšŒ','์ƒํ™œ๋ฌธํ™”','์„ธ๊ณ„','์Šคํฌ์ธ ','์ •์น˜']<br>
16
+ OUTPUT = ๊ฐ label์— ๋งž๋Š” ๋‰ด์Šค ๊ธฐ์‚ฌ ์ œ๋ชฉ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.<br>
17
+ ๋ฐฐ์น˜๋‹จ์œ„๋กœ ์ถ”๋ก ํ•˜๊ณ ์‹ถ๋‹ค๋ฉด batch_encode_plus๋ฅผ ์‚ฌ์šฉํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.
18
  ## Usage
19
  ```python
20
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
 
39
  top_p=0.95, # ๋ˆ„์  ํ™•๋ฅ ์ด 95%์ธ ํ›„๋ณด์ง‘ํ•ฉ์—์„œ๋งŒ ์ƒ์„ฑ
40
  )
41
  decoded_output = tokenizer.batch_decode(output, skip_special_tokens=True)[0]
42
+ print(decoded_output)#SKํ…”๋ ˆ์ฝค ์Šค๋งˆํŠธ ๋ชจ๋ฐ”์ผ ์š”๊ธˆ์ œ ์‹œ์ฆŒ1 ์ถœ์‹œ
43
+
44
 
45
  ```
46