Feature Extraction
sentence-transformers
Safetensors
English
bert
sparse-encoder
sparse
splade
Generated from Trainer
dataset_size:1200000
loss:SpladeLoss
loss:SparseMarginMSELoss
loss:FlopsLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use rasyosef/splade-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use rasyosef/splade-tiny with sentence-transformers:
from sentence_transformers import SparseEncoder model = SparseEncoder("rasyosef/splade-tiny") 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,39 +14,47 @@ tags:
|
|
| 14 |
- loss:FlopsLoss
|
| 15 |
base_model: prajjwal1/bert-tiny
|
| 16 |
widget:
|
| 17 |
-
- text:
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
pipeline_tag: feature-extraction
|
| 51 |
library_name: sentence-transformers
|
| 52 |
metrics:
|
|
@@ -136,6 +144,8 @@ model-index:
|
|
| 136 |
- type: corpus_sparsity_ratio
|
| 137 |
value: 0.9966424360795421
|
| 138 |
name: Corpus Sparsity Ratio
|
|
|
|
|
|
|
| 139 |
---
|
| 140 |
|
| 141 |
# SPLADE-BERT-Tiny-Distil
|
|
@@ -184,7 +194,7 @@ Then you can load this model and run inference.
|
|
| 184 |
from sentence_transformers import SparseEncoder
|
| 185 |
|
| 186 |
# Download from the 🤗 Hub
|
| 187 |
-
model = SparseEncoder("
|
| 188 |
# Run inference
|
| 189 |
queries = [
|
| 190 |
"what is eus appointment",
|
|
@@ -228,7 +238,9 @@ You can finetune this model on your own dataset.
|
|
| 228 |
|
| 229 |
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
| 230 |
-->
|
| 231 |
-
|
|
|
|
|
|
|
| 232 |
## Evaluation
|
| 233 |
|
| 234 |
### Metrics
|
|
@@ -525,4 +537,6 @@ You can finetune this model on your own dataset.
|
|
| 525 |
## Model Card Contact
|
| 526 |
|
| 527 |
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 528 |
-
-->
|
|
|
|
|
|
|
|
|
| 14 |
- loss:FlopsLoss
|
| 15 |
base_model: prajjwal1/bert-tiny
|
| 16 |
widget:
|
| 17 |
+
- text: >-
|
| 18 |
+
Hurley doesn't just want to be your go-to for surf gear, but the be the
|
| 19 |
+
brand that represents your lifestyle. Of course you have your pick up board
|
| 20 |
+
shorts, tanks and a Hurley hat while you're on the beach, but you can also
|
| 21 |
+
look at graphic tees, sandals, and accessories when you're on the street.
|
| 22 |
+
- text: >-
|
| 23 |
+
Electric field of a positive and a negative point charge. Electric charge is
|
| 24 |
+
the physical property of matter that causes it to experience a force when
|
| 25 |
+
placed in an electromagnetic field.There are two types of electric charges:
|
| 26 |
+
positive and negative.lectric charge is a characteristic property of many
|
| 27 |
+
subatomic particles. The charges of free-standing particles are integer
|
| 28 |
+
multiples of the elementary charge e; we say that electric charge is
|
| 29 |
+
quantized. Michael Faraday, in his electrolysis experiments, was the first
|
| 30 |
+
to note the discrete nature of electric charge.
|
| 31 |
+
- text: >-
|
| 32 |
+
The term mechanical digestion refers to the physical breakdown of large
|
| 33 |
+
pieces of food into smaller pieces which can subsequently be accessed by
|
| 34 |
+
digestive enzymes. In chemical digestion, enzymes break down food into the
|
| 35 |
+
small molecules the body can use.
|
| 36 |
+
- text: >-
|
| 37 |
+
Kids and Quick Solutions. Children learn to put away their clothes when they
|
| 38 |
+
can reach the hanging rods. This is actually fun for little ones -- they may
|
| 39 |
+
spend a long stretch of time putting hangers on and taking them off the rods
|
| 40 |
+
-- as long as the rods are child-height.So take your stand against piles of
|
| 41 |
+
clothes on the floor of the teen's bedroom early by re-sizing the closet to
|
| 42 |
+
fit the kid.his is actually fun for little ones -- they may spend a long
|
| 43 |
+
stretch of time putting hangers on and taking them off the rods -- as long
|
| 44 |
+
as the rods are child-height. So take your stand against piles of clothes on
|
| 45 |
+
the floor of the teen's bedroom early by re-sizing the closet to fit the
|
| 46 |
+
kid.
|
| 47 |
+
- text: >-
|
| 48 |
+
About EUS (endoscopic ultrasound). An EUS, or endoscopic ultrasound, is an
|
| 49 |
+
outpatient procedure used to closely examine the tissues in the digestive
|
| 50 |
+
tract. The procedure is done using a standard endoscope and a tiny
|
| 51 |
+
ultrasound device.The ultrasound sensor sends back visual images of the
|
| 52 |
+
digestive tract to a screen, allowing the physician to see deeper into the
|
| 53 |
+
tissues and the organs beneath the surface of the intestines.. In general,
|
| 54 |
+
an EUS is a very safe procedure. If your procedure is being done on the
|
| 55 |
+
upper GI tract, you may have a sore throat for a few days. As a result of
|
| 56 |
+
the sedation, you should not drive, operate heavy machinery or make any
|
| 57 |
+
important decisions for up to six hours following the procedure.
|
| 58 |
pipeline_tag: feature-extraction
|
| 59 |
library_name: sentence-transformers
|
| 60 |
metrics:
|
|
|
|
| 144 |
- type: corpus_sparsity_ratio
|
| 145 |
value: 0.9966424360795421
|
| 146 |
name: Corpus Sparsity Ratio
|
| 147 |
+
datasets:
|
| 148 |
+
- microsoft/ms_marco
|
| 149 |
---
|
| 150 |
|
| 151 |
# SPLADE-BERT-Tiny-Distil
|
|
|
|
| 194 |
from sentence_transformers import SparseEncoder
|
| 195 |
|
| 196 |
# Download from the 🤗 Hub
|
| 197 |
+
model = SparseEncoder("rasyosef/splade-tiny")
|
| 198 |
# Run inference
|
| 199 |
queries = [
|
| 200 |
"what is eus appointment",
|
|
|
|
| 238 |
|
| 239 |
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
| 240 |
-->
|
| 241 |
+
## More
|
| 242 |
+
<details><summary>Click to expand</summary>
|
| 243 |
+
|
| 244 |
## Evaluation
|
| 245 |
|
| 246 |
### Metrics
|
|
|
|
| 537 |
## Model Card Contact
|
| 538 |
|
| 539 |
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 540 |
+
-->
|
| 541 |
+
|
| 542 |
+
</details>
|