GitHub · 灵魂体仓库·· 19 天前AI 评分12
LLM-Guru-real 的 my-writings:将“1911 物理学”认知原则映射为 LLM API 超参数的 Python 引擎
LLM-Guru-real/my-writings
来源与原文
GitHub · 灵魂体仓库
发布时间:(北京时间)
阅读原始来源 · github.com ↗完整链接与内容说明
https://github.com/LLM-Guru-real/my-writings
本站目前仅有 AI 导读与摘要,未展示原文正文;技术细节、代码和完整结论请查看原始来源。
AI 导读
GitHub 仓库 LLM-Guru-real/my-writings 中发布了一套 Python 代码,包含 CognitiveContext 和 CognitiveDynamicsEngine 两个类,通过 9 个"原则"函数调节 LLM API 的 temperature、frequency_penalty、presence_penalty 和 system_instruction 等参数。其中原则 4 在强度超过 0.5 时关闭 sycophancy 并将 temperature 从 0.2 提升至 0.2 + 强度 × 0.8,原则 7 会整体改写系统提示词为元认知模式。用户可通过 register_profile 注册自定义领域的执行序列与参数权重。
来源:GitHub · 灵魂体仓库 · github.com