This repository contains Python games that I've worked on. You'll learn how to create python games with AI. I try to focus on creating board games without GUI in Jupyter-notebook.
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
2.2 从你正在用的库开始找,而不是盯着热门榜 选项目的第一个准则:从你自己日常在用的Python库开始。 写爬虫写得多的,去看 requests 、 scrapy 周边;做数据分析的,去看 pandas 、 numpy 、 matplotlib ;写Web的,去看 Flask 、 FastAPI 。
库的颗粒度刚刚好 :发送请求有 requests ,解析HTML有 BeautifulSoup 和 lxml ,完整框架有 Scrapy ,如果只是抓个JSON接口甚至直接用 json 模块就够了。几乎每种场景都有已经被踩平坑的轮子。 代码量少、可读性强 :同样实现一个列表页抓取,Java可能得写几十行,Python十几行就能跑通,这对快速验证想法 ...