Feature Extraction
sentence-transformers
Safetensors
bert
text-embeddings
information-retrieval
contrastive-learning
research
text-embeddings-inference
Instructions to use PrithviAI9998/CustomLossBGE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use PrithviAI9998/CustomLossBGE with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("PrithviAI9998/CustomLossBGE") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Create 1_Pooling/config.json
Browse files- 1_Pooling/config.json +5 -0
1_Pooling/config.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"embedding_dimension": 768,
|
| 3 |
+
"pooling_mode": "cls",
|
| 4 |
+
"include_prompt": true
|
| 5 |
+
}
|