From 96d9e6af5e1d2b6ebe7586f7552bc59125c89fbb Mon Sep 17 00:00:00 2001 From: huangzhuang_3rd Date: Mon, 1 Jun 2026 18:30:47 +0800 Subject: [PATCH] =?UTF-8?q?v1.8.0:=20=E6=A8=A1=E5=9D=97=E5=8C=96=E9=87=8D?= =?UTF-8?q?=E6=9E=84=20+=20=E5=90=8E=E5=8F=B0=E7=99=BB=E5=BD=95=E8=AE=A4?= =?UTF-8?q?=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..63b2478 --- /dev/null +++ b/README.md @@ -0,0 +1,71 @@ +# ParamHub - 参数百科 (Python版) + +> AI大模型与硬件参数速查平台 + +## 功能特点 + +- **模型数据库**: GPT-4、Llama、Claude等大模型参数规格 +- **GPU数据库**: H100、A100、RTX 4090等GPU详细规格 +- **CPU数据库**: AMD EPYC、Intel Xeon等服务器CPU参数 +- **实用工具**: 显存计算器、GPU推荐 +- **对比工具**: 多维度对比模型/GPU/CPU +- **知识库**: 参数解释、选型指南 + +## 技术栈 + +- Python 3 + Flask +- Tailwind CSS (CDN) +- RemixIcon + +## 快速开始 + +```bash +# 安装依赖 +pip install -r requirements.txt + +# 运行服务 +python app.py + +# 访问地址 +http://localhost:19010 +``` + +## 目录结构 + +``` +param-hub-python/ +├── app.py # Flask主程序 +├── templates/ # HTML页面 +│ ├── index.html # 首页 +│ ├── models.html # 模型数据库 +│ ├── gpus.html # GPU数据库 +│ ├── cpus.html # CPU数据库 +│ ├── tools.html # 实用工具 +│ ├── compare.html # 对比工具 +│ └── knowledge.html # 知识库 +├── data/ # 数据文件 +│ ├── models.json # 模型数据 +│ ├── gpus.json # GPU数据 +│ └── cpus.json # CPU数据 +├── requirements.txt # Python依赖 +├── run.sh # 启动脚本 +└── README.md # 说明文档 +``` + +## API接口 + +| 接口 | 方法 | 说明 | +|------|------|------| +| `/api/models` | GET | 获取模型列表 | +| `/api/models/` | GET | 获取模型详情 | +| `/api/gpus` | GET | 获取GPU列表 | +| `/api/gpus/` | GET | 获取GPU详情 | +| `/api/cpus` | GET | 获取CPU列表 | +| `/api/cpus/` | GET | 获取CPU详情 | +| `/api/search` | GET | 全局搜索 | +| `/api/calculate/vram` | GET | 显存计算 | +| `/api/stats` | GET | 统计数据 | + +## 版本 + +- v0.1.0 - 初始版本 \ No newline at end of file