Skip to content

Commit

Permalink
switch model
Browse files Browse the repository at this point in the history
  • Loading branch information
surcyf123 authored Mar 9, 2024
1 parent 9ddca1f commit c888c41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions validators/text_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, dendrite, config, subtensor, wallet: bt.wallet):
super().__init__(dendrite, config, subtensor, wallet, timeout=75)
self.streaming = True
self.query_type = "text"
self.model = "gpt-4-1106-preview"
self.model = "gpt-4-0125-preview"
self.max_tokens = 2048
self.temperature = 0.0001
self.weight = 1
Expand Down Expand Up @@ -83,7 +83,7 @@ async def start_query(self, available_uids, metagraph) -> tuple[list, dict]:
# claude models = ["claude-2.1", "claude-2.0", "claude-instant-1.2"]
self.model = "anthropic.claude-v2:1"
elif self.provider == "OpenAI":
self.model = "gpt-4-1106-preview"
self.model = "gpt-4-0125-preview"

for uid in available_uids:
prompt = await self.get_question(len(available_uids))
Expand Down

0 comments on commit c888c41

Please sign in to comment.