Update README.md
Browse files
README.md
CHANGED
|
@@ -408,20 +408,15 @@ model-index:
|
|
| 408 |
|
| 409 |
# bge-large-en-v1.5-quant
|
| 410 |
|
| 411 |
-
|
|
|
|
|
|
|
| 412 |
|
| 413 |
-
|
| 414 |
|
| 415 |
-
|
| 416 |
|
| 417 |
-
|
| 418 |
-
| --------------------------------------------------------------------------------------------------- | ---------------------- |
|
| 419 |
-
| [zeroshot/bge-large-en-v1.5-sparse](https://huggingface.co/zeroshot/bge-large-en-v1.5-sparse) | Quantization (INT8) & 50% Pruning |
|
| 420 |
-
| [zeroshot/bge-large-en-v1.5-quant](https://huggingface.co/zeroshot/bge-large-en-v1.5-quant) | Quantization (INT8) |
|
| 421 |
-
| [zeroshot/bge-base-en-v1.5-sparse](https://huggingface.co/zeroshot/bge-base-en-v1.5-sparse) | Quantization (INT8) & 50% Pruning |
|
| 422 |
-
| [zeroshot/bge-base-en-v1.5-quant](https://huggingface.co/zeroshot/bge-base-en-v1.5-quant) | Quantization (INT8) |
|
| 423 |
-
| [zeroshot/bge-small-en-v1.5-sparse](https://huggingface.co/zeroshot/bge-small-en-v1.5-sparse) | Quantization (INT8) & 50% Pruning |
|
| 424 |
-
| [zeroshot/bge-small-en-v1.5-quant](https://huggingface.co/zeroshot/bge-small-en-v1.5-quant) | Quantization (INT8) |
|
| 425 |
|
| 426 |
```bash
|
| 427 |
pip install -U deepsparse-nightly[sentence_transformers]
|
|
@@ -446,9 +441,4 @@ for sentence, embedding in zip(sentences, embeddings):
|
|
| 446 |
print("")
|
| 447 |
```
|
| 448 |
|
| 449 |
-
For
|
| 450 |
-
|
| 451 |
-
|
| 452 |
-
For general questions on these models and sparsification methods, reach out to the engineering team on our [community Slack](https://join.slack.com/t/discuss-neuralmagic/shared_invite/zt-q1a1cnvo-YBoICSIw3L1dmQpjBeDurQ).
|
| 453 |
-
|
| 454 |
-

|
|
|
|
| 408 |
|
| 409 |
# bge-large-en-v1.5-quant
|
| 410 |
|
| 411 |
+
<div>
|
| 412 |
+
<img src="https://huggingface.co/zeroshot/bge-large-en-v1.5-quant/resolve/main/bge-large-latency.png" alt="latency" width="500" style="display:inline-block; margin-right:10px;"/>
|
| 413 |
+
</div>
|
| 414 |
|
| 415 |
+
[DeepSparse](https://github.com/neuralmagic/deepsparse) is able to improve latency performance on a 10 core laptop by 3X and up to 5X on a 16 core AWS instance.
|
| 416 |
|
| 417 |
+
## Usage
|
| 418 |
|
| 419 |
+
This is the quantized (INT8) ONNX variant of the [bge-large-en-v1.5](https://huggingface.co/BAAI/bge-small-en-v1.5) embeddings model accelerated with [Sparsify](https://github.com/neuralmagic/sparsify) for quantization and [DeepSparseSentenceTransformers](https://github.com/neuralmagic/deepsparse/tree/main/src/deepsparse/sentence_transformers) for inference.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 420 |
|
| 421 |
```bash
|
| 422 |
pip install -U deepsparse-nightly[sentence_transformers]
|
|
|
|
| 441 |
print("")
|
| 442 |
```
|
| 443 |
|
| 444 |
+
For general questions on these models and sparsification methods, reach out to the engineering team on our [community Slack](https://join.slack.com/t/discuss-neuralmagic/shared_invite/zt-q1a1cnvo-YBoICSIw3L1dmQpjBeDurQ).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|