Model Card for Model ID
๋ ผ๋ฌธ ๋ฒ์ญ์ ํนํ๋ ์์ด->ํ๊ตญ์ด ๋ฒ์ญ ๋ชจ๋ธ์ ๋๋ค.
Model Description
Darong/BlueT ๋ชจ๋ธ์ ๊ธฐ๋ฐ์ผ๋ก ๋ ผ๋ฌธ์ ๋ํด ๋ฏธ์ธ์กฐ์ ํ ๋ฒ์ญ ๋ชจ๋ธ์ ๋๋ค. ์์ด->ํ๊ตญ์ด ๋ฒ์ญ์ ์ง์ํ๋ฉฐ, ๋ฒ์ญ ์ ๋์๋ง๋ ์ค์ ํ ์ ์์ต๋๋ค.
- Developed by: [BlueAI]
- Model type: [t5.1.1.base]
- Language(s) (NLP): [Korean]
- License: [MIT]
- Finetuned from model [optional]: [Darong/BlueT]
Uses
How to Get Started with the Model
Use the code below to get started with the model.
from transformers import pipeline, T5TokenizerFast
tokenizer_name = "paust/pko-t5-base"
tokenizer = T5TokenizerFast.from_pretrained(tokenizer_name)
model_path = 'Darong/BluePaper'
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'])
- Downloads last month
- 316