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}); do_inference -Runs inference on the command line in a loop. User input is accepted, a chat template +Runs inference on the command line in a loop. User input is accepted, a chat do_inference_gradio @@ -589,9 +589,9 @@ gtag('config', 'G-9KYCVJBNMQ', { 'anonymize_ip': true});

do_inference

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.

Parameters

diff --git a/docs/api/core.trainers.base.html b/docs/api/core.trainers.base.html index 2c75fb0e2..1c6ad1a9f 100644 --- a/docs/api/core.trainers.base.html +++ b/docs/api/core.trainers.base.html @@ -561,6 +561,10 @@ gtag('config', 'G-9KYCVJBNMQ', { 'anonymize_ip': true}); + + + +
push_to_hub Overwrite the push_to_hub method in order to force-add the tags when pushing the
store_metricsStore metrics with specified reduction type.
@@ -606,6 +610,47 @@ gtag('config', 'G-9KYCVJBNMQ', { 'anonymize_ip': true});
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.

+
+
+
store_metrics
+
core.trainers.base.AxolotlTrainer.store_metrics(
+    metrics,
+    train_eval='train',
+    reduction='mean',
+)
+

Store metrics with specified reduction type.

+
+
Parameters
+ ++++++ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionDefault
metricsdict[str, float] | dict[str, tuple[int | float, str]]Dictionary of metric names to values, or metric names to (value, reduction_type) tuples.required
train_evalLiteral['train', 'eval']Whether this is for training or evaluation.'train'
@@ -613,6 +658,7 @@ model on the Hub. Please refer to ~transformers.Trainer.push_to_hub
+