[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-CSSLab--maia-chess":3,"tool-CSSLab--maia-chess":64},[4,17,27,35,43,56],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":16},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,3,"2026-04-05T11:01:52",[13,14,15],"开发框架","图像","Agent","ready",{"id":18,"name":19,"github_repo":20,"description_zh":21,"stars":22,"difficulty_score":23,"last_commit_at":24,"category_tags":25,"status":16},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",138956,2,"2026-04-05T11:33:21",[13,15,26],"语言模型",{"id":28,"name":29,"github_repo":30,"description_zh":31,"stars":32,"difficulty_score":23,"last_commit_at":33,"category_tags":34,"status":16},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",107662,"2026-04-03T11:11:01",[13,14,15],{"id":36,"name":37,"github_repo":38,"description_zh":39,"stars":40,"difficulty_score":23,"last_commit_at":41,"category_tags":42,"status":16},3704,"NextChat","ChatGPTNextWeb\u002FNextChat","NextChat 是一款轻量且极速的 AI 助手，旨在为用户提供流畅、跨平台的大模型交互体验。它完美解决了用户在多设备间切换时难以保持对话连续性，以及面对众多 AI 模型不知如何统一管理的痛点。无论是日常办公、学习辅助还是创意激发，NextChat 都能让用户随时随地通过网页、iOS、Android、Windows、MacOS 或 Linux 端无缝接入智能服务。\n\n这款工具非常适合普通用户、学生、职场人士以及需要私有化部署的企业团队使用。对于开发者而言，它也提供了便捷的自托管方案，支持一键部署到 Vercel 或 Zeabur 等平台。\n\nNextChat 的核心亮点在于其广泛的模型兼容性，原生支持 Claude、DeepSeek、GPT-4 及 Gemini Pro 等主流大模型，让用户在一个界面即可自由切换不同 AI 能力。此外，它还率先支持 MCP（Model Context Protocol）协议，增强了上下文处理能力。针对企业用户，NextChat 提供专业版解决方案，具备品牌定制、细粒度权限控制、内部知识库整合及安全审计等功能，满足公司对数据隐私和个性化管理的高标准要求。",87618,"2026-04-05T07:20:52",[13,26],{"id":44,"name":45,"github_repo":46,"description_zh":47,"stars":48,"difficulty_score":23,"last_commit_at":49,"category_tags":50,"status":16},2268,"ML-For-Beginners","microsoft\u002FML-For-Beginners","ML-For-Beginners 是由微软推出的一套系统化机器学习入门课程，旨在帮助零基础用户轻松掌握经典机器学习知识。这套课程将学习路径规划为 12 周，包含 26 节精炼课程和 52 道配套测验，内容涵盖从基础概念到实际应用的完整流程，有效解决了初学者面对庞大知识体系时无从下手、缺乏结构化指导的痛点。\n\n无论是希望转型的开发者、需要补充算法背景的研究人员，还是对人工智能充满好奇的普通爱好者，都能从中受益。课程不仅提供了清晰的理论讲解，还强调动手实践，让用户在循序渐进中建立扎实的技能基础。其独特的亮点在于强大的多语言支持，通过自动化机制提供了包括简体中文在内的 50 多种语言版本，极大地降低了全球不同背景用户的学习门槛。此外，项目采用开源协作模式，社区活跃且内容持续更新，确保学习者能获取前沿且准确的技术资讯。如果你正寻找一条清晰、友好且专业的机器学习入门之路，ML-For-Beginners 将是理想的起点。",84991,"2026-04-05T10:45:23",[14,51,52,53,15,54,26,13,55],"数据工具","视频","插件","其他","音频",{"id":57,"name":58,"github_repo":59,"description_zh":60,"stars":61,"difficulty_score":10,"last_commit_at":62,"category_tags":63,"status":16},3128,"ragflow","infiniflow\u002Fragflow","RAGFlow 是一款领先的开源检索增强生成（RAG）引擎，旨在为大语言模型构建更精准、可靠的上下文层。它巧妙地将前沿的 RAG 技术与智能体（Agent）能力相结合，不仅支持从各类文档中高效提取知识，还能让模型基于这些知识进行逻辑推理和任务执行。\n\n在大模型应用中，幻觉问题和知识滞后是常见痛点。RAGFlow 通过深度解析复杂文档结构（如表格、图表及混合排版），显著提升了信息检索的准确度，从而有效减少模型“胡编乱造”的现象，确保回答既有据可依又具备时效性。其内置的智能体机制更进一步，使系统不仅能回答问题，还能自主规划步骤解决复杂问题。\n\n这款工具特别适合开发者、企业技术团队以及 AI 研究人员使用。无论是希望快速搭建私有知识库问答系统，还是致力于探索大模型在垂直领域落地的创新者，都能从中受益。RAGFlow 提供了可视化的工作流编排界面和灵活的 API 接口，既降低了非算法背景用户的上手门槛，也满足了专业开发者对系统深度定制的需求。作为基于 Apache 2.0 协议开源的项目，它正成为连接通用大模型与行业专有知识之间的重要桥梁。",77062,"2026-04-04T04:44:48",[15,14,13,26,54],{"id":65,"github_repo":66,"name":67,"description_en":68,"description_zh":69,"ai_summary_zh":70,"readme_en":71,"readme_zh":72,"quickstart_zh":73,"use_case_zh":74,"hero_image_url":75,"owner_login":76,"owner_name":76,"owner_avatar_url":77,"owner_bio":78,"owner_company":79,"owner_location":79,"owner_email":79,"owner_twitter":79,"owner_website":80,"owner_url":81,"languages":82,"stars":91,"forks":92,"last_commit_at":93,"license":94,"difficulty_score":95,"env_os":96,"env_gpu":97,"env_ram":98,"env_deps":99,"category_tags":108,"github_topics":109,"view_count":23,"oss_zip_url":79,"oss_zip_packed_at":79,"status":16,"created_at":115,"updated_at":116,"faqs":117,"releases":147},3729,"CSSLab\u002Fmaia-chess","maia-chess","Maia is a human-like neural network chess engine trained on millions of human games.","maia-chess 是一款独特的国际象棋人工智能引擎，它不像传统 AI 那样追求绝对的最强棋力，而是致力于模仿人类的行棋风格。该项目基于数百万局真实人类对局数据训练而成，能够生成从初学者到进阶玩家（ELO 1100 至 1900）不同水平等级的棋风模型。\n\nmaia-chess 主要解决了传统超强 AI 与普通人类玩家之间“代沟”过大的问题。传统引擎往往走出人类难以理解的“神之一手”，而 maia-chess 则能复现特定等级玩家的习惯性走法甚至典型失误，使对弈过程更加自然、真实且具有教学意义。其核心技术亮点在于采用神经网络架构，并在推理时限制搜索节点数为 1，从而模拟人类直觉而非深度计算的平均表现。\n\n这款工具非常适合国际象棋爱好者用于日常陪练，帮助玩家在匹配的实力层级中提升棋艺；同时也为研究人员提供了研究人机行为对齐（Human-AI Alignment）的理想模型系统。开发者可以基于其开源代码和权重文件，进一步探索或定制具有特定风格的 AI 行为。目前，用户既可以在 Lichess 平台上直接与不同等级的 Maia 机器人对弈，也可以下载模型文件结合 LC0 引擎在本地运行体验","maia-chess 是一款独特的国际象棋人工智能引擎，它不像传统 AI 那样追求绝对的最强棋力，而是致力于模仿人类的行棋风格。该项目基于数百万局真实人类对局数据训练而成，能够生成从初学者到进阶玩家（ELO 1100 至 1900）不同水平等级的棋风模型。\n\nmaia-chess 主要解决了传统超强 AI 与普通人类玩家之间“代沟”过大的问题。传统引擎往往走出人类难以理解的“神之一手”，而 maia-chess 则能复现特定等级玩家的习惯性走法甚至典型失误，使对弈过程更加自然、真实且具有教学意义。其核心技术亮点在于采用神经网络架构，并在推理时限制搜索节点数为 1，从而模拟人类直觉而非深度计算的平均表现。\n\n这款工具非常适合国际象棋爱好者用于日常陪练，帮助玩家在匹配的实力层级中提升棋艺；同时也为研究人员提供了研究人机行为对齐（Human-AI Alignment）的理想模型系统。开发者可以基于其开源代码和权重文件，进一步探索或定制具有特定风格的 AI 行为。目前，用户既可以在 Lichess 平台上直接与不同等级的 Maia 机器人对弈，也可以下载模型文件结合 LC0 引擎在本地运行体验。","# Aligning Superhuman AI with Human Behavior: Chess as a Model System\n\n## [website](https:\u002F\u002Fmaiachess.com)\u002F[paper](https:\u002F\u002Farxiv.org\u002Fabs\u002F2006.01855)\u002F[code](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess)\u002F[lichess](https:\u002F\u002Flichess.org\u002Fteam\u002Fmaia-bots)\n\n🆕♟️🤖🚀✨ **Maia-2 is now available!** The next generation of human-like chess AI with a unified model that coherently captures human play across skill levels.\n\n- 📄 **Paper@NeurIPS '24**: [Maia-2: A Unified Model for Human-AI Alignment in Chess](https:\u002F\u002Farxiv.org\u002Fabs\u002F2409.20553)\n- 💻 **Code**: [Maia-2](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia2)\n\n---\n\nA collection of chess engines that play like humans, from ELO 1100 to 1900.\n\n![The accuracy of the different maias across ELO range](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FCSSLab_maia-chess_readme_2ff67e8b424a.png)\n\nIn this repo is our 9 final maia models saved as Leela Chess neural networks, and the code to create more and reproduce our results.\n\nOur [website](https:\u002F\u002Fmaiachess.com) has information about the project and team.\n\nYou can also play against three of of our models on Lichess:\n\n+ [`maia1`](https:\u002F\u002Flichess.org\u002F@\u002Fmaia1) is targeting ELO 1100\n+ [`maia5`](https:\u002F\u002Flichess.org\u002F@\u002Fmaia5) is targeting ELO 1500\n+ [`maia9`](https:\u002F\u002Flichess.org\u002F@\u002Fmaia9) is targeting ELO 1900\n+ [`MaiaMystery`](https:\u002F\u002Flichess.org\u002F@\u002FMaiaMystery) is for testing new versions of Maia\n\nWe also have a Lichess team, [_maia-bots_](https:\u002F\u002Flichess.org\u002Fteam\u002Fmaia-bots), that we will add more bots to.\n\n## How to Run Maia\n\nThe Maias are not a full chess framework chess engines, they are just brains (weights) and require a body to work. So you need to load them with [`lc0`](http:\u002F\u002Flczero.org) and follow the instructions [_here_](http:\u002F\u002Flczero.org\u002Fplay\u002Fquickstart). Then unlike most other engines you want to *disable* searching, a nodes limit of 1 is what we use. This looks like `go nodes 1` in UCI. Note also, the models are also stronger than the rating they are trained on since they make the _average_ move of a player at that rating.\n\nThe links to download the models directly are:\n\n### Models with Lichess Bots\n\n|Targeted Rating | lichess name | link|\n|-----|-----|-----|\n|1100|[_maia1_](https:\u002F\u002Flichess.org\u002F@\u002Fmaia1)|[`maia-1100.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1100.pb.gz)|\n|1500|[_maia5_](https:\u002F\u002Flichess.org\u002F@\u002Fmaia5)|[`maia-1500.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1500.pb.gz)|\n|1900|[_maia9_](https:\u002F\u002Flichess.org\u002F@\u002Fmaia9)|[`maia-1900.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1900.pb.gz)|\n\nThe bots on Lichess use opening books that are still in development, since the models play the same move every time.\n\n### Other Models\n\n|Targeted Rating | link|\n|-----|-----|\n|1200|[`maia-1200.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1200.pb.gz)|\n|1300|[`maia-1300.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1300.pb.gz)|\n|1400|[`maia-1400.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1400.pb.gz)|\n|1600|[`maia-1600.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1600.pb.gz)|\n|1700|[`maia-1700.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1700.pb.gz)|\n|1800|[`maia-1800.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1800.pb.gz)|\n\nWe also have all the models in the [`maia_weights`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Ftree\u002Fmaster\u002Fmaia_weights) folder of the repo.\n\n### Example\n\nWhen running the models on the command line it should look like this:\n\n```\n:~\u002Fmaia-chess$ lc0 --weights=model_files\u002Fmaia-1100.pb.gz\n       _\n|   _ | |\n|_ |_ |_| v0.26.3 built Dec 18 2020\ngo nodes 1\nLoading weights file from: model_files\u002Fmaia-1100.pb.gz\nCreating backend [cudnn-auto]...\nSwitching to [cudnn]...\n...\ninfo depth 1 seldepth 1 time 831 nodes 1 score cp 6 tbhits 0 pv e2e4\nbestmove e2e4\n```\n\n`move_prediction\u002Fmaia_chess_backend` also has the `LeelaEngine` class that uses the config files `move_prediction\u002Fmodel_files\u002F*\u002Fconfig.yaml` to wrap [`python-chess`](https:\u002F\u002Fpython-chess.readthedocs.io) and allow the models to be used in Python.\n\n## Datasets\n\nAs part of our analysis all the game on Lichess with stockfish analysis were processed into csv files. These can be found [here](http:\u002F\u002Fcsslab.cs.toronto.edu\u002Fdatasets\u002F#maia_kdd)\n\n## Code\n\n### Move Prediction\n\nTo create your own maia from a set of chess games in the PGN format:\n\n1. Setup your environment\n   1. (optional) Install the `conda` environment, [`maia_env.yml`](maia_env.yml)\n   2. Make sure all the required packages are installed from `requirements.txt`\n2. Convert the PGN into the training format\n   1. Add the [`pgn-extract`](https:\u002F\u002Fwww.cs.kent.ac.uk\u002Fpeople\u002Fstaff\u002Fdjb\u002Fpgn-extract\u002F) tool to your path\n   2. Add the [`trainingdata-tool`](https:\u002F\u002Fgithub.com\u002FDanielUranga\u002Ftrainingdata-tool) to your path\n   3. Run `move_prediction\u002Fpgn_to_trainingdata.sh PGN_FILE_PATH OUTPUT_PATH`\n   4. Wait a bit as the processing is both IO and CPU intense\n   5. The script will create a training and validation set, if you wish to train on the whole set copy the files from `OUTPUT_PATH\u002Fvalidation` to `OUTPUT_PATH\u002Ftraining`\n3. Edit `move_prediction\u002Fmaia_config.yml`\n   1. Add  `OUTPUT_PATH\u002Ftraining\u002F*\u002F*` to `input_train`\n   2. Add  `OUTPUT_PATH\u002Fvalidation\u002F*\u002F*` to `input_test`\n   3. (optional) If you have multiple GPUS change the `gpu` filed to the one you are using\n   4. (optional) You can also change all the other training parameters here, like the number of layers\n4. Run the training script `move_prediction\u002Ftrain_maia.py PATH_TO_CONFIG`\n5. (optional) You can use tensorboard to watch the training progress, the logs are in `runs\u002FCONFIG_BASENAME\u002F`\n6. Once complete the final model will be in `models\u002FCONFIG_BASENAME\u002F` directory. It will be the one with the largest number\n\n### Replication\n\nTo train the models we present in the paper you need to download the raw files from Lichess then cut them into the training sets and process them into the training data format. This is a similar format to the general training instructions just with our specified data, so you will need to have `trainingdata-tool` and `pgn-extract` on your PATH.\n\nAlso note that running the scripts manually line by line might be necessary as they do not have any flow control logic. And that `move_prediction\u002Freplication-move_training_set.py` is where the main shuffling and games selection logic is.\n\n1. Download the games from [Lichess](https:\u002F\u002Fdatabase.lichess.org\u002F) between January 2017 and November 2019 to `data\u002Flichess_raw`\n2. Run `move_prediction\u002Freplication-generate_pgns.sh`\n3. Run `move_prediction\u002Freplication-make_leela_files.sh`\n4. Edit `move_prediction\u002Fmaia_config.yml` and add the elo you want to train:\n   1. input_test : `..\u002Fdata\u002Felo_ranges\u002F${elo}\u002Ftest`\n   2. output_train : `..\u002Fdata\u002Felo_ranges\u002F${elo}\u002Ftrain`\n5. Run the training script `move_prediction\u002Ftrain_maia.py PATH_TO_CONFIG`\n\nWe also include some other (but not all) config files that we tested. Although, we still recommend using the final config `move_prediction\u002Fmaia_config.yml`.\n\nIf you wish to generate the testing set we used you can download the December 2019 data and run `move_prediction\u002Freplication-make_testing_pgns.sh`. The data is also avaible for download as a CSV [here](http:\u002F\u002Fcsslab.cs.toronto.edu\u002Fdata\u002Fchess\u002Fkdd\u002Fmaia-chess-testing-set.csv.bz2). The script for running models on the dataset is [`replication-run_model_on_csv.py`](move_prediction\u002Freplication-run_model_on_csv.py) and requires the `lc0` binary on the path.\n\n### Blunder Prediction\n\nTo train the blunder prediction models follow these instructions:\n\n1. Setup your environment\n   1. (optional) Install the `conda` environment, [`maia_env.yml`](maia_env.yml)\n2. Make sure all the required packages are installed from `requirements.txt`\n3. Run `blunder_prediction\u002Fmake_csvs.sh`\n   1. You will probably need to update the paths, and may want to change the targets or use a for loop\n4. Run `blunder_prediction\u002Fmmap_csv.py` on all the csv files\n5. Select a config from `blunder_prediction\u002Fconfigs` and update the paths\n6. Run `blunder_prediction\u002Ftrain_model.py CONFIG_PATH\n\n## Citation\n\nMaia (this repo):\n```\n@inproceedings{mcilroyyoung2020maia,\n  title={Aligning Superhuman AI with Human Behavior: Chess as a Model System},\n  author={McIlroy-Young, Reid and  Sen, Siddhartha and Kleinberg, Jon and Anderson, Ashton},\n  year={2020},\n  booktitle={Proceedings of the 25th ACM SIGKDD international conference on Knowledge discovery and data mining}\n}\n```\n[Maia-2](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia2):\n```\n@inproceedings{tang2024maia,\n       title={Maia-2: A Unified Model for Human-{AI} Alignment in Chess},\n       author={Zhenwei Tang and Difan Jiao and Reid McIlroy-Young and Jon Kleinberg and Siddhartha Sen and Ashton Anderson},\n       booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},\n       year={2024},\n       url={https:\u002F\u002Fopenreview.net\u002Fforum?id=XWlkhRn14K}\n}\n```\n\n## License\n\nThe software is available under the GPL License.\n\n## Contact\n\nPlease [open an issue](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Fissues\u002Fnew) or email [Reid McIlroy-Young](https:\u002F\u002Freidmcy.com\u002F) to get in touch\n","# 将超人类AI与人类行为对齐：以国际象棋为模型系统\n\n## [网站](https:\u002F\u002Fmaiachess.com)\u002F[论文](https:\u002F\u002Farxiv.org\u002Fabs\u002F2006.01855)\u002F[代码](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess)\u002F[Lichess](https:\u002F\u002Flichess.org\u002Fteam\u002Fmaia-bots)\n\n🆕♟️🤖🚀✨ **Maia-2现已发布！** 作为下一代类人国际象棋AI，它采用统一模型，能够连贯地捕捉各水平玩家的下法。\n\n- 📄 **NeurIPS 2024论文**: [Maia-2: 国际象棋中人机对齐的统一模型](https:\u002F\u002Farxiv.org\u002Fabs\u002F2409.20553)\n- 💻 **代码**: [Maia-2](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia2)\n\n---\n\n一组模仿人类下棋风格的国际象棋引擎，覆盖ELO等级从1100到1900。\n\n![不同Maia在各ELO区间的准确率](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FCSSLab_maia-chess_readme_2ff67e8b424a.png)\n\n本仓库包含我们最终的9个Maia模型，保存为Leela Chess神经网络格式，并提供了生成更多模型及复现实验结果的代码。\n\n我们的[网站](https:\u002F\u002Fmaiachess.com)介绍了项目详情和团队信息。\n\n你还可以在Lichess上与我们的三个模型对弈：\n\n+ [`maia1`](https:\u002F\u002Flichess.org\u002F@\u002Fmaia1) 针对ELO 1100\n+ [`maia5`](https:\u002F\u002Flichess.org\u002F@\u002Fmaia5) 针对ELO 1500\n+ [`maia9`](https:\u002F\u002Flichess.org\u002F@\u002Fmaia9) 针对ELO 1900\n+ [`MaiaMystery`](https:\u002F\u002Flichess.org\u002F@\u002FMaiaMystery) 用于测试Maia的新版本\n\n我们还有一个Lichess战队，[_maia-bots_](https:\u002F\u002Flichess.org\u002Fteam\u002Fmaia-bots)，未来会继续添加更多机器人。\n\n## 如何运行Maia\n\n这些Maia并非完整的国际象棋引擎框架，它们只是“大脑”（权重），需要搭配“躯体”才能工作。因此，你需要使用[`lc0`](http:\u002F\u002Flczero.org)加载它们，并按照[_这里_](http:\u002F\u002Flczero.org\u002Fplay\u002Fquickstart)的说明操作。与其他大多数引擎不同的是，你需要*禁用*搜索功能，我们将节点数限制设为1。在UCI协议中，这表示为`go nodes 1`。另外需要注意的是，这些模型的实际强度通常会超过其训练时的目标等级，因为它们会选择该等级玩家的“平均”走法。\n\n以下是直接下载模型的链接：\n\n### 带有Lichess机器人的模型\n\n|目标等级 | Lichess昵称 | 链接|\n|-----|-----|-----|\n|1100|[_maia1_](https:\u002F\u002Flichess.org\u002F@\u002Fmaia1)|[`maia-1100.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1100.pb.gz)|\n|1500|[_maia5_](https:\u002F\u002Flichess.org\u002F@\u002Fmaia5)|[`maia-1500.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1500.pb.gz)|\n|1900|[_maia9_](https:\u002F\u002Flichess.org\u002F@\u002Fmaia9)|[`maia-1900.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1900.pb.gz)|\n\nLichess上的机器人目前仍在开发中的开局库，因为这些模型每次都会选择相同的走法。\n\n### 其他模型\n\n|目标等级 | 链接|\n|-----|-----|\n|1200|[`maia-1200.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1200.pb.gz)|\n|1300|[`maia-1300.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1300.pb.gz)|\n|1400|[`maia-1400.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1400.pb.gz)|\n|1600|[`maia-1600.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1600.pb.gz)|\n|1700|[`maia-1700.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1700.pb.gz)|\n|1800|[`maia-1800.pb.gz`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1800.pb.gz)|\n\n所有模型也存放在仓库的[`maia_weights`](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Ftree\u002Fmaster\u002Fmaia_weights)文件夹中。\n\n### 示例\n\n在命令行中运行这些模型时，应如下所示：\n\n```\n:~\u002Fmaia-chess$ lc0 --weights=model_files\u002Fmaia-1100.pb.gz\n       _\n|   _ | |\n|_ |_ |_| v0.26.3 built Dec 18 2020\ngo nodes 1\nLoading weights file from: model_files\u002Fmaia-1100.pb.gz\nCreating backend [cudnn-auto]...\nSwitching to [cudnn]...\n...\ninfo depth 1 seldepth 1 time 831 nodes 1 score cp 6 tbhits 0 pv e2e4\nbestmove e2e4\n```\n\n`move_prediction\u002Fmaia_chess_backend`还包含`LeelaEngine`类，该类使用配置文件`move_prediction\u002Fmodel_files\u002F*\u002Fconfig.yaml`来封装[`python-chess`](https:\u002F\u002Fpython-chess.readthedocs.io)，从而允许在Python中使用这些模型。\n\n## 数据集\n\n作为分析的一部分，我们在Lichess上收集的所有带有Stockfish分析的棋局都被处理成了CSV文件。这些文件可以在这里找到[这里](http:\u002F\u002Fcsslab.cs.toronto.edu\u002Fdatasets\u002F#maia_kdd)。\n\n## 代码\n\n### 走法预测\n\n要根据PGN格式的国际象棋对局数据创建属于自己的Maia：\n\n1. 设置环境\n   1. （可选）安装`conda`环境，使用[`maia_env.yml`](maia_env.yml)\n   2. 确保已从`requirements.txt`中安装所有必需的软件包\n2. 将PGN转换为训练格式\n   1. 将[`pgn-extract`](https:\u002F\u002Fwww.cs.kent.ac.uk\u002Fpeople\u002Fstaff\u002Fdjb\u002Fpgn-extract\u002F)工具添加到你的路径中\n   2. 将[`trainingdata-tool`](https:\u002F\u002Fgithub.com\u002FDanielUranga\u002Ftrainingdata-tool)添加到你的路径中\n   3. 运行`move_prediction\u002Fpgn_to_trainingdata.sh PGN_FILE_PATH OUTPUT_PATH`\n   4. 稍等片刻，因为处理过程既涉及IO又消耗大量CPU资源\n   5. 脚本会生成训练集和验证集；若想用整个数据集训练，可将`OUTPUT_PATH\u002Fvalidation`中的文件复制到`OUTPUT_PATH\u002Ftraining`\n3. 编辑`move_prediction\u002Fmaia_config.yml`\n   1. 将`OUTPUT_PATH\u002Ftraining\u002F*\u002F*`添加到`input_train`\n   2. 将`OUTPUT_PATH\u002Fvalidation\u002F*\u002F*`添加到`input_test`\n   3. （可选）如果有多个GPU，将`gpu`字段改为你正在使用的那块\n   4. （可选）你也可以在此处调整其他训练参数，例如层数\n4. 运行训练脚本`move_prediction\u002Ftrain_maia.py PATH_TO_CONFIG`\n5. （可选）你可以使用TensorBoard观察训练进度，日志文件位于`runs\u002FCONFIG_BASENAME\u002F`目录下。\n6. 训练完成后，最终模型将保存在`models\u002FCONFIG_BASENAME\u002F`目录中，其中编号最大的即为最终模型。\n\n### 复现\n\n要训练我们在论文中提出的模型，你需要从 Lichess 下载原始文件，然后将其切割成训练集，并处理为训练数据格式。这种格式与通用的训练说明类似，只是使用了我们指定的数据，因此你需要确保 `trainingdata-tool` 和 `pgn-extract` 已经添加到你的 PATH 中。\n\n另外请注意，由于脚本中没有流程控制逻辑，可能需要手动逐行运行这些脚本。其中，`move_prediction\u002Freplication-move_training_set.py` 是主要的打乱和选择对局的逻辑所在。\n\n1. 从 [Lichess](https:\u002F\u002Fdatabase.lichess.org\u002F) 下载 2017 年 1 月至 2019 年 11 月之间的棋谱，保存到 `data\u002Flichess_raw` 目录。\n2. 运行 `move_prediction\u002Freplication-generate_pgns.sh`。\n3. 运行 `move_prediction\u002Freplication-make_leela_files.sh`。\n4. 编辑 `move_prediction\u002Fmaia_config.yml`，添加你想要训练的 Elo 等级：\n   1. input_test : `..\u002Fdata\u002Felo_ranges\u002F${elo}\u002Ftest`\n   2. output_train : `..\u002Fdata\u002Felo_ranges\u002F${elo}\u002Ftrain`\n5. 运行训练脚本 `move_prediction\u002Ftrain_maia.py PATH_TO_CONFIG`。\n\n我们还提供了一些（但并非全部）我们测试过的配置文件。不过，我们仍然建议使用最终的配置文件 `move_prediction\u002Fmaia_config.yml`。\n\n如果你希望生成我们使用的测试集，可以下载 2019 年 12 月的数据，并运行 `move_prediction\u002Freplication-make_testing_pgns.sh`。该数据也可以作为 CSV 文件下载 [这里](http:\u002F\u002Fcsslab.cs.toronto.edu\u002Fdata\u002Fchess\u002Fkdd\u002Fmaia-chess-testing-set.csv.bz2)。用于在该数据集上运行模型的脚本是 [`replication-run_model_on_csv.py`](move_prediction\u002Freplication-run_model_on_csv.py)，并且需要在 PATH 中包含 `lc0` 二进制文件。\n\n### 漏着预测\n\n要训练漏着预测模型，请按照以下步骤操作：\n\n1. 设置你的环境\n   1. (可选) 安装 `conda` 环境，使用 [`maia_env.yml`](maia_env.yml)。\n2. 确保已从 `requirements.txt` 安装所有必要的包。\n3. 运行 `blunder_prediction\u002Fmake_csvs.sh`。\n   1. 你可能需要更新路径，并且可以根据需求调整目标或使用循环。\n4. 对所有 CSV 文件运行 `blunder_prediction\u002Fmmap_csv.py`。\n5. 从 `blunder_prediction\u002Fconfigs` 中选择一个配置文件，并更新路径。\n6. 运行 `blunder_prediction\u002Ftrain_model.py CONFIG_PATH`。\n\n## 引用\n\nMaia（本仓库）：\n```\n@inproceedings{mcilroyyoung2020maia,\n  title={Aligning Superhuman AI with Human Behavior: Chess as a Model System},\n  author={McIlroy-Young, Reid and  Sen, Siddhartha and Kleinberg, Jon and Anderson, Ashton},\n  year={2020},\n  booktitle={Proceedings of the 25th ACM SIGKDD international conference on Knowledge discovery and data mining}\n}\n```\n[Maia-2](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia2)：\n```\n@inproceedings{tang2024maia,\n       title={Maia-2: A Unified Model for Human-{AI} Alignment in Chess},\n       author={Zhenwei Tang and Difan Jiao and Reid McIlroy-Young and Jon Kleinberg and Siddhartha Sen and Ashton Anderson},\n       booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},\n       year={2024},\n       url={https:\u002F\u002Fopenreview.net\u002Fforum?id=XWlkhRn14K}\n}\n```\n\n## 许可证\n\n本软件采用 GPL 许可证。\n\n## 联系方式\n\n请 [提交一个问题](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Fissues\u002Fnew) 或发送邮件至 [Reid McIlroy-Young](https:\u002F\u002Freidmcy.com\u002F) 以取得联系。","# Maia-Chess 快速上手指南\n\nMaia 是一系列模仿人类棋风的国际象棋引擎，覆盖 ELO 1100 至 1900 不同等级。与追求最强棋力的传统引擎不同，Maia 旨在复现特定水平人类玩家的平均走法，适合用于人机对齐研究或作为陪练对手。\n\n## 环境准备\n\n### 系统要求\n- **操作系统**: Linux, macOS, Windows (需支持 LC0)\n- **硬件**: 推荐配备 NVIDIA GPU 以加速推理（支持 CUDA），也可在 CPU 上运行但速度较慢。\n- **核心依赖**:\n  - [LC0 (Leela Chess Zero)](http:\u002F\u002Flczero.org): Maia 仅包含神经网络权重，必须通过 LC0 加载运行。\n  - Python 3.7+ (如需进行训练或数据处理)\n  - Git\n\n### 前置依赖安装\n1. **安装 LC0**:\n   - 访问 [LC0 官方发布页](https:\u002F\u002Fgithub.com\u002FLeelaChessZero\u002Flc0\u002Freleases) 下载对应系统的二进制文件。\n   - 将 `lc0` 可执行文件添加到系统环境变量 `PATH` 中。\n   - 验证安装：终端输入 `lc0 --version`。\n\n2. **安装 Python 环境 (可选，仅用于训练\u002F数据处理)**:\n   ```bash\n   # 克隆仓库\n   git clone https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess.git\n   cd maia-chess\n\n   # 创建并激活 Conda 环境 (推荐)\n   conda env create -f maia_env.yml\n   conda activate maia_env\n\n   # 或者手动安装依赖\n   pip install -r requirements.txt\n   ```\n\n3. **数据处理工具 (仅用于训练)**:\n   - 安装 [`pgn-extract`](https:\u002F\u002Fwww.cs.kent.ac.uk\u002Fpeople\u002Fstaff\u002Fdjb\u002Fpgn-extract\u002F) 并加入 PATH。\n   - 安装 [`trainingdata-tool`](https:\u002F\u002Fgithub.com\u002FDanielUranga\u002Ftrainingdata-tool) 并加入 PATH。\n\n## 安装步骤\n\nMaia 无需编译安装，只需下载预训练的权重文件即可使用。\n\n1. **下载模型权重**:\n   根据目标等级选择对应的 `.pb.gz` 文件下载。以下是常用模型的直接下载链接：\n\n   | 目标等级 (ELO) | 文件名 | 下载链接 |\n   | :--- | :--- | :--- |\n   | 1100 | `maia-1100.pb.gz` | [下载](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1100.pb.gz) |\n   | 1500 | `maia-1500.pb.gz` | [下载](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1500.pb.gz) |\n   | 1900 | `maia-1900.pb.gz` | [下载](https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Freleases\u002Fdownload\u002Fv1.0\u002Fmaia-1900.pb.gz) |\n\n   *注：完整模型列表可在仓库的 `maia_weights` 文件夹或 Release 页面找到。*\n\n2. **目录结构建议**:\n   建议将下载的权重文件放入统一目录，例如 `model_files\u002F`：\n   ```bash\n   mkdir model_files\n   mv ~\u002FDownloads\u002Fmaia-1100.pb.gz model_files\u002F\n   ```\n\n## 基本使用\n\nMaia 需要通过 LC0 启动，并**关键性地禁用搜索功能**（设置节点数为 1），以模拟人类直觉而非深度计算。\n\n### 命令行运行示例\n\n在终端中进入模型所在目录，运行以下命令（以 1100 等级为例）：\n\n```bash\nlc0 --weights=model_files\u002Fmaia-1100.pb.gz\n```\n\n启动后，LC0 会加载权重并进入 UCI 协议交互模式。输入以下命令让引擎走出一步棋：\n\n```text\ngo nodes 1\n```\n\n**输出示例**:\n```text\n       _\n|   _ | |\n|_ |_ |_| v0.26.3 built Dec 18 2020\ngo nodes 1\nLoading weights file from: model_files\u002Fmaia-1100.pb.gz\nCreating backend [cudnn-auto]...\nSwitching to [cudnn]...\n...\ninfo depth 1 seldepth 1 time 831 nodes 1 score cp 6 tbhits 0 pv e2e4\nbestmove e2e4\n```\n*注意：`go nodes 1` 是核心参数，切勿省略或更改，否则引擎将表现出超人类的计算能力。*\n\n### 在 Python 中使用\n\n项目提供了 `LeelaEngine` 类以便在 Python 中集成。确保已安装 `python-chess` 及相关依赖：\n\n```python\nfrom move_prediction.maia_chess_backend import LeelaEngine\n\n# 初始化引擎，指向配置文件和权重\n# 需确保 move_prediction\u002Fmodel_files\u002F*\u002Fconfig.yaml 存在且配置正确\nengine = LeelaEngine(weights_path=\"model_files\u002Fmaia-1100.pb.gz\")\n\n# 获取最佳走法 (内部自动处理 nodes=1 逻辑)\nbest_move = engine.get_best_move(fen_position=\"rnbqkbnr\u002Fpppppppp\u002F8\u002F8\u002F8\u002F8\u002FPPPPPPPP\u002FRNBQKBNR w KQkq - 0 1\")\nprint(best_move)\n```\n\n### 在线对弈\n如果不想本地部署，可直接在 [Lichess](https:\u002F\u002Flichess.org) 上与官方机器人对弈：\n- **1100 分**: [@maia1](https:\u002F\u002Flichess.org\u002F@\u002Fmaia1)\n- **1500 分**: [@maia5](https:\u002F\u002Flichess.org\u002F@\u002Fmaia5)\n- **1900 分**: [@maia9](https:\u002F\u002Flichess.org\u002F@\u002Fmaia9)","某在线国际象棋教育平台希望为不同水平的学员提供能够模拟真实人类棋风、而非完美机器招法的陪练对手，以提升实战训练效果。\n\n### 没有 maia-chess 时\n- 传统引擎（如 Stockfish）水平过高且招法过于精准，初学者面对“零失误”的 AI 容易产生挫败感，无法理解人类常见的战术失误。\n- 难以找到特定等级（如 ELO 1500）的稳定陪练，真人对手水平波动大，且匹配等待时间长，影响训练连续性。\n- 教练无法复现特定段位玩家的典型思维路径，因为传统引擎的计算逻辑基于最优解，完全偏离了人类在压力下的决策模式。\n- 缺乏可定制的“人性化”错误模型，导致学员在练习中无法针对人类常犯的低级错误进行专项防御训练。\n\n### 使用 maia-chess 后\n- 平台部署了针对不同段位的 maia-chess 模型（如 maia-1500），AI 能像同级别真人一样走出符合该水平特征的“非最优但合理”的招法，显著降低学员畏难情绪。\n- 通过加载不同权重的神经网络文件，系统可瞬间生成从 ELO 1100 到 1900 的多个稳定陪练机器人，实现了全天候、无等待的分层匹配。\n- 教练利用 maia-chess 复现特定等级的平均行棋逻辑，精准分析学员为何会落入某些典型陷阱，使复盘教学更具针对性。\n- 借助其“单节点搜索”（nodes 1）的独特运行机制，AI 不再依赖深度计算掩盖意图，而是真实模拟人类直觉判断过程，帮助学员理解对手心理。\n\nmaia-chess 通过将超级 AI 的能力与人类行为对齐，成功填补了高强度机器引擎与真实人类对弈之间的体验鸿沟。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FCSSLab_maia-chess_53671dcd.png","CSSLab","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002FCSSLab_a6e9b245.png","Computational Social Science Lab @ UofT",null,"http:\u002F\u002Fcsslab.cs.toronto.edu","https:\u002F\u002Fgithub.com\u002FCSSLab",[83,87],{"name":84,"color":85,"percentage":86},"Python","#3572A5",91.9,{"name":88,"color":89,"percentage":90},"Shell","#89e051",8.1,1153,139,"2026-04-04T13:47:33","GPL-3.0",4,"Linux, macOS, Windows","运行预训练模型需要支持 lc0 (Leela Chess Zero) 后端的 GPU。示例显示使用 'cudnn-auto' 和 'cudnn'，暗示需要 NVIDIA GPU 及对应的 CUDA 环境。具体显存大小未说明，但需足以加载神经网络权重。训练过程明确支持多 GPU。","未说明（但提到数据处理过程是 IO 和 CPU 密集的）",{"notes":100,"python":101,"dependencies":102},"Maia 模型仅为神经网络权重（'大脑'），必须配合 lc0 引擎（'身体'）运行。运行时需在 UCI 协议中设置搜索节点数为 1 ('go nodes 1') 以模拟人类棋手。训练自定义模型需要安装 pgn-extract 和 trainingdata-tool 工具，且数据预处理对 CPU 和 IO 要求较高。官方提供可选的 conda 环境配置文件 (maia_env.yml)。","未说明（建议通过 maia_env.yml 安装 conda 环境）",[103,104,105,106,107],"lc0 (Leela Chess Zero)","python-chess","pgn-extract","trainingdata-tool","tensorboard",[13,54],[110,111,112,113,114],"chess","chess-engine","deep-learning","machine-learning","computational-social-science","2026-03-27T02:49:30.150509","2026-04-06T05:15:42.679824",[118,123,128,133,138,143],{"id":119,"question_zh":120,"answer_zh":121,"source_url":122},17086,"运行 train_maia.py 时出现 'TypeError: expected str, bytes or os.PathLike object, not list' 错误怎么办？","这通常是因为配置文件中的路径格式不正确或未正确生成训练数据。请确保已完成官方文档中“移动预测（Move Prediction）”部分的第 1 步和第 2 步，以生成正确的训练\u002F验证数据文件。此外，如果您在 Windows 上运行，请检查配置文件中的路径格式是否有效（例如避免使用列表格式直接作为路径输入，或确保路径字符串符合 Windows 规范）。代码旨在供研究人员复现工作，并非开箱即用的脚本，需手动调整数据路径。","https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Fissues\u002F55",{"id":124,"question_zh":125,"answer_zh":126,"source_url":127},17087,"如何在 UCI 模式下使用 Maia 并禁用搜索以获得类似人类水平的棋力？","默认情况下模型会进行搜索树搜索，导致棋力过强。要在 UCI 模式下禁用搜索以复现人类水平，请在发送指令时使用 `go nodes 1` 或 `go depth 1` 命令。这将限制引擎只计算极少的节点。如果您使用的 GUI 不支持直接输入这些参数，可以尝试将每步思考时间设置为最低。注意：仓库中的配置文件是用于 Python 训练代码的，在 UCI 引擎模式下不需要使用它们。","https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Fissues\u002F11",{"id":129,"question_zh":130,"answer_zh":131,"source_url":132},17088,"加载模型时遇到缺少 'maia_chess_backend' 或 'haibrid_chess_utils' 依赖的错误如何解决？","这是由于 Python 的 pickle 模块在反序列化时尝试导入旧的模块名称。您可以通过重命名本地路径上的文件夹来解决：将 `maia_chess_backend` 重命名为 `haibrid_chess_utils`（或者根据您的报错信息反向操作），使其与 pickle 文件中记录的模块名匹配。也可以参考 pickle 文档，使用脚本批量修改 pickle 文件内部的引用名称。","https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Fissues\u002F10",{"id":134,"question_zh":135,"answer_zh":136,"source_url":137},17089,"运行训练时出现 'BrokenPipeError: [Errno 32] Broken pipe' 错误该如何排查？","该错误通常发生在多进程的工作子进程中，但根本原因往往隐藏在主进程的 stderr 输出中。仅查看子进程的报错是不够的。请提供完整的主进程标准错误输出（complete stderr output of the main process），特别是查找在此错误之前是否有关于 CUDA 目录缺失（如 \"Can't find libdevice directory\"）或其他初始化失败的日志，以便定位真正的问题源头。","https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Fissues\u002F58",{"id":139,"question_zh":140,"answer_zh":141,"source_url":142},17090,"为什么在相同棋盘位置下，Maia 的预测走法会有所不同（存在随机性）？","虽然提供的 Issue 标题提到了预测的可变性问题，但在当前的评论数据中维护者尚未给出具体解释。通常情况下，这种差异可能源于模型推理时的温度参数（Temperature）设置、Dropout 层在推理模式下的行为，或者是由于输入的历史走法上下文不同导致的。建议检查推理代码中是否启用了随机采样而非贪婪解码，并确认输入状态的一致性。（注：基于现有数据无法提供确切的官方修复方案，需进一步查阅文档或等待维护者回复）","https:\u002F\u002Fgithub.com\u002FCSSLab\u002Fmaia-chess\u002Fissues\u002F25",{"id":144,"question_zh":145,"answer_zh":146,"source_url":122},17091,"在 Windows 上配置训练数据路径时有什么注意事项？","Windows 用户常因路径格式问题导致训练失败。代码库主要针对 Linux 环境设计，用于研究复现而非直接运行。在 Windows 上，请确保配置文件中的路径字符串是有效的绝对路径或相对路径，并且不要直接将路径定义为 YAML 列表项传递给期望单个路径字符串的函数（除非代码明确支持列表解析）。如果不确定数据文件位置，请先执行数据生成步骤，确认生成的文件目录后再在配置文件中指向该目录。",[148],{"id":149,"version":150,"summary_zh":151,"released_at":152},99309,"v1.0","用于复现发表于[KDD 2020](https:\u002F\u002Farxiv.org\u002Fabs\u002F2006.01855)一文结果的文档。Maia 的首个公开版本。","2021-01-14T05:27:09"]