Spaces:
Sleeping
Sleeping
Commit
·
af3021b
1
Parent(s):
946a8d2
for download
Browse files
app.py
CHANGED
@@ -170,14 +170,14 @@ class WebSocketStreamingCallbackHandler(BaseCallbackHandler):
|
|
170 |
# ------------------------ Instantiate the LLM ------------------------
|
171 |
# Choose one mode: local (set use_server=False) or server (set use_server=True).
|
172 |
model_path="qwen2.5-1.5b-instruct-q4_k_m.gguf"
|
173 |
-
llm = ChatQwen(
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
)
|
181 |
|
182 |
# ------------------------ FAISS and Sentence Transformer Setup ------------------------
|
183 |
|
|
|
170 |
# ------------------------ Instantiate the LLM ------------------------
|
171 |
# Choose one mode: local (set use_server=False) or server (set use_server=True).
|
172 |
model_path="qwen2.5-1.5b-instruct-q4_k_m.gguf"
|
173 |
+
# llm = ChatQwen(
|
174 |
+
# temperature=0.3,
|
175 |
+
# streaming=True,
|
176 |
+
# max_new_tokens=512,
|
177 |
+
# use_server=False,
|
178 |
+
# model_path=model_path,
|
179 |
+
# # server_url="http://localhost:8000" # Uncomment and set if using server mode.
|
180 |
+
# )
|
181 |
|
182 |
# ------------------------ FAISS and Sentence Transformer Setup ------------------------
|
183 |
|