Feature Extraction
sentence-transformers
Safetensors
English
bert
sparse-encoder
sparse
splade
Generated from Trainer
dataset_size:1000000
loss:SpladeLoss
loss:SparseMarginMSELoss
loss:FlopsLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use rasyosef/splade-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use rasyosef/splade-mini with sentence-transformers:
from sentence_transformers import SparseEncoder model = SparseEncoder("rasyosef/splade-mini") queries = ["Which planet is known as the Red Planet?"] documents = [ "Venus is often called Earth's twin because of its similar size and proximity.", "Mars, known for its reddish appearance, is often referred to as the Red Planet.", "Jupiter, the largest planet in our solar system, has a prominent red spot.", ] query_embeddings = model.encode_query(queries) document_embeddings = model.encode_document(documents) similarities = model.similarity(query_embeddings, document_embeddings) print(similarities) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,26 +14,31 @@ tags:
|
|
| 14 |
- loss:FlopsLoss
|
| 15 |
base_model: prajjwal1/bert-mini
|
| 16 |
widget:
|
| 17 |
-
- text:
|
| 18 |
-
|
| 19 |
-
date
|
| 20 |
-
|
| 21 |
-
|
|
|
|
| 22 |
- text: what is a vermouth
|
| 23 |
-
- text:
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
pipeline_tag: feature-extraction
|
| 38 |
library_name: sentence-transformers
|
| 39 |
metrics:
|
|
@@ -123,6 +128,8 @@ model-index:
|
|
| 123 |
- type: corpus_sparsity_ratio
|
| 124 |
value: 0.9949652429684753
|
| 125 |
name: Corpus Sparsity Ratio
|
|
|
|
|
|
|
| 126 |
---
|
| 127 |
|
| 128 |
# SPLADE-BERT-Mini
|
|
@@ -171,7 +178,7 @@ Then you can load this model and run inference.
|
|
| 171 |
from sentence_transformers import SparseEncoder
|
| 172 |
|
| 173 |
# Download from the 🤗 Hub
|
| 174 |
-
model = SparseEncoder("
|
| 175 |
# Run inference
|
| 176 |
queries = [
|
| 177 |
"where is oestrogen produced",
|
|
@@ -515,4 +522,4 @@ You can finetune this model on your own dataset.
|
|
| 515 |
## Model Card Contact
|
| 516 |
|
| 517 |
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 518 |
-
-->
|
|
|
|
| 14 |
- loss:FlopsLoss
|
| 15 |
base_model: prajjwal1/bert-mini
|
| 16 |
widget:
|
| 17 |
+
- text: >-
|
| 18 |
+
When to File. Generally, the estate tax return is due nine months after the
|
| 19 |
+
date of death. A six month extension is available if requested prior to the
|
| 20 |
+
due date and the estimated correct amount of tax is paid before the due
|
| 21 |
+
date. The gift tax return is due on April 15th following the year in which
|
| 22 |
+
the gift is made. Where to File.
|
| 23 |
- text: what is a vermouth
|
| 24 |
+
- text: >-
|
| 25 |
+
Stomach ulcers are the most visible sign of peptic ulcer disease. They occur
|
| 26 |
+
when the thick layer of mucus that protects your stomach from digestive
|
| 27 |
+
juices is reduced, thus enabling the digestive acids to eat away at the
|
| 28 |
+
lining tissues of the stomach.
|
| 29 |
+
- text: >-
|
| 30 |
+
acronym - a word formed from the initial letters of the several words in the
|
| 31 |
+
name. 1 snafu - an acronym often used by soldiers in World War II:
|
| 32 |
+
situation normal all fucked up.
|
| 33 |
+
- text: >-
|
| 34 |
+
Estrogens, in females, are produced primarily by the ovaries, and during
|
| 35 |
+
pregnancy, the placenta. Follicle-stimulating hormone (FSH) stimulates the
|
| 36 |
+
ovarian production of estrogens by the granulosa cells of the ovarian
|
| 37 |
+
follicles and corpora lutea.strogen or oestrogen (see spelling differences)
|
| 38 |
+
is the primary female sex hormone and is responsible for development and
|
| 39 |
+
regulation of the female reproductive system and secondary sex
|
| 40 |
+
characteristics. Estrogen may also refer to any substance, natural or
|
| 41 |
+
synthetic that mimics the effects of the natural hormone.
|
| 42 |
pipeline_tag: feature-extraction
|
| 43 |
library_name: sentence-transformers
|
| 44 |
metrics:
|
|
|
|
| 128 |
- type: corpus_sparsity_ratio
|
| 129 |
value: 0.9949652429684753
|
| 130 |
name: Corpus Sparsity Ratio
|
| 131 |
+
datasets:
|
| 132 |
+
- microsoft/ms_marco
|
| 133 |
---
|
| 134 |
|
| 135 |
# SPLADE-BERT-Mini
|
|
|
|
| 178 |
from sentence_transformers import SparseEncoder
|
| 179 |
|
| 180 |
# Download from the 🤗 Hub
|
| 181 |
+
model = SparseEncoder("rasyosef/SPLADE-BERT-Mini")
|
| 182 |
# Run inference
|
| 183 |
queries = [
|
| 184 |
"where is oestrogen produced",
|
|
|
|
| 522 |
## Model Card Contact
|
| 523 |
|
| 524 |
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 525 |
+
-->
|