Skip to content

Commit

Permalink
change percentages
Browse files Browse the repository at this point in the history
  • Loading branch information
surcyf123 authored Jun 18, 2024
1 parent 27a1dc3 commit 0dd16f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions validators/text_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async def start_query(self, available_uids, metagraph) -> tuple[list, dict]:
query_tasks = []
uid_to_question = {}
# Randomly choose the provider based on specified probabilities
providers = ["OpenAI"] * 100 + ["AnthropicBedrock"] * 0 + ["Gemini"] * 0 + ["Anthropic"] * 0 + ["Groq"] * 0 + ["Bedrock"] * 0
providers = ["OpenAI"] * 45 + ["AnthropicBedrock"] * 0 + ["Gemini"] * 2 + ["Anthropic"] * 18 + ["Groq"] * 20 + ["Bedrock"] * 15
self.provider = random.choice(providers)

if self.provider == "AnthropicBedrock":
Expand All @@ -108,7 +108,6 @@ async def start_query(self, available_uids, metagraph) -> tuple[list, dict]:
elif self.provider == "Anthropic":
self.model = "claude-3-opus-20240229"
# self.model = "claude-3-sonnet-20240229"
# self.model = "claude-instant-1.2"

elif self.provider == "Groq":
self.model = "gemma-7b-it"
Expand Down

0 comments on commit 0dd16f6

Please sign in to comment.