Update README.md
Browse files
README.md
CHANGED
@@ -40,6 +40,7 @@ If you wish to use the original data rather than our training data, please conta
|
|
40 |
|
41 |
## How to Get Started with the Model
|
42 |
|
|
|
43 |
peft_model_id = "SGEcon/KoSOLAR-10.7B-v0.2_fin_v4"
|
44 |
config = PeftConfig.from_pretrained(peft_model_id)
|
45 |
bnb_config = BitsAndBytesConfig(
|
@@ -55,7 +56,6 @@ model.eval()
|
|
55 |
|
56 |
|
57 |
import re
|
58 |
-
|
59 |
def gen(x):
|
60 |
inputs = tokenizer(f"### 질문: {x}\n\n### 답변:", return_tensors='pt', return_token_type_ids=False)
|
61 |
|
|
|
40 |
|
41 |
## How to Get Started with the Model
|
42 |
|
43 |
+
|
44 |
peft_model_id = "SGEcon/KoSOLAR-10.7B-v0.2_fin_v4"
|
45 |
config = PeftConfig.from_pretrained(peft_model_id)
|
46 |
bnb_config = BitsAndBytesConfig(
|
|
|
56 |
|
57 |
|
58 |
import re
|
|
|
59 |
def gen(x):
|
60 |
inputs = tokenizer(f"### 질문: {x}\n\n### 답변:", return_tensors='pt', return_token_type_ids=False)
|
61 |
|