Sparse Encoder Update
Browse files
{3_CSRSparsity → 3_SparseAutoEncoder}/config.json
RENAMED
|
File without changes
|
3_CSRSparsity/pytorch_model.bin → 3_SparseAutoEncoder/model.safetensors
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a6471d3889c0828dbdbd53c2eabef4027554d0ac705c029496358135f94b303
|
| 3 |
+
size 268648800
|
config_sentence_transformers.json
CHANGED
|
@@ -1,27 +1,13 @@
|
|
| 1 |
{
|
| 2 |
"__version__": {
|
| 3 |
-
"sentence_transformers": "
|
| 4 |
"transformers": "4.47.0",
|
| 5 |
"pytorch": "2.5.1+cu12"
|
| 6 |
},
|
| 7 |
"prompts": {
|
| 8 |
-
"Banking77Classification": "Instruct: Given a question, please describe the intent of this question. \n Question: "
|
| 9 |
-
"MTOPIntentClassification": "Instruct: Given a question, please describe the intent of this question. \n Question: ",
|
| 10 |
-
"TweetSentimentClassification": "Classify the sentiment of a given tweet as either positive, negative, or neutral.",
|
| 11 |
-
"BiorxivClusteringP2P.v2": "Identify the main category of Biorxiv papers based on the titles and abstracts",
|
| 12 |
-
"BiorxivClusteringS2S.v2": "Identify the main category of Biorxiv papers based on the titles",
|
| 13 |
-
"TwentyNewsgroupsClustering": "Identify the topic or theme of the given news articles",
|
| 14 |
-
"FiQA2018": {
|
| 15 |
-
"query": "Given a financial question, retrieve relevant passages that answer the query"
|
| 16 |
-
},
|
| 17 |
-
"SciFact": {
|
| 18 |
-
"query": "Given a scientific claim, retrieve documents that support or refute the claim"
|
| 19 |
-
},
|
| 20 |
-
"NFCorpus": {
|
| 21 |
-
"query": "Given a question, retrieve relevant documents that answer the question"
|
| 22 |
-
}
|
| 23 |
},
|
| 24 |
"default_prompt_name": null,
|
| 25 |
"model_type": "SparseEncoder",
|
| 26 |
-
"similarity_fn_name": "
|
| 27 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"__version__": {
|
| 3 |
+
"sentence_transformers": "5.0.0",
|
| 4 |
"transformers": "4.47.0",
|
| 5 |
"pytorch": "2.5.1+cu12"
|
| 6 |
},
|
| 7 |
"prompts": {
|
| 8 |
+
"Banking77Classification": "Instruct: Given a question, please describe the intent of this question. \n Question: "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
},
|
| 10 |
"default_prompt_name": null,
|
| 11 |
"model_type": "SparseEncoder",
|
| 12 |
+
"similarity_fn_name": "cosine"
|
| 13 |
}
|
modules.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
| 20 |
{
|
| 21 |
"idx": 3,
|
| 22 |
"name": "3",
|
| 23 |
-
"path": "
|
| 24 |
-
"type": "sentence_transformers.sparse_encoder.models.
|
| 25 |
}
|
| 26 |
]
|
|
|
|
| 20 |
{
|
| 21 |
"idx": 3,
|
| 22 |
"name": "3",
|
| 23 |
+
"path": "3_SparseAutoEncoder",
|
| 24 |
+
"type": "sentence_transformers.sparse_encoder.models.SparseAutoEncoder"
|
| 25 |
}
|
| 26 |
]
|