|
--- |
|
license: mit |
|
language: |
|
- ko |
|
base_model: |
|
- paust/pko-t5-base |
|
pipeline_tag: translation |
|
--- |
|
# Model Card for Model ID |
|
|
|
<!-- Provide a quick summary of what the model is/does. --> |
|
μμ΄-νκ΅μ΄ λ²μ λͺ¨λΈμ
λλ€. |
|
|
|
### Model Description |
|
|
|
<!-- Provide a longer summary of what this model is. --> |
|
paust/pko-t5-base λͺ¨λΈμ κΈ°λ°μΌλ‘ μμ΄-νκ΅μ΄ λ²μμ λ―ΈμΈμ‘°μ ν λ²μ λͺ¨λΈμ
λλ€. |
|
μμ΄->νκ΅μ΄, νκ΅μ΄->μμ΄ μλ°©ν₯ λ²μμ μ§μνλ©°, μμ΄->νκ΅μ΄ λ²μ μ λμλ§λ |
|
μ€μ ν μ μμ΅λλ€. |
|
|
|
|
|
- **Developed by:** [BlueAI] |
|
- **Model type:** [t5.1.1.base] |
|
- **Language(s) (NLP):** [Korean] |
|
- **License:** [MIT] |
|
- **Finetuned from model [optional]:** [paust/pko-t5-base] |
|
|
|
## Uses |
|
|
|
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. --> |
|
|
|
## How to Get Started with the Model |
|
|
|
Use the code below to get started with the model. |
|
|
|
```python |
|
from transformers import pipeline, T5TokenizerFast |
|
|
|
tokenizer_name = "paust/pko-t5-base" |
|
tokenizer = T5TokenizerFast.from_pretrained(tokenizer_name) |
|
model_path = 'Darong/BlueT' |
|
translator = pipeline("translation", model=model_path, tokenizer=tokenizer, max_length=255) |
|
# μμ΄ -> νκ΅μ΄ |
|
prefix = "E2K: " |
|
source = "This model is an English-Korean translation model." |
|
target = translator(prefix + source) |
|
print(target[0]['translation_text']) |
|
|
|
# νκ΅μ΄->μμ΄ |
|
prefix = "K2E: " |
|
source = "μ΄ λͺ¨λΈμ μμ΄-νκ΅μ΄ λ²μ λͺ¨λΈμ
λλ€." |
|
target = translator(prefix + source) |
|
print(target[0]['translation_text']) |
|
``` |
|
|
|
## Training Details |
|
|
|
### Training Data |
|
|
|
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. --> |
|
|
|
μ΄ λͺ¨λΈμ AI Hub λ° μ체 ꡬμΆν λ°μ΄ν°λ‘ νμ΅λμμ΅λλ€. |
|
μμ΄->νκ΅μ΄ νμ΅ λ°μ΄ν° μλ 1800λ§ μ΄μ, νκ΅μ΄->μμ΄ νμ΅ λ°μ΄ν° μλ 1200λ§ μ΄μμ λ¬Έμ₯μΌλ‘ ꡬμΆλμμ΅λλ€. |
|
|
|
|