Darong commited on
Commit
8c28667
ยท
verified ยท
1 Parent(s): cd03fe9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -1
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
+ ```