Update README.md
Browse files
README.md
CHANGED
@@ -1,21 +1,18 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
|
|
|
|
|
4 |
---
|
5 |
-
|
6 |
-
|
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 |
-
|
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]
|
|
|
|