You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: optimum/intel/openvino/modeling.py
+4-8
Original file line number
Diff line number
Diff line change
@@ -957,7 +957,7 @@ def forward(
957
957
958
958
959
959
CUSTOM_TASKS_EXAMPLE="""
960
-
Example of custom tasks (e.g. a sentence transformers taking `pooler_output` as output):
960
+
Example of custom tasks (e.g. a sentence transformers with a pooler head):
961
961
962
962
```python
963
963
>>> from transformers import {processor_class}
@@ -977,20 +977,16 @@ def forward(
977
977
978
978
@add_start_docstrings(
979
979
"""
980
-
OpenVINO Model for custom tasks.
980
+
OpenVINO Model for custom tasks. It can be used to leverage the inference acceleration for any single-file OpenVINO model, that may use custom inputs and outputs.
981
981
""",
982
982
MODEL_START_DOCSTRING,
983
983
)
984
984
classOVModelForCustomTasks(OVModel):
985
-
"""
986
-
OpenVINO Model for any custom tasks. It can be used to leverage the inference acceleration for any single-file ONNX model, that may use custom inputs and outputs.
0 commit comments