SGEcon commited on
Commit
d2b1968
1 Parent(s): 6bb0093

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -3
README.md CHANGED
@@ -19,8 +19,7 @@ If you wish to use the original data rather than our training data, please conta
19
  - **Base Model:** yanolja/KoSOLAR-10.7B-v0.2(<https://huggingface.co/yanolja/KoSOLAR-10.7B-v0.2>)
20
 
21
 
22
- ## How to Get Started with the Model
23
-
24
 
25
  peft_model_id = "SGEcon/KoSOLAR-10.7B-v0.2_fin_v4"
26
  config = PeftConfig.from_pretrained(peft_model_id)
@@ -35,8 +34,8 @@ If you wish to use the original data rather than our training data, please conta
35
  tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)
36
  model.eval()
37
 
 
38
 
39
- -----
40
  import re
41
  def gen(x):
42
  inputs = tokenizer(f"### 질문: {x}\n\n### 답변:", return_tensors='pt', return_token_type_ids=False)
 
19
  - **Base Model:** yanolja/KoSOLAR-10.7B-v0.2(<https://huggingface.co/yanolja/KoSOLAR-10.7B-v0.2>)
20
 
21
 
22
+ ## Loading the Model
 
23
 
24
  peft_model_id = "SGEcon/KoSOLAR-10.7B-v0.2_fin_v4"
25
  config = PeftConfig.from_pretrained(peft_model_id)
 
34
  tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)
35
  model.eval()
36
 
37
+ ## Conducting Conversation
38
 
 
39
  import re
40
  def gen(x):
41
  inputs = tokenizer(f"### 질문: {x}\n\n### 답변:", return_tensors='pt', return_token_type_ids=False)