Update README.md
Browse files
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("
|
147 |
model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1")
|
148 |
-
model = PeftModel.from_pretrained(model, "
|
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?'''
|