Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from requests.exceptions import RequestException
|
|
5 |
app = Flask(__name__)
|
6 |
|
7 |
|
8 |
-
client = InferenceClient("
|
9 |
|
10 |
def system_instructions(context):
|
11 |
return f"""<s> [INST] Your are a great teacher and your task is to create 6 questions with answer and 4 choices based on the following context:\n\n{context}\n\n. Each example should be like this
|
|
|
5 |
app = Flask(__name__)
|
6 |
|
7 |
|
8 |
+
client = InferenceClient("mistralai/Mistral-7B-Instruct-v0.2")
|
9 |
|
10 |
def system_instructions(context):
|
11 |
return f"""<s> [INST] Your are a great teacher and your task is to create 6 questions with answer and 4 choices based on the following context:\n\n{context}\n\n. Each example should be like this
|