SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.09200 · NeurIPS · 2023

ChessGPT: Bridging Policy Learning and Language Modeling

Jun Wang, Kun Shao, David Mguni, Xidong Feng, Mengyue Yang

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 20 functions out of this paper's own repositories and ran 14 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
waterhorse1/chessgpt canonical 11 of 17
waterhorse1/ChessGPT canonical 3 of 3
FunctionStatusWhere it lives
mean Ran waterhorse1/ChessGPT/eval/eval_clip/eval_clip_checkmate_in_one.py
code served (permissive licence) · get_code("0928f497e20fb443")
natural_key Ran waterhorse1/chessgpt/chessclip/src/training/main_chess.py
code served (permissive licence) · get_code("a677092c48744688")
AttentionPool2d Ran waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("6fdc88f3b630d199")
Bottleneck Ran waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("9cacb80c889cd2a4")
CLIPTextCfg Ran waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("5bd7cd28d8cc3983")
CLIPVisionCfg Ran waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("cbd8e0434d6addde")
LayerNorm Ran waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("2ce325eef914eb38")
LayerNormFp32 Ran waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("f5a2164abfcb21f3")
ResidualAttentionBlock Ran waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("ace306ca4e4fe383")
Transformer Ran waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("4174c2dd4f6fcc5c")
VisionTransformer Ran waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("13b07e13a2877644")
get_latest_checkpoint Ran waterhorse1/chessgpt/chessclip/src/training/main_chess.py
code served (permissive licence) · get_code("93448c613c050973")
read_json Ran waterhorse1/ChessGPT/chessgpt/train/clm_training/finetune_pp_peft_trainer.py
code served (permissive licence) · get_code("c5bcf01d18bba63d")
sample_stddev Ran waterhorse1/ChessGPT/eval/eval_clip/eval_clip_checkmate_in_one.py
code served (permissive licence) · get_code("d40f0123e8a8f5c0")
ChessCLIP Not yet run waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("66be7371bc7a1e75")
FiLMBasicBlock Not yet run waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("a33d5a54b85820bd")
FiLMModifiedResNet Not yet run waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("27d33e151720c199")
ModifiedResNet Not yet run waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("bd639b02dd5683ff")
TimmModel Not yet run waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("944a99db21069fc3")
_build_vision_tower Not yet run waterhorse1/chessgpt/chessclip/src/open_clip/model.py
code served (permissive licence) · get_code("4139bce30d88596b")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

When solving decision-making tasks, humans typically depend on information from two key sources: (1) Historical policy data, which provides interaction replay from the environment, and (2) Analytical insights in natural language form, exposing the invaluable thought process or strategic considerations. Despite this, the majority of preceding research focuses on only one source: they either use historical replay exclusively to directly learn policy or value functions, or engaged in language model training utilizing mere language corpus. In this paper, we argue that a powerful autonomous agent should cover both sources. Thus, we propose ChessGPT, a GPT model bridging policy learning and language modeling by integrating data from these two sources in Chess games. Specifically, we build a large-scale game and language dataset related to chess. Leveraging the dataset, we showcase two model examples ChessCLIP and ChessGPT, integrating policy learning and language modeling. Finally, we propose a full evaluation framework for evaluating language model's chess ability. Experimental results validate our model and dataset's effectiveness. We open source our code, model, and dataset at https://github.com/waterhorse1/ChessGPT.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2306.09200")
get_code_for_paper("2306.09200")
have("2306.09200")

Connect an agent — have() is free.