File tree Expand file tree Collapse file tree 1 file changed +6
-24
lines changed
Expand file tree Collapse file tree 1 file changed +6
-24
lines changed Original file line number Diff line number Diff line change 99
1010load_dotenv ()
1111
12- li_models = [
13- "mistral:pixtral-large-latest" ,
14- "mistral:pixtral-12b-2409" ,
15- "anthropic:claude-3-haiku-20240307" ,
16- "openai:gpt-4o" ,
17- "openai:gpt-4o-mini" ,
18- ]
19-
2012
2113# Starting with vision tournamennt
22- def main (model_1 : str , model_2 : str , type_1 : str = "vision" , type_2 : str = "vision" ):
14+ def main ():
2315 # Environment Settings
2416 game = Game (
2517 render = True ,
2618 player_1 = Player1 (
2719 nickname = "Daddy" ,
28- model = model_1 ,
29- robot_type = type_1 , # vision or text
20+ model = "openai:gpt-4o-mini" ,
21+ robot_type = "text" , # vision or text
3022 temperature = 0.7 ,
3123 ),
3224 player_2 = Player2 (
3325 nickname = "Baby" ,
34- model = model_2 ,
35- robot_type = type_2 ,
26+ model = "openai:gpt-4o-mini" ,
27+ robot_type = "text" ,
3628 temperature = 0.7 ,
3729 ),
3830 )
3931 return game .run ()
4032
4133
4234if __name__ == "__main__" :
43- for i in range (0 , 20 ):
44- for j in range (0 , 30 ):
45- model_1 = li_models [i % len (li_models )]
46- model_2 = li_models [j % len (li_models )]
47- if model_1 != model_2 :
48- main (
49- model_1 = model_1 ,
50- model_2 = model_2 ,
51- type_1 = "vision" if i % 2 == 1 else "text" ,
52- type_2 = "vision" if j % 2 == 0 else "text" ,
53- )
35+ main ()
You can’t perform that action at this time.
0 commit comments