finetuner.console module#
- finetuner.console.print_model_table(model, task=None)[source]#
Prints a table of model descriptions.
- Parameters:
model – Module with model definitions
task (
Optional
[str
]) – The fine-tuning task, should be one of text-to-text,
- finetuner.console.print_examples(stage, results, k=5)[source]#
Prints a table of results of example queries from the evaluation data.
- Parameters:
stage (
str
) – either ‘before’ or ‘after’results (
Dict
[str
,List
[Any
]]) – The example results to displayk (
int
) – maximal number of results per query to display