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:
@@ -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."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user