From 0639250048a75a5773faf3ddf7f169f060abc14a Mon Sep 17 00:00:00 2001 From: Kye Date: Sat, 29 Jul 2023 11:20:09 -0400 Subject: [PATCH] clean up temperature Former-commit-id: 24f133e0640e70edaad98f81e6a1d6a4580cec8d --- requirements.txt | 4 ++-- swarms/swarms.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 0ff02b54..254256f6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -39,7 +39,7 @@ streamlit test-tube timm -torchmetrics +# torchmetrics webdataset yapf @@ -49,7 +49,7 @@ wikipedia==1.4.0 httpx ggl -gradio_tools + arxiv google-api-python-client diff --git a/swarms/swarms.py b/swarms/swarms.py index 0d22ee81..2a2d1d3c 100644 --- a/swarms/swarms.py +++ b/swarms/swarms.py @@ -46,7 +46,7 @@ class HierarchicalSwarm: boss_prompt: Optional[str] = "You are an Boss in a swarm who performs one task based on the following objective: {objective}. Take into account these previously completed tasks: {context}.\n", worker_prompt: Optional[str] = None, - temperature: Optional[float] = None, + temperature: Optional[float] = 0.5, max_iterations: Optional[int] = None, logging_enabled: Optional[bool] = True):