-
Notifications
You must be signed in to change notification settings - Fork 946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example of applying CFR to chat_game #1299
Comments
YanSong97
changed the title
CFR example of chat_game
example of applying CFR to chat_game
Dec 13, 2024
Hi @YanSong97, Good question! I will reach out to the original author and see if we can explain this and maybe provide one. |
Just an update: @imgemp and I are looking into it. |
I will put together an example, but two things I would think to check are:
|
Ok, @imgemp made some changes and added a CFR example in bd204e5 @YanSong97: can you pull changes, and try this new example? |
Yes, it works. Great thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am trying to replicate the results presented in the paper States as Strings as Strategies: Steering Language Models with Game-Theoretic Solvers. I have read chat_game_psro_example.py which is a great demo. I was wondering if there is a similar example or demo applying
CFR
to thechat_game
environment?I have tried directly switching the environment in
open_spiel/python/examples/cfr_example.py
tochat_game
but got the following error:It seems to be caused by a mismatch between
TabularPolicy.state_lookup
andinfo_state
of the root node.The text was updated successfully, but these errors were encountered: