zeroshot commited on
Commit
03bae31
1 Parent(s): 928b5c9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -17
README.md CHANGED
@@ -408,20 +408,15 @@ model-index:
408
 
409
  # bge-large-en-v1.5-quant
410
 
411
- This is the quantized (INT8) ONNX variant of the [bge-large-en-v1.5](https://huggingface.co/BAAI/bge-large-en-v1.5) embeddings model created with [DeepSparse Optimum](https://github.com/neuralmagic/optimum-deepsparse) for ONNX export/inference pipeline and Neural Magic's [Sparsify](https://github.com/neuralmagic/sparsify) for one-shot quantization.
 
 
412
 
413
- Model achieves 100% accuracy recovery on the STSB validation dataset vs. [dense ONNX variant](https://huggingface.co/zeroshot/bge-large-en-v1.5-dense).
414
 
415
- Current list of sparse and quantized bge ONNX models:
416
 
417
- | Links | Sparsification Method |
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 further details regarding DeepSparse & Sentence Transformers integration, refer to the [DeepSparse README](https://github.com/neuralmagic/deepsparse/tree/main/src/deepsparse/sentence_transformers).
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
- ![;)](https://media.giphy.com/media/bYg33GbNbNIVzSrr84/giphy-downsized-large.gif)
 
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).