Update app.py
Browse files
app.py
CHANGED
@@ -155,23 +155,5 @@ if file_path:
|
|
155 |
|
156 |
|
157 |
|
158 |
-
|
159 |
-
# Initialize Large Language Model for question generation
|
160 |
-
llm_question_gen = LlamaCpp(
|
161 |
-
streaming = True,
|
162 |
-
model_path = AutoModel.from_pretrained("TheBloke/zephyr-7B-beta-GGUF"),
|
163 |
-
temperature=0.75,
|
164 |
-
top_p=1,
|
165 |
-
verbose=True,
|
166 |
-
n_ctx=4096
|
167 |
-
)
|
168 |
-
|
169 |
-
# Initialize Large Language Model for answer generation
|
170 |
-
llm_answer_gen = LlamaCpp(
|
171 |
-
streaming = True,
|
172 |
-
model_path = AutoModel.from_pretrained("TheBloke/zephyr-7B-beta-GGUF"),
|
173 |
-
temperature=0.75,
|
174 |
-
top_p=1,
|
175 |
-
verbose=True,
|
176 |
-
n_ctx=4096)
|
177 |
|
|
|
155 |
|
156 |
|
157 |
|
158 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
|