Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,28 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- ko
|
5 |
---
|
6 |
+
## Model Details
|
7 |
+
|
8 |
+
**Model Developers** : Taeeon Park, Gihong Lee
|
9 |
+
|
10 |
+
**dataset** : dpo medical dataset (AI-hub dataset 활용 자체 제작)
|
11 |
+
|
12 |
+
**Training Method Method** : DPO.
|
13 |
+
|
14 |
+
**Company** : MoAData
|
15 |
+
|
16 |
+
## Usage
|
17 |
+
```
|
18 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
19 |
+
import torch
|
20 |
+
repo = "MoaData/Myrrh_solar_10.7b_3.0"
|
21 |
+
model = AutoModelForCausalLM.from_pretrained(
|
22 |
+
repo,
|
23 |
+
return_dict=True,
|
24 |
+
torch_dtype=torch.float16,
|
25 |
+
device_map='auto'
|
26 |
+
)
|
27 |
+
tokenizer = AutoTokenizer.from_pretrained(repo)
|
28 |
+
```
|