Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -16,10 +16,10 @@ class GaiaAgent:
|
|
| 16 |
# Använd en mer kapabel modell för bättre reasoning
|
| 17 |
self.llm = pipeline(
|
| 18 |
"text-generation",
|
| 19 |
-
model="
|
| 20 |
use_auth_token=token,
|
| 21 |
device="cpu",
|
| 22 |
-
max_new_tokens=1024,
|
| 23 |
do_sample=False,
|
| 24 |
temperature=0.1,
|
| 25 |
return_full_text=False
|
|
|
|
| 16 |
# Använd en mer kapabel modell för bättre reasoning
|
| 17 |
self.llm = pipeline(
|
| 18 |
"text-generation",
|
| 19 |
+
model="microsoft/DialoGPT-medium", # <-- Bara denna rad
|
| 20 |
use_auth_token=token,
|
| 21 |
device="cpu",
|
| 22 |
+
max_new_tokens=1024,
|
| 23 |
do_sample=False,
|
| 24 |
temperature=0.1,
|
| 25 |
return_full_text=False
|