File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ To list all model evaluations for a model:
315
315
316
316
.. code-block :: Python
317
317
318
- model = aiplatform.Model(' / projects/my-project/locations/us-central1/models/{MODEL_ID} ' )
318
+ model = aiplatform.Model(' projects/my-project/locations/us-central1/models/{MODEL_ID} ' )
319
319
320
320
evaluations = model.list_model_evaluations()
321
321
@@ -324,7 +324,7 @@ To get the model evaluation resource for a given model:
324
324
325
325
.. code-block :: Python
326
326
327
- model = aiplatform.Model(' / projects/my-project/locations/us-central1/models/{MODEL_ID} ' )
327
+ model = aiplatform.Model(' projects/my-project/locations/us-central1/models/{MODEL_ID} ' )
328
328
329
329
# returns the first evaluation with no arguments, you can also pass the evaluation ID
330
330
evaluation = model.get_model_evaluation()
@@ -337,7 +337,7 @@ You can also create a reference to your model evaluation directly by passing in
337
337
.. code-block :: Python
338
338
339
339
evaluation = aiplatform.ModelEvaluation(
340
- evaluation_name = ' / projects/my-project/locations/us-central1/models/{MODEL_ID} /evaluations/{EVALUATION_ID} ' )
340
+ evaluation_name = ' projects/my-project/locations/us-central1/models/{MODEL_ID} /evaluations/{EVALUATION_ID} ' )
341
341
342
342
Alternatively, you can create a reference to your evaluation by passing in the model and evaluation IDs:
343
343
You can’t perform that action at this time.
0 commit comments