pvyas96 commited on
Commit
a600542
1 Parent(s): d9a9459

Update pages/1_Simple_Chat_UI.py

Browse files
Files changed (1) hide show
  1. pages/1_Simple_Chat_UI.py +1 -1
pages/1_Simple_Chat_UI.py CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM, AutoModelForSeq2Se
3
 
4
  def load_model_tokenizer(model_name, hf_api_key):
5
  if model_name == "Mistral-7B":
6
- model_name="mistralai/Mistral-7B-Instruct-v0.2"
7
  model = AutoModelForCausalLM.from_pretrained(model_name, token=hf_api_key)
8
  tokenizer = AutoTokenizer.from_pretrained(model_name, tokenizer=hf_api_key)
9
  elif model_name == "blenderbot-400M-distill":
 
3
 
4
  def load_model_tokenizer(model_name, hf_api_key):
5
  if model_name == "Mistral-7B":
6
+ model_name="NousResearch/Nous-Hermes-2-Mistral-7B-DPO"
7
  model = AutoModelForCausalLM.from_pretrained(model_name, token=hf_api_key)
8
  tokenizer = AutoTokenizer.from_pretrained(model_name, tokenizer=hf_api_key)
9
  elif model_name == "blenderbot-400M-distill":