Update README.md
Browse files
README.md
CHANGED
@@ -76,14 +76,6 @@ def wrap_text(text, width=90):
|
|
76 |
return wrapped_text
|
77 |
|
78 |
def multimodal_prompt(user_input, system_prompt="You are an expert medical analyst:"):
|
79 |
-
"""
|
80 |
-
Generates text using a large language model, given a user input and a system prompt.
|
81 |
-
Args:
|
82 |
-
user_input: The user's input text to generate a response for.
|
83 |
-
system_prompt: Optional system prompt.
|
84 |
-
Returns:
|
85 |
-
A string containing the generated text.
|
86 |
-
"""
|
87 |
# Combine user input and system prompt
|
88 |
formatted_input = f"<s>[INST]{system_prompt} {user_input}[/INST]"
|
89 |
|
|
|
76 |
return wrapped_text
|
77 |
|
78 |
def multimodal_prompt(user_input, system_prompt="You are an expert medical analyst:"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
# Combine user input and system prompt
|
80 |
formatted_input = f"<s>[INST]{system_prompt} {user_input}[/INST]"
|
81 |
|