Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Aug 9, 2024
1 parent aeeb8ef commit 3e4793e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde/classes/kobold/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def set_softprompts(self, softprompts):
def calculate_uptime_reward(self):
model = self.get_model_names()[0]
# The base amount of kudos one gets is based on the max context length they've loaded
base_kudos = 25 + (15 * min(self.max_context_length,16384) / 1024)
base_kudos = 25 + (15 * min(self.max_context_length, 16384) / 1024)
if not model_reference.is_known_text_model(model):
return base_kudos * 0.5
# We consider the 7B models the baseline here
Expand Down

0 comments on commit 3e4793e

Please sign in to comment.