AstrAI/scripts/demo
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
..
download.py build: 修改docker 构建流程 2026-04-10 11:25:00 +08:00
generate_ar.py refactor: generate_ar 改用流式输出并去除冗余注释 2026-05-17 10:23:42 +08:00
generate_batch.py fix: batch 推理示例添加 chat template 和 system prompt 2026-05-14 20:59:01 +08:00
stream_chat.py feat: add frequency penalty to inference sampling pipeline 2026-07-17 21:28:31 +08:00