j5ng commited on
Commit
74e500e
โ€ข
1 Parent(s): 16ea88c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -6
README.md CHANGED
@@ -20,6 +20,8 @@ pipeline_tag: text2text-generation
20
  - 4. ๋ฌธ์žฅ ๋‚ด &name&, name1 ๋“ฑ ์ด๋ฆ„ ํƒœ๊ทธ๊ฐ€ ํฌํ•จ๋œ ๋‹จ์–ด ์ œ๊ฑฐ(๋‹จ์–ด๋งŒ ์ œ๊ฑฐํ•˜๊ณ  ๋ฌธ์žฅ์€ ์‚ด๋ฆผ)
21
  - total : 318,882 ์Œ
22
 
 
 
23
  ## How to use
24
  ```python
25
  from transformers import T5ForConditionalGeneration, T5Tokenizer
@@ -56,9 +58,10 @@ output_encoding = model.generate(
56
  output_text = tokenizer.decode(output_encoding[0], skip_special_tokens=True)
57
 
58
  # ๊ฒฐ๊ณผ ์ถœ๋ ฅ
59
- print(output_text)
60
  ```
61
- ### ๊ฒฐ๊ณผ : ์•„๋‹ˆ ์ง„์งœ ๋ญ ํ•˜๋ƒ๊ณ .
 
62
 
63
  ## With Transformer Pipeline
64
  ```python
@@ -81,7 +84,5 @@ output_text = typos_corrector("๋งž์ถค๋ฒ•์„ ๊ณ ์ณ์ฃผ์„ธ์š”: " + input_text,
81
  num_beams=5,
82
  early_stopping=True)[0]['generated_text']
83
 
84
- print(output_text)
85
- ```
86
-
87
- ### ์™„์ „ ์–ด์ด์—†๋„ค ์ง„์งœ แ„แ„แ„แ„.
 
20
  - 4. ๋ฌธ์žฅ ๋‚ด &name&, name1 ๋“ฑ ์ด๋ฆ„ ํƒœ๊ทธ๊ฐ€ ํฌํ•จ๋œ ๋‹จ์–ด ์ œ๊ฑฐ(๋‹จ์–ด๋งŒ ์ œ๊ฑฐํ•˜๊ณ  ๋ฌธ์žฅ์€ ์‚ด๋ฆผ)
21
  - total : 318,882 ์Œ
22
 
23
+ ***
24
+
25
  ## How to use
26
  ```python
27
  from transformers import T5ForConditionalGeneration, T5Tokenizer
 
58
  output_text = tokenizer.decode(output_encoding[0], skip_special_tokens=True)
59
 
60
  # ๊ฒฐ๊ณผ ์ถœ๋ ฅ
61
+ print(output_text) # ์•„๋‹ˆ ์ง„์งœ ๋ญ ํ•˜๋ƒ๊ณ .
62
  ```
63
+
64
+ ***
65
 
66
  ## With Transformer Pipeline
67
  ```python
 
84
  num_beams=5,
85
  early_stopping=True)[0]['generated_text']
86
 
87
+ print(output_text) # ์™„์ „ ์–ด์ด์—†๋„ค ์ง„์งœ แ„แ„แ„แ„.
88
+ ```