Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
PyGAAMAS
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maxime Morge
PyGAAMAS
Commits
6358a855
Commit
6358a855
authored
2 weeks ago
by
Maxime Morge
Browse files
Options
Downloads
Patches
Plain Diff
PyGAAMAS: Add Qwen3 strategy in the dictator game
parent
5a4748ce
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
figures/dictator/dictator_violin.svg
+117
-87
117 additions, 87 deletions
figures/dictator/dictator_violin.svg
src/dictator/dictator.py
+1
-1
1 addition, 1 deletion
src/dictator/dictator.py
src/dictator/dictator_draw_violin.py
+2
-1
2 additions, 1 deletion
src/dictator/dictator_draw_violin.py
with
120 additions
and
89 deletions
figures/dictator/dictator_violin.svg
+
117
−
87
View file @
6358a855
This diff is collapsed.
Click to expand it.
src/dictator/dictator.py
+
1
−
1
View file @
6358a855
...
...
@@ -249,7 +249,7 @@ class Dictator:
motivation
=
"
The decision is to divide the money equally.
"
agent_response
=
AgentResponse
(
my_share
=
my_share
,
other_share
=
other_share
,
motivation
=
motivation
)
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
return
{
"
my_share
"
:
half_amount
,
...
...
This diff is collapsed.
Click to expand it.
src/dictator/dictator_draw_violin.py
+
2
−
1
View file @
6358a855
...
...
@@ -45,7 +45,8 @@ strategy_values = {
'
gpt-4.5-preview-2025-02-27
'
:
70
,
'
llama3
'
:
50
,
'
mistral-small
'
:
50
,
'
deepseek-r1
'
:
50
'
deepseek-r1
'
:
50
,
'
qwen3
'
:
50
}
for
model
,
value
in
strategy_values
.
items
():
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment