From 03874786888a8d012322416b25b88c87a938f4eb Mon Sep 17 00:00:00 2001 From: Yihong Wang Date: Wed, 16 Apr 2025 16:54:28 -0700 Subject: [PATCH] Update the example YAML with new data struct The template is not a string. Update examples to use the new data struct Signed-off-by: Yihong Wang --- docs/modules/ROOT/pages/lm-eval-tutorial.adoc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/modules/ROOT/pages/lm-eval-tutorial.adoc b/docs/modules/ROOT/pages/lm-eval-tutorial.adoc index d5a4ec5..6290285 100644 --- a/docs/modules/ROOT/pages/lm-eval-tutorial.adoc +++ b/docs/modules/ROOT/pages/lm-eval-tutorial.adoc @@ -97,7 +97,8 @@ spec: taskRecipes: - card: name: "cards.wnli" <2> - template: "templates.classification.multi_class.relation.default" <3> + template: + name: "templates.classification.multi_class.relation.default" <3> logSamples: true pod: container: @@ -320,7 +321,8 @@ spec: taskRecipes: - card: name: cards.wnli - template: templates.classification.multi_class.relation.default + template: + name: templates.classification.multi_class.relation.default status: completeTime: "2025-02-06T18:31:20Z" lastScheduleTime: "2025-02-06T18:13:35Z" @@ -539,7 +541,8 @@ spec: value: google/flan-t5-base taskList: taskRecipes: - - template: "templates.classification.multi_class.relation.default" + - template: + name: "templates.classification.multi_class.relation.default" card: custom: | {