AstrAI/astrai/inference/api
ViperEkura d08a92c7bd feat: add frequency penalty to inference sampling pipeline
- Add FrequencyPenaltyStrategy (logit -= penalty * count)
- Per-task rep_window for penalty history lookup
- Wire through engine, task, executor, API layer
- Add --frequency_penalty and --rep_window to stream_chat.py
- 9 unit tests for frequency penalty strategy
2026-07-17 21:28:31 +08:00
..
__init__.py feat : 推理层增加 vLLM 风格工具调用解析 2026-06-06 08:54:10 +08:00
anthropic.py refactor : 清理工厂和配置系统中的死代码与冗余抽象 2026-06-07 11:39:50 +08:00
openai.py feat: add frequency penalty to inference sampling pipeline 2026-07-17 21:28:31 +08:00
protocol.py feat: add frequency penalty to inference sampling pipeline 2026-07-17 21:28:31 +08:00
server.py feat : 推理层增加 vLLM 风格工具调用解析 2026-06-06 08:54:10 +08:00
tool_parser.py refactor : BaseFactory 基类类型自动推导 + 移除冗余代码 2026-06-06 21:23:41 +08:00