Update README.md
Browse files
README.md
CHANGED
@@ -32,7 +32,7 @@ import torch
|
|
32 |
from peft import PeftModel, PeftConfig
|
33 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
34 |
|
35 |
-
peft_model_id = "danjie/
|
36 |
config = PeftConfig.from_pretrained(peft_model_id)
|
37 |
model = AutoModelForCausalLM.from_pretrained(config.base_model_name_or_path, return_dict=True, load_in_8bit=True, device_map='auto')
|
38 |
tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)
|
|
|
32 |
from peft import PeftModel, PeftConfig
|
33 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
34 |
|
35 |
+
peft_model_id = "danjie/Chadgpt-Llama2-13b"
|
36 |
config = PeftConfig.from_pretrained(peft_model_id)
|
37 |
model = AutoModelForCausalLM.from_pretrained(config.base_model_name_or_path, return_dict=True, load_in_8bit=True, device_map='auto')
|
38 |
tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)
|