From ffaa9459365d638b9f2766d9e318aba232688cd5 Mon Sep 17 00:00:00 2001 From: Aymeric Roucher <69208727+aymeric-roucher@users.noreply.github.com> Date: Wed, 22 Jan 2025 17:20:12 +0100 Subject: [PATCH] Unset temperature in models (#315) --- src/smolagents/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/smolagents/models.py b/src/smolagents/models.py index 3e6e7c31..575d2a56 100644 --- a/src/smolagents/models.py +++ b/src/smolagents/models.py @@ -200,7 +200,6 @@ def __init__(self, **kwargs): self.last_input_token_count = None self.last_output_token_count = None # Set default values for common parameters - kwargs.setdefault("temperature", 0.5) kwargs.setdefault("max_tokens", 4096) self.kwargs = kwargs