Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -295,7 +295,7 @@ class Educational_Agent:
|
|
| 295 |
"""Modern LangChain agent with LLM-based tool decision making"""
|
| 296 |
|
| 297 |
def __init__(self):
|
| 298 |
-
self.llm = Qwen25SmallLLM(model_path="Qwen/Qwen2.5-
|
| 299 |
self.tool_decision_engine = Tool_Decision_Engine(self.llm)
|
| 300 |
self.memory = ConversationBufferWindowMemory(
|
| 301 |
memory_key="chat_history",
|
|
|
|
| 295 |
"""Modern LangChain agent with LLM-based tool decision making"""
|
| 296 |
|
| 297 |
def __init__(self):
|
| 298 |
+
self.llm = Qwen25SmallLLM(model_path="Qwen/Qwen2.5-1.5B-Instruct", use_4bit=True)
|
| 299 |
self.tool_decision_engine = Tool_Decision_Engine(self.llm)
|
| 300 |
self.memory = ConversationBufferWindowMemory(
|
| 301 |
memory_key="chat_history",
|