From c743298f0589e5859adb819f77fe5732f862d1ca Mon Sep 17 00:00:00 2001 From: cplockport Date: Sun, 1 Mar 2026 15:14:18 -0500 Subject: [PATCH] Applying patch --- tlm/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tlm/cli.py b/tlm/cli.py index 3733b4e..a6006c0 100644 --- a/tlm/cli.py +++ b/tlm/cli.py @@ -51,7 +51,7 @@ def generate(length, context_window_words, filepath, gutenberg, list_gutenberg, corpus.extend(tokenize_text(mail_text, tokenize_opts)) if not corpus: - raise click.UsageError("Must specify at least one of --text, --gutenberg, or --mbox for training data.") + raise click.UsageError("No training data provided. Must specify at least one of --filepath, --gutenberg, or --mbox.") # Train and generate model = TinyLanguageModel(n=context_window_words)