Skip to content

Commit 0387478

Browse files
committed
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 <yh.wang@ibm.com>
1 parent 12122d8 commit 0387478

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/modules/ROOT/pages/lm-eval-tutorial.adoc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ spec:
9797
taskRecipes:
9898
- card:
9999
name: "cards.wnli" <2>
100-
template: "templates.classification.multi_class.relation.default" <3>
100+
template:
101+
name: "templates.classification.multi_class.relation.default" <3>
101102
logSamples: true
102103
pod:
103104
container:
@@ -320,7 +321,8 @@ spec:
320321
taskRecipes:
321322
- card:
322323
name: cards.wnli
323-
template: templates.classification.multi_class.relation.default
324+
template:
325+
name: templates.classification.multi_class.relation.default
324326
status:
325327
completeTime: "2025-02-06T18:31:20Z"
326328
lastScheduleTime: "2025-02-06T18:13:35Z"
@@ -539,7 +541,8 @@ spec:
539541
value: google/flan-t5-base
540542
taskList:
541543
taskRecipes:
542-
- template: "templates.classification.multi_class.relation.default"
544+
- template:
545+
name: "templates.classification.multi_class.relation.default"
543546
card:
544547
custom: |
545548
{

0 commit comments

Comments
 (0)