diff --git a/.nojekyll b/.nojekyll index 4e71ad097..15e086698 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -6cc2e6fd \ No newline at end of file +e9cb8fef \ No newline at end of file diff --git a/docs/api/cli.inference.html b/docs/api/cli.inference.html index 482b0a65f..a8ca921a8 100644 --- a/docs/api/cli.inference.html +++ b/docs/api/cli.inference.html @@ -536,7 +536,7 @@ gtag('config', 'G-9KYCVJBNMQ', { 'anonymize_ip': true});
cli.inference.do_inference(cfg, cli_args)Runs inference on the command line in a loop. User input is accepted, a chat template
-is (optionally) applied, and the model specified in the axolotl config is used to
-generate completions according to a default generation config.
Runs inference on the command line in a loop. User input is accepted, a chat
+template is (optionally) applied, and the model specified in the axolotl config is
+used to generate completions according to a default generation config.
| push_to_hub | Overwrite the push_to_hub method in order to force-add the tags when pushing the |
+
| store_metrics | +Store metrics with specified reduction type. | +
core.trainers.base.AxolotlTrainer.push_to_hub(*args, **kwargs)Overwrite the push_to_hub method in order to force-add the tags when pushing the
model on the Hub. Please refer to ~transformers.Trainer.push_to_hub for more details.
core.trainers.base.AxolotlTrainer.store_metrics(
+ metrics,
+ train_eval='train',
+ reduction='mean',
+)Store metrics with specified reduction type.
+| Name | +Type | +Description | +Default | +
|---|---|---|---|
| metrics | +dict[str, float] | dict[str, tuple[int | float, str]] | +Dictionary of metric names to values, or metric names to (value, reduction_type) tuples. | +required | +
| train_eval | +Literal['train', 'eval'] | +Whether this is for training or evaluation. | +'train' |
+
~transformers.Trainer.push_to_hub