sdhan commited on
Commit
a32d708
1 Parent(s): 9ec4133

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -9,6 +9,7 @@ dataset : DPO dataset (huggingface datasets, 2digit datasets 활용)
9
  Training Method Method : DPO.
10
 
11
  Usage
 
12
  from transformers import AutoModelForCausalLM, AutoTokenizer
13
  import torch
14
  repo = "sdhan/SD_SOLAR_10.7B_v1.0"
@@ -18,4 +19,5 @@ model = AutoModelForCausalLM.from_pretrained(
18
  torch_dtype=torch.float16,
19
  device_map='auto'
20
  )
21
- tokenizer = AutoTokenizer.from_pretrained(repo)
 
 
9
  Training Method Method : DPO.
10
 
11
  Usage
12
+ ```
13
  from transformers import AutoModelForCausalLM, AutoTokenizer
14
  import torch
15
  repo = "sdhan/SD_SOLAR_10.7B_v1.0"
 
19
  torch_dtype=torch.float16,
20
  device_map='auto'
21
  )
22
+ tokenizer = AutoTokenizer.from_pretrained(repo)
23
+ ```