Tonic commited on
Commit
4add96c
1 Parent(s): a37c2fa

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -123,7 +123,7 @@ tokenizer.padding_side = 'left'
123
  # Load the PEFT model
124
  peft_config = PeftConfig.from_pretrained("pseudolab/K23_MiniMed")
125
  peft_model = MistralForCausalLM.from_pretrained("https://huggingface.co/HuggingFaceH4/zephyr-7b-beta", trust_remote_code=True)
126
- peft_model = PeftModel.from_pretrained(peft_model, "pseudolab/K23_MiniMed)
127
 
128
  class ChatBot:
129
  def __init__(self):
 
123
  # Load the PEFT model
124
  peft_config = PeftConfig.from_pretrained("pseudolab/K23_MiniMed")
125
  peft_model = MistralForCausalLM.from_pretrained("https://huggingface.co/HuggingFaceH4/zephyr-7b-beta", trust_remote_code=True)
126
+ peft_model = PeftModel.from_pretrained(peft_model, "pseudolab/K23_MiniMed")
127
 
128
  class ChatBot:
129
  def __init__(self):