mjnam commited on
Commit
ac7f25d
β€’
1 Parent(s): f4ef202

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -14
README.md CHANGED
@@ -1,21 +1,18 @@
1
  ---
2
- library_name: transformers
3
- tags: []
 
 
4
  ---
5
-
6
- # Model Card for Model ID
7
-
8
- <!-- Provide a quick summary of what the model is/does. -->
9
-
10
-
11
-
12
  ## Model Details
13
 
14
  ### Model Description
15
 
16
  <!-- Provide a longer summary of what this model is. -->
17
 
18
- This is the model card of a πŸ€— transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
 
20
  - **Developed by:** [More Information Needed]
21
  - **Funded by [optional]:** [More Information Needed]
@@ -35,6 +32,27 @@ This is the model card of a πŸ€— transformers model that has been pushed on the
35
 
36
  ## Uses
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
 
40
  ### Direct Use
@@ -81,7 +99,7 @@ Use the code below to get started with the model.
81
 
82
  [More Information Needed]
83
 
84
- ### Training Procedure
85
 
86
  <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
 
@@ -196,6 +214,4 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
196
 
197
  ## Model Card Contact
198
 
199
- [More Information Needed]
200
-
201
-
 
1
  ---
2
+ license: apache-2.0
3
+ language:
4
+ - ko
5
+ - en
6
  ---
7
+ # Base Model
8
+ beomi/Yi-Ko-6B
 
 
 
 
 
9
  ## Model Details
10
 
11
  ### Model Description
12
 
13
  <!-- Provide a longer summary of what this model is. -->
14
 
15
+
16
 
17
  - **Developed by:** [More Information Needed]
18
  - **Funded by [optional]:** [More Information Needed]
 
32
 
33
  ## Uses
34
 
35
+ ```python
36
+ from transformers import AutoModelForCausalLM, AutoTokenizer
37
+
38
+ model_id = "TeamUNIVA/Komodo_6B_v3.0.0"
39
+
40
+ model = AutoModelForCausalLM.from_pretrained(model_id)
41
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
42
+
43
+
44
+ text = '''<|system|>
45
+ 당신은 μ‚¬μš©μžμ˜ μ§ˆλ¬Έμ— μΉœμ ˆν•˜κ²Œ 닡변을 ν•˜λŠ” μ±—λ΄‡μž…λ‹ˆλ‹€.
46
+ <|user|>
47
+ μ•ˆλ…•ν•˜μ„Έμš”?
48
+ <|bot|>
49
+ '''
50
+
51
+ inputs = tokenizer(text, return_tensors="pt")
52
+ outputs = model.generate(**inputs, max_new_tokens=20)
53
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
54
+ ```
55
+
56
  <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
57
 
58
  ### Direct Use
 
99
 
100
  [More Information Needed]
101
 
102
+ ### Training Procedure
103
 
104
  <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
105
 
 
214
 
215
  ## Model Card Contact
216
 
217
+ [More Information Needed]