Sentence Similarity
sentence-transformers
PyTorch
ONNX
xlm-roberta
feature-extraction
text-embeddings-inference
Instructions to use p0x0q-dev/bge-m3-sparse-experimental with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use p0x0q-dev/bge-m3-sparse-experimental with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("p0x0q-dev/bge-m3-sparse-experimental") 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
Commit History
-
Update README.md
Verified signature45c2f7e
-
Update README.md
Verified signature7deea36 -
Update README.md
Verified signature549bd91
-
Revert "カスタムハンドラではなく、デフォルトでスパースに対応する"
This reverts commit 79e008e5730d9501b9a0c1fd955bfd6e8e5b0776.a24ac3a -
スパースが得られるように
5760b3d -
feat: テキストのスパースエンコーディングを追加
cb9cb86 -
テストモデル保存
ac38f7f -
モデルマージ
07816a1 -
カスタムハンドラではなく、デフォルトでスパースに対応する
79e008e -
chore: Update config.json and config_sentence_transformers.json
4d88031 -
Update README.md
Verified signature02c2c9e -
Update README.md
Verified signature09f2f11
-
Refactor handler.py to include max_length parameter in model.encode()
a971cda -
予測時間を計測できるように
473c7e6 -
Refactor handler.py to remove unnecessary code and return dense vectors as a list
ae99f99 -
dense_vecsの初期化を行う
9aae34a -
chore: Update handler.py to return sparse vectors as a dictionary
0d6d4f8 -
Refactor handler.py to use relative path for model initialization
90973f8 -
Refactor handler.py to use relative path for model initialization
c0a3a1a -
chore: Add FlagEmbedding and peft to requirements.txt
b025097 -
サンプルハンドラーレスポンスを採用する
ac3ea59 -
chore: Refactor handler.py to return a list of predictions
4f6d751 -
chore: Update handler.py to return sparse embeddings
8b84237 -
スパースベクトル化に対応する
4af82f4 -
カスタムハンドラの導入
a03b9b6 -
Upload 6 files
Verified signaturec1c3b35 -
Add empty .gitkeep file to the imgs directory
b6cee8b -
chore: Add pooling configuration file
6f9f1dc -
Upload 8 files
Verified signatureb54b1bc -
chore: Add tokenizer configuration file
25abf7c -
Upload 12 files
Verified signaturee56eaed -
Upload pytorch_model.bin
Verified signatureafb1ee2 -
initial commit
Verified signature450fbad