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