Skip to content

Commit ecb8130

Browse files
authored
Update the example YAML with new data struct
The template is not a string. Update examples to use the new data struct
1 parent 12122d8 commit ecb8130

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 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:
@@ -539,7 +540,8 @@ spec:
539540
value: google/flan-t5-base
540541
taskList:
541542
taskRecipes:
542-
- template: "templates.classification.multi_class.relation.default"
543+
- template:
544+
name: "templates.classification.multi_class.relation.default"
543545
card:
544546
custom: |
545547
{

0 commit comments

Comments
 (0)