Danjie commited on
Commit
f88806d
·
1 Parent(s): 3d5f5ba

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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/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)
 
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)