Skip to content

Commit 0e5b5a8

Browse files
committed
Updated the instances of Job
1 parent f9d521a commit 0e5b5a8

4 files changed

+11
-11
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
ifdef::context[:parent-context: {context}]
44
[id="enabling-external-resource-access-for-lmeval-jobs_{context}"]
5-
= Enabling external resource access for LMEval Jobs
5+
= 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, `LMEvalJob` can be configured to automatically download them.
99

10-
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.
10+
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

1212
include::modules/updating-lmeval-job-configuration-using-the-cli.adoc[leveloffset=+1]
1313

modules/setting-up-lmeval.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ You can configure the following properties for LM-Eval:
7272
| The interval to check the job pod for an evaluation job.
7373
7474
| `lmes-allow-online`
75-
| true
75+
| false
7676
| Whether LMEval jobs can set the online mode to `on` to access artifacts (models, datasets, tokenizers) from the internet.
7777
7878
| `lmes-allow-code-execution`
79-
| true
79+
| false
8080
| Determines whether LMEval jobs can set the `trust remote code` mode to `on`.
8181
8282
|===

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ifdef::context[:parent-context: {context}]
66
= Updating LMEval Job configuration using the CLI
77

88
[role='_abstract']
9-
Follow these steps to enable online access (`allowOnline`) or remote code execution (`allowCodeExecution`) or both modes using the CLI for LMEval Jobs.
9+
Follow these steps to enable online access (`allowOnline`) or remote code execution (`allowCodeExecution`) or both modes using the CLI for LMEval jobs.
1010

1111
[IMPORTANT]
1212
====
@@ -82,7 +82,7 @@ oc rollout restart deployment trustyai-service-operator-controller-manager -n re
8282
----
8383
. Enable online access or code execution or both on specific `LMEvalJob` resources:
8484

85-
.. For LMEval Jobs that already exist, apply the following patch:
85+
.. For LMEval jobs that already exist, apply the following patch:
8686
+
8787
[source,sh]
8888
----
@@ -92,7 +92,7 @@ oc get lmevaljobs example-lmeval -n <user-or-target-namespace > \
9292
-o jsonpath='{.spec.allowOnline}{"\n"}{.spec.allowCodeExecution}{"\n"}'
9393
----
9494

95-
.. For new LMEval Jobs, apply a YAML that includes the following fields:
95+
.. For new LMEval jobs, apply a YAML that includes the following fields:
9696
[source,yaml]
9797
----
9898
apiVersion: trustyai.opendatahub.io/v1alpha1

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
ifdef::context[:parent-context: {context}]
44
[id="updating-lmeval-job-configuration-using-the-console_{context}"]
5-
= Updating LMEval Job configuration using the console
5+
= Updating LMEval job configuration using the console
66

77
[role='_abstract']
8-
Follow these steps to enable online access (`allowOnline`) and remote code execution (`allowCodeExecution`) modes through the {productname-short} console for LMEval Jobs.
8+
Follow these steps to enable online access (`allowOnline`) and remote code execution (`allowCodeExecution`) modes through the {productname-short} console for LMEval jobs.
99

1010
[IMPORTANT]
1111
====
@@ -48,7 +48,7 @@ lmes-allow-code-execution: "true"
4848
+
4949
[NOTE]
5050
--
51-
Each LMEval Job must explicitly be set to allow online access and code execution.
51+
Each LMEval job must explicitly be set to allow online access and code execution.
5252
--
5353
.
5454
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:

0 commit comments

Comments
 (0)