Question Answering
PEFT
English
medical
Tonic commited on
Commit
41e3995
1 Parent(s): f357191

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -80,7 +80,7 @@ def wrap_text(text, width=90):
80
  wrapped_text = '\n'.join(wrapped_lines)
81
  return wrapped_text
82
 
83
- def multimodal_prompt(user_input, system_prompt="You are an expert medical analyst:"):
84
  formatted_input = f"{{{{ {system_prompt} }}}}\nUser: {user_input}\nFalcon:"
85
  encodeds = tokenizer(formatted_input, return_tensors="pt", add_special_tokens=False)
86
  model_inputs = encodeds.to(device)
 
80
  wrapped_text = '\n'.join(wrapped_lines)
81
  return wrapped_text
82
 
83
+ def multimodal_prompt(user_input, system_prompt):
84
  formatted_input = f"{{{{ {system_prompt} }}}}\nUser: {user_input}\nFalcon:"
85
  encodeds = tokenizer(formatted_input, return_tensors="pt", add_special_tokens=False)
86
  model_inputs = encodeds.to(device)