Instructions to use TrendHD/bge-small-en-v1.5-int8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use TrendHD/bge-small-en-v1.5-int8 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("TrendHD/bge-small-en-v1.5-int8") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Upload model_int8.onnx
Browse files- onnx/model_int8.onnx +3 -0
onnx/model_int8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf64d05457cb391fa88d045faf5927a15ea36d96228ddf23ea970087afdc1197
|
| 3 |
+
size 33760831
|