iarbel commited on
Commit
fc4ed05
·
verified ·
1 Parent(s): 4c6a038

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -143,9 +143,9 @@ Example use:
143
  from transformers import AutoModelForCausalLM, AutoTokenizer
144
  from peft import PeftModel
145
 
146
- tokenizer = AutoTokenizer.from_pretrained("iarbel/mistral-law-7b-beta")
147
  model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1")
148
- model = PeftModel.from_pretrained(model, "iarbel/mistral-law-7b-beta")
149
 
150
  # Put your input here:
151
  user_input = '''What can you tell me about ex post facto laws?'''
 
143
  from transformers import AutoModelForCausalLM, AutoTokenizer
144
  from peft import PeftModel
145
 
146
+ tokenizer = AutoTokenizer.from_pretrained("cimphonyadmin/Cimphony-Mistral-Law-7B")
147
  model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1")
148
+ model = PeftModel.from_pretrained(model, "cimphonyadmin/Cimphony-Mistral-Law-7B")
149
 
150
  # Put your input here:
151
  user_input = '''What can you tell me about ex post facto laws?'''