Files
xming521 7daa270736 Add encrypted chat storage and shared-password workflows
Integrate suffixed encrypted storage across extraction, review, training, and inference. Add shared-password web authentication with two-hour sessions, private request logging, and an isolated profile-building pipeline.

Fix encrypted dataset discovery at training entrypoints and duplicate CSV imports. Add synthetic storage, authentication, and log checks; update documentation and frontend assets.
2026-10-02 23:18:07 +08:00

18 lines
479 B
Python

from llamafactory.eval.evaluator import Evaluator
from llamafactory.hparams import get_eval_args
from weclone.train.security import model_runtime, parsed_cli_arguments
from weclone.utils.secure_storage import is_encrypted_mode
def main():
if not is_encrypted_mode():
Evaluator().eval()
return
with model_runtime(parsed_cli_arguments(get_eval_args), evaluation=True) as runtime:
Evaluator(runtime).eval()
if __name__ == "__main__":
main()