@@ -8,16 +8,36 @@ def execute(self) -> None:
88 cli .create_group (click .Group (), self )()
99
1010 @cli .command ()
11- def prepare (self ) -> None :
12- print ("preparing data" )
11+ @click .option ("--output-path" , help = "path to store generated training data" )
12+ def _generate (self , output_path : str ) -> None :
13+ """Create a directory of generated synthetic data."""
14+ print (f"generating synthetic data into: { output_path } " )
1315
1416 @cli .command ()
15- def train (self ) -> None :
16- print ("training model" )
17+ @click .option ("--input-path" , help = "path to raw tcr data" )
18+ @click .option ("--output-path" , help = "path to store generated training data" )
19+ def _prepare (self , input_path : str , output_path : str ) -> None :
20+ """Prepare train/test data from a directory of input tcr data."""
21+ print (f"processing data from: { input_path } " )
22+ print (f"storing prepared data into: { output_path } " )
1723
1824 @cli .command ()
19- def infer (self ) -> None :
20- print ("infer labels" )
25+ @click .option ("--input-path" , help = "path to training data directory" )
26+ @click .option ("--output-path" , help = "path to store generated training data" )
27+ def _train (self , input_path : str , output_path : str ) -> None :
28+ """Train model embeddings from a prepared directory of tcr data."""
29+ print (f"training model from: { input_path } " )
30+ print (f"storing embeddings into: { output_path } " )
31+
32+ @cli .command ()
33+ @click .option ("--model-path" , help = "path to trained model embeddings" )
34+ @click .option ("--input-path" , help = "path to unlabeled data" )
35+ @click .option ("--output-path" , help = "path to store predicted labels" )
36+ def _infer (self , model_path : str , input_path : str , output_path : str ) -> None :
37+ """Load trained model embeddings and run inference on a directory of unlabeled data."""
38+ print (f"loading model embeddings from: { model_path } " )
39+ print (f"running inference on input data: { model_path } " )
40+ print (f"storing predicted labels into: { output_path } " )
2141
2242
2343def main () -> None :
0 commit comments