fix: 规范 generate.py 命令行接口

- generate.py 清理描述文字,help 统一标注默认值
- max_tokens 默认改为 None,回退 model config max_len
- evaluate_ppl.py 同步清理描述文字
- params.md 同步 max_tokens 默认值
This commit is contained in:
2026-06-19 14:03:02 +08:00
parent 8ab7564d02
commit 7348bac6ab
3 changed files with 18 additions and 11 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ def process_file(
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Run perplexity with a Khaosz model.")
parser = argparse.ArgumentParser(description="Perplexity evaluation on JSONL text.")
parser.add_argument(
"--param_path", type=str, required=True, help="Path to the model directory."
)