We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fe032e commit ca52e70Copy full SHA for ca52e70
1 file changed
notebooks/community/model_garden/model_garden_e5.ipynb
@@ -396,7 +396,9 @@
396
" ],\n",
397
" },\n",
398
"]\n",
399
- "response = endpoint.predict(instances=instances)\n",
+ "response = endpoint.predict(\n",
400
+ " instances=instances, use_dedicated_endpoint=use_dedicated_endpoint\n",
401
+ ")\n",
402
"\n",
403
"for prediction in response.predictions:\n",
404
" embeddings = Tensor(prediction)\n",
@@ -470,7 +472,9 @@
470
472
471
473
"instances = [{\"inputs\": queries + documents}]\n",
474
475
476
477
478
479
480
0 commit comments