raphaelsty commited on
Commit
f6116c5
·
verified ·
1 Parent(s): 1df8375

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: colbert-onnx
3
+ tags:
4
+ - colbert
5
+ - onnx
6
+ - sentence-transformers
7
+ - feature-extraction
8
+ license: mit
9
+ ---
10
+
11
+ # model-test-onnx
12
+
13
+ ONNX export of [unknown](https://huggingface.co/unknown) for fast CPU inference.
14
+
15
+ ## Model Details
16
+
17
+ - **Source Model**: [unknown](https://huggingface.co/unknown)
18
+ - **Embedding Dimension**: unknown
19
+ - **Format**: ONNX (FP32)
20
+
21
+ ## Files
22
+
23
+ | File | Description |
24
+ |------|-------------|
25
+ | `model.onnx` | FP32 ONNX model |
26
+
27
+ | `tokenizer.json` | Tokenizer configuration |
28
+ | `config_sentence_transformers.json` | Model configuration |
29
+
30
+ ## Usage with colbert-onnx (Rust)
31
+
32
+ ```rust
33
+ use colbert_onnx::Colbert;
34
+
35
+ let mut model = Colbert::from_pretrained("path/to/model")?;
36
+ let embeddings = model.encode_documents(&["Hello world"])?;
37
+ ```
38
+
39
+ ## Export Tool
40
+
41
+ This model was exported using [pylate-onnx-export](https://github.com/lightonai/next-plaid/tree/main/onnx/python):
42
+
43
+ ```bash
44
+ pip install "pylate-onnx-export @ git+https://github.com/lightonai/next-plaid.git#subdirectory=onnx/python"
45
+ pylate-onnx-export unknown --push-to-hub raphaelsty/model-test-onnx
46
+ ```