Update README.md
Browse files
README.md
CHANGED
@@ -60,7 +60,13 @@ print(scores)
|
|
60 |
|
61 |
## ONNX Conversion Script
|
62 |
|
63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
```python
|
66 |
from pathlib import Path
|
|
|
60 |
|
61 |
## ONNX Conversion Script
|
62 |
|
63 |
+
Currently in [pull request](https://github.com/huggingface/optimum/pull/2251) (not merged yet).
|
64 |
+
|
65 |
+
```bash
|
66 |
+
optimum-cli export onnx --model vidore/colpali-v1.3-hf ./onnx_output --task feature-extraction --variant text --dtype fp16
|
67 |
+
```
|
68 |
+
|
69 |
+
For fp16, there's an issue with transformers that is not fixed for now, so please use script below.
|
70 |
|
71 |
```python
|
72 |
from pathlib import Path
|