Skip to content
Snippets Groups Projects
Commit 6358a855 authored by Maxime Morge's avatar Maxime Morge :construction_worker:
Browse files

PyGAAMAS: Add Qwen3 strategy in the dictator game

parent 5a4748ce
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
...@@ -249,7 +249,7 @@ class Dictator: ...@@ -249,7 +249,7 @@ class Dictator:
motivation = "The decision is to divide the money equally." motivation = "The decision is to divide the money equally."
agent_response = AgentResponse(my_share=my_share, other_share=other_share, motivation=motivation) agent_response = AgentResponse(my_share=my_share, other_share=other_share, motivation=motivation)
return agent_response.dict() return agent_response.dict()
if self.model in ["deepseek-r1", "deepseek-r1:7b"]: if self.model in ["deepseek-r1", "deepseek-r1:7b","qwen3"]:
half_amount = self.amount // 2 half_amount = self.amount // 2
return { return {
"my_share": half_amount, "my_share": half_amount,
......
...@@ -45,7 +45,8 @@ strategy_values = { ...@@ -45,7 +45,8 @@ strategy_values = {
'gpt-4.5-preview-2025-02-27': 70, 'gpt-4.5-preview-2025-02-27': 70,
'llama3': 50, 'llama3': 50,
'mistral-small': 50, 'mistral-small': 50,
'deepseek-r1': 50 'deepseek-r1': 50,
'qwen3': 50
} }
for model, value in strategy_values.items(): for model, value in strategy_values.items():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment