Skip to content

Commit cb128a0

Browse files
committed
further tweaks
1 parent 0e5b5a8 commit cb128a0

3 files changed

+6
-4
lines changed

assemblies/enabling-external-resource-access-for-lmeval-jobs.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ifdef::context[:parent-context: {context}]
55
= Enabling external resource access for LMEval jobs
66

77
[role='_abstract']
8-
LMEval jobs do not allow internet access or remote code execution by default. When configuring an `LMEvalJob`, it may require access to external resources, for example task datasets and model tokenizers, usually hosted on link:https://huggingface.co[Hugging Face]. If you trust the source and have reviewed the content of these artifacts, `LMEvalJob` can be configured to automatically download them.
8+
LMEval jobs do not allow internet access or remote code execution by default. When configuring an `LMEvalJob`, it may require access to external resources, for example task datasets and model tokenizers, usually hosted on link:https://huggingface.co[Hugging Face]. If you trust the source and have reviewed the content of these artifacts, an `LMEvalJob` can be configured to automatically download them.
99

1010
Follow the steps below to enable online access and remote code execution for LMEval jobs. Choose to update these settings by using either the CLI or in the console. Enable one or both settings according to your needs.
1111

modules/updating-lmeval-job-configuration-using-the-cli.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ oc patch configmap trustyai-service-operator-config -n redhat-ods-applications \
3636
If the `opendatahub.io/managed` annotation does not exist, the default value is `true`.
3737
--
3838
+
39-
.trustyai-service-operator-config annotation keys for LMEval job access
39+
.trustyai-service-operator-config annotation keys for LMEval job access
4040
[cols="3,2,5", options="header"]
4141
|===
4242
| Annotation Key
@@ -93,6 +93,7 @@ oc get lmevaljobs example-lmeval -n <user-or-target-namespace > \
9393
----
9494

9595
.. For new LMEval jobs, apply a YAML that includes the following fields:
96+
+
9697
[source,yaml]
9798
----
9899
apiVersion: trustyai.opendatahub.io/v1alpha1

modules/updating-lmeval-job-configuration-using-the-console.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ lmes-allow-code-execution: "true"
5050
--
5151
Each LMEval job must explicitly be set to allow online access and code execution.
5252
--
53-
.
54-
Ensure that the following fields are set to 'true' to enable online access and code execution for this job when writing your `LMEvalJob` custom resource:
53+
. Ensure that the following fields are set to 'true' to enable online access and code execution for this job when writing your `LMEvalJob` custom resource:
54+
+
5555
[source,yaml]
5656
----
5757
apiVersion: trustyai.opendatahub.io/v1alpha1
@@ -64,6 +64,7 @@ spec:
6464

6565
----
6666
67+
6768
.Configuration keys for LMEvalJob custom resource
6869
[cols="3,2,5", options="header"]
6970
|===

0 commit comments

Comments
 (0)