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
|
@@ -16,22 +16,26 @@ base_model: prajjwal1/bert-tiny
|
|
| 16 |
widget:
|
| 17 |
- text: how much do private cleaners charge per hour
|
| 18 |
- text: atlantic ocean air currents affects climate
|
| 19 |
-
- text:
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
pipeline_tag: feature-extraction
|
| 36 |
library_name: sentence-transformers
|
| 37 |
metrics:
|
|
@@ -121,6 +125,8 @@ model-index:
|
|
| 121 |
- type: corpus_sparsity_ratio
|
| 122 |
value: 0.99477288813811
|
| 123 |
name: Corpus Sparsity Ratio
|
|
|
|
|
|
|
| 124 |
---
|
| 125 |
|
| 126 |
# SPLADE-BERT-Tiny
|
|
@@ -169,7 +175,7 @@ Then you can load this model and run inference.
|
|
| 169 |
from sentence_transformers import SparseEncoder
|
| 170 |
|
| 171 |
# Download from the 🤗 Hub
|
| 172 |
-
model = SparseEncoder("
|
| 173 |
# Run inference
|
| 174 |
queries = [
|
| 175 |
"what code section is depreciation",
|
|
@@ -513,4 +519,4 @@ You can finetune this model on your own dataset.
|
|
| 513 |
## Model Card Contact
|
| 514 |
|
| 515 |
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 516 |
-
-->
|
|
|
|
| 16 |
widget:
|
| 17 |
- text: how much do private cleaners charge per hour
|
| 18 |
- text: atlantic ocean air currents affects climate
|
| 19 |
+
- text: >-
|
| 20 |
+
RNA polymerase is the core enzyme in transcription which needs proteins
|
| 21 |
+
known as transcription factors to bind to the DNA promoter. also DNA
|
| 22 |
+
plymerase... can't remember what about it though. DNA polymerase isn't
|
| 23 |
+
involved in DNA transcription. However, DNA polymerase IS involved in DNA
|
| 24 |
+
REPLICATION.
|
| 25 |
+
- text: >-
|
| 26 |
+
Exploit:JS/Axpergle.E Virus is a threatening Trojan horse which gets itself
|
| 27 |
+
loaded when you turn on your computer and eats up lots of system resources.
|
| 28 |
+
Once this Exploit:JS/Axpergle.E virus successfully enters your operating
|
| 29 |
+
system, your computer will be subjected to a variety of errors and drive you
|
| 30 |
+
mad.) Exploit:JS/Axpergle.E Virus corrupts the data and files saved on your
|
| 31 |
+
computer hard drive terribly. 2) Exploit:JS/Axpergle.E Virus changes the
|
| 32 |
+
registry entry to get itself launched at system startup.
|
| 33 |
+
- text: >-
|
| 34 |
+
--No depreciation deduction shall be allowed under this section (and no
|
| 35 |
+
depreciation or amortization deduction shall be allowed under any other
|
| 36 |
+
provision of this subtitle) to the taxpayer for any term interest in
|
| 37 |
+
property for any period during which the remainder interest in such property
|
| 38 |
+
is held (directly or indirectly) by a related person.
|
| 39 |
pipeline_tag: feature-extraction
|
| 40 |
library_name: sentence-transformers
|
| 41 |
metrics:
|
|
|
|
| 125 |
- type: corpus_sparsity_ratio
|
| 126 |
value: 0.99477288813811
|
| 127 |
name: Corpus Sparsity Ratio
|
| 128 |
+
datasets:
|
| 129 |
+
- microsoft/ms_marco
|
| 130 |
---
|
| 131 |
|
| 132 |
# SPLADE-BERT-Tiny
|
|
|
|
| 175 |
from sentence_transformers import SparseEncoder
|
| 176 |
|
| 177 |
# Download from the 🤗 Hub
|
| 178 |
+
model = SparseEncoder("rasyosef/SPLADE-BERT-Tiny")
|
| 179 |
# Run inference
|
| 180 |
queries = [
|
| 181 |
"what code section is depreciation",
|
|
|
|
| 519 |
## Model Card Contact
|
| 520 |
|
| 521 |
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 522 |
+
-->
|