Spaces:
Sleeping
Sleeping
Update agent.py
Browse files15 unmodified lines1617181920212223242515 unmodified lines# Använd en mer kapabel modell för bättre reasoningself.llm = pipeline("text-generation",model="mistralai/Mistral-7B-Instruct-v0.2",use_auth_token=token,device="cpu",max_new_tokens=1024, # Öka för mer detaljerade svardo_sample=False,temperature=0.1,return_full_text=False15 unmodified lines1617181920212223242515 unmodified lines# Använd en mer kapabel modell för bättre reasoningself.llm = pipeline("text-generation",model="microsoft/DialoGPT-medium", # <-- Bara denna raduse_auth_token=token,device="cpu",max_new_tokens=1024,do_sample=False,temperature=0.1,return_full_text=False
agent.py+2-2