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
d5d9cec4
Commit
d5d9cec4
authored
1 month ago
by
Maxime Morge
Browse files
Options
Downloads
Patches
Plain Diff
PyGAAMAS: Add Qwen3 for strategic reasoning
parent
0f771e33
No related branches found
No related tags found
No related merge requests found
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/ring/ring_experiments.py
+2
-2
2 additions, 2 deletions
src/ring/ring_experiments.py
src/ring/ring_player2_draw.py
+2
-2
2 additions, 2 deletions
src/ring/ring_player2_draw.py
with
4 additions
and
4 deletions
src/ring/ring_experiments.py
+
2
−
2
View file @
d5d9cec4
...
...
@@ -81,9 +81,9 @@ class RingExperiment:
# Running the experiment
if
__name__
==
"
__main__
"
:
models
=
[
"
llama3.3:latest
"
,
"
deepseek-r1:7b
"
,
"
mixtral:8x7b
"
]
# "gpt-4.5-preview-2025-02-27", "llama3", "mistral-small", "deepseek-r1", "llama3.3:latest", "deepseek-r1:7b", "mixtral:8x7b"
models
=
[
"
qwen3
"
]
# "gpt-4.5-preview-2025-02-27", "llama3", "mistral-small", "deepseek-r1", "llama3.3:latest", "deepseek-r1:7b", "mixtral:8x7b"
temperature
=
0.7
iterations
=
1
0
iterations
=
3
0
player_id
=
1
version
=
"
d
"
use_conditional_reasoning
=
True
...
...
This diff is collapsed.
Click to expand it.
src/ring/ring_player2_draw.py
+
2
−
2
View file @
d5d9cec4
import
pandas
as
pd
# Load the experiment results
df
=
pd
.
read_csv
(
"
../../data/ring/ring.2.a.csv
"
)
df
=
pd
.
read_csv
(
"
../../data/ring/ring.2.a.
False.
csv
"
)
# Calculate the accuracy by model and belief
accuracy_table
=
df
.
groupby
([
"
Model
"
,
"
Belief
"
])[
"
rationality
"
].
mean
().
unstack
()
desired_order
=
[
"
Given
"
,
"
Explicit
"
,
"
Implicit
"
]
...
...
@@ -8,4 +8,4 @@ accuracy_table = accuracy_table.reindex(columns=desired_order)
# Display the table
print
(
accuracy_table
)
# Save the table as a CSV file for future use
accuracy_table
.
to_csv
(
"
../../figures/ring/ring_accuracy.2.a.csv
"
)
\ No newline at end of file
accuracy_table
.
to_csv
(
"
../../figures/ring/ring_accuracy.2.a.false.csv
"
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
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