Darong commited on
Commit
fbd5ee8
Β·
verified Β·
1 Parent(s): 5a849e2

Update README.md

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