mondk/my-chess-engine-test

🤗 Hugging Face 来源mit35 MBother✓ 1 个校验和今天更新
已有模型文件?提交模型种子

如果你有完整的模型文件并有权分享,请把示例文件夹路径替换为你的文件路径,再运行这条命令。它会校验文件、制作种子,并将磁力链接和校验和提交给 Pirate Face。请让种子客户端持续做种,方便其他人从节点下载。Pirate Face 不接收模型文件。你可以从账户页面获取社区密钥。也可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo mondk/my-chess-engine-test ./model-folder
需要做种者 →

GUIDE FOR USING CUSTOM-TRAINED UCI ENGINE

  1. Install dependencies on the machine running the engine: pip install torch python-chess

  2. Extract this zip file, ensuring the following 2 files are in the SAME directory:

    • chess_model.pt
    • uci_engine.py
  3. Add the engine to any GUI software supporting external UCI engines, such as:

    • Arena Chess GUI
    • BanksiaGUI
    • CuteChess
    • Lucas Chess
    • En Croissant

    In the "Add Engine" / "Install Engine" section, point to the execution command:

python /path/to/uci_engine.py

(or python3, depending on your operating system)

  1. Playing as a Lichess Bot (official method, allows custom engines):
    • Register a dedicated Lichess account and upgrade it to a BOT account (see guide at: https://lichess.org/api#tag/Bot)
    • Use the "lichess-bot" repo (by lichess), pointing the engine path to uci_engine.py
    • The engine will automatically play against other bots on Lichess—matching the goal of "having it play against other bots like Stockfish does".

IMPORTANT FAIR PLAY NOTE:

  • Chess.com and Lichess DO NOT allow external engine usage in RATED GAMES against HUMAN PLAYERS. Violations will result in account bans.
  • Allowed use cases: offline practice/analysis (Play vs Computer / local GUI), or using an official BOT account to play against other bots.

ENGINE PERFORMANCE:

  • This is a small CNN model trained on a small dataset (random vs Stockfish
  • evaluated at 0.1s/move). Its playing strength is roughly equivalent to ~1000-1200 ELO,
  • and it is not as strong as full Stockfish. To make it stronger: generate more data,
  • increase Stockfish think time during data generation, increase epoch counts/network channels,
  • or integrate deeper search algorithms.