Update README.md
Browse files
README.md
CHANGED
@@ -5,4 +5,44 @@ language:
|
|
5 |
base_model:
|
6 |
- Darong/BlueT
|
7 |
pipeline_tag: translation
|
8 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
base_model:
|
6 |
- Darong/BlueT
|
7 |
pipeline_tag: translation
|
8 |
+
---
|
9 |
+
# Model Card for Model ID
|
10 |
+
|
11 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
12 |
+
๋
ผ๋ฌธ ๋ฒ์ญ์ ํนํ๋ ์์ด->ํ๊ตญ์ด ๋ฒ์ญ ๋ชจ๋ธ์
๋๋ค.
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
Darong/BlueT ๋ชจ๋ธ์ ๊ธฐ๋ฐ์ผ๋ก ๋
ผ๋ฌธ์ ๋ํด ๋ฏธ์ธ์กฐ์ ํ ๋ฒ์ญ ๋ชจ๋ธ์
๋๋ค.
|
18 |
+
์์ด->ํ๊ตญ์ด ๋ฒ์ญ์ ์ง์ํ๋ฉฐ, ๋ฒ์ญ ์ ๋์๋ง๋ ์ค์ ํ ์ ์์ต๋๋ค.
|
19 |
+
|
20 |
+
|
21 |
+
- **Developed by:** [BlueAI]
|
22 |
+
- **Model type:** [t5.1.1.base]
|
23 |
+
- **Language(s) (NLP):** [Korean]
|
24 |
+
- **License:** [MIT]
|
25 |
+
- **Finetuned from model [optional]:** [Darong/BlueT]
|
26 |
+
|
27 |
+
## Uses
|
28 |
+
|
29 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
30 |
+
|
31 |
+
## How to Get Started with the Model
|
32 |
+
|
33 |
+
Use the code below to get started with the model.
|
34 |
+
|
35 |
+
```python
|
36 |
+
from transformers import pipeline, T5TokenizerFast
|
37 |
+
|
38 |
+
tokenizer_name = "paust/pko-t5-base"
|
39 |
+
tokenizer = T5TokenizerFast.from_pretrained(tokenizer_name)
|
40 |
+
model_path = 'Darong/BluePaper'
|
41 |
+
translator = pipeline("translation", model=model_path, tokenizer=tokenizer, max_length=255)
|
42 |
+
# ์์ด -> ํ๊ตญ์ด
|
43 |
+
prefix = "E2K: "
|
44 |
+
source = "This model is an English-Korean translation model."
|
45 |
+
target = translator(prefix + source)
|
46 |
+
print(target[0]['translation_text'])
|
47 |
+
|
48 |
+
```
|