Update README.md
Browse files
README.md
CHANGED
@@ -4,4 +4,46 @@ language:
|
|
4 |
- ko
|
5 |
base_model:
|
6 |
- Darong/BlueT
|
7 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
- ko
|
5 |
base_model:
|
6 |
- Darong/BlueT
|
7 |
+
---
|
8 |
+
# Model Card for Model ID
|
9 |
+
|
10 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
11 |
+
κ²μ λ²μμ νΉνλ μμ΄->νκ΅μ΄ λ²μ λͺ¨λΈμ
λλ€.
|
12 |
+
|
13 |
+
### Model Description
|
14 |
+
|
15 |
+
<!-- Provide a longer summary of what this model is. -->
|
16 |
+
Darong/BlueT λͺ¨λΈμ κΈ°λ°μΌλ‘ κ²μ λΆμΌμ λν΄ λ―ΈμΈμ‘°μ ν λ²μ λͺ¨λΈμ
λλ€.
|
17 |
+
μμ΄->νκ΅μ΄ λ²μμ μ§μνλ©°, μμ΄->νκ΅μ΄ λ²μ μ λμλ§λ
|
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/BlueGame'
|
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 |
+
```
|
49 |
+
|