jupyterjazz
commited on
Commit
•
821cc49
1
Parent(s):
ddfd663
adjust readme
Browse filesSigned-off-by: saba.sturua@jina.ai <saba.sturua@jina.ai>
README.md
CHANGED
@@ -21683,7 +21683,10 @@ embeddings = model.encode(
|
|
21683 |
)
|
21684 |
```
|
21685 |
|
21686 |
-
|
|
|
|
|
|
|
21687 |
```python
|
21688 |
import onnxruntime
|
21689 |
import numpy as np
|
@@ -21713,6 +21716,8 @@ inputs = {
|
|
21713 |
outputs = session.run(None, inputs)
|
21714 |
```
|
21715 |
|
|
|
|
|
21716 |
|
21717 |
|
21718 |
## Contact
|
|
|
21683 |
)
|
21684 |
```
|
21685 |
|
21686 |
+
**<details><summary>ONNX Inference.</summary>**
|
21687 |
+
<p>
|
21688 |
+
|
21689 |
+
You can use ONNX for efficient inference with `jina-embeddings-v3`:
|
21690 |
```python
|
21691 |
import onnxruntime
|
21692 |
import numpy as np
|
|
|
21716 |
outputs = session.run(None, inputs)
|
21717 |
```
|
21718 |
|
21719 |
+
</p>
|
21720 |
+
</details>
|
21721 |
|
21722 |
|
21723 |
## Contact
|