[v1] add v1 folders (#9225)

This commit is contained in:
Yaowei Zheng
2025-10-02 15:25:57 +08:00
committed by GitHub
parent a0d44c650a
commit 1d96c62df2
23 changed files with 16 additions and 17 deletions

View File

@@ -25,12 +25,13 @@ USAGE = (
+ "| Usage: |\n"
+ "| llamafactory-cli api -h: launch an OpenAI-style API server |\n"
+ "| llamafactory-cli chat -h: launch a chat interface in CLI |\n"
+ "| llamafactory-cli eval -h: evaluate models |\n"
+ "| llamafactory-cli export -h: merge LoRA adapters and export model |\n"
+ "| llamafactory-cli train -h: train models |\n"
+ "| llamafactory-cli webchat -h: launch a chat interface in Web UI |\n"
+ "| llamafactory-cli webui: launch LlamaBoard |\n"
+ "| llamafactory-cli env: show environment info |\n"
+ "| llamafactory-cli version: show version info |\n"
+ "| Hint: You can use `lmf` as a shortcut for `llamafactory-cli`. |\n"
+ "-" * 70
)
@@ -48,9 +49,7 @@ def _run_chat():
def _run_eval():
from .eval.evaluator import run_eval
return run_eval()
raise NotImplementedError("Evaluation will be deprecated in the future.")
def _export_model():