models: 完整权重按新目录名入库(LFS),清理 qwen3 命名与旧路径

- models/{small_model,large_model,large_model_lora} 整树入库,权重/分词器走 Git LFS(约 17 GB)
- .gitattributes 改用 models/** 通配;.gitignore 放行 models 下的 tokenizer_config.json
- config: llm[].file 指向 models/small_model,删除含 qwen3 的注释
- docs/plugins.md、tests/test_config.py 同步新路径;LoRA 卡去掉 base_model 私有路径字段
- 补入 intent_bench / shieldagent_review / result.json 等实验脚本与结果
This commit is contained in:
agcl committed 2026-11-27 13:41:00 +00:00
1 parent 594dc0f6b2
commit a372a7b285
55 files changed
+164063 -93

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ limits:
attachment_timeout_seconds: 30
max_attachment_reads: 64
# 本地守卫模型。必须是 Qwen3Guard-Gen(0.6B/4B/8B):宿主的 parse_guard_output 按它的
# 本地守卫模型。宿主的 parse_guard_output 按固定的
# "Safety: / Categories: / Refusal:" 格式与十个固定类别名解析,换别的模型会全部 503。
# file 指向 HuggingFace 目录(config.json + 权重 + tokenizer),缺失时宿主启动即失败。
# 注意:该相对路径按进程工作目录解析,不按本文件所在目录解析。
@@ -23,7 +23,7 @@ limits:
llm:
- id: guard_model
type: guard
file: models/guard_model
file: models/small_model
load:
device: cpu
dtype: auto