Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
mteb
financial
fiqa
finance
retrieval
rag
esg
fixed-income
equity
Eval Results (legacy)
text-embeddings-inference
Instructions to use mukaj/fin-mpnet-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use mukaj/fin-mpnet-base with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("mukaj/fin-mpnet-base") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Inference
- Notebooks
- Google Colab
- Kaggle
Julian Mukaj commited on
Commit ·
40283d5
1
Parent(s): d7f79b2
Initial commit
Browse files
README.md
CHANGED
|
@@ -92,12 +92,12 @@ model-index:
|
|
| 92 |
value: 80.742
|
| 93 |
---
|
| 94 |
|
| 95 |
-
|
| 96 |
-
|
|
|
|
| 97 |
|
| 98 |
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
| 99 |
|
| 100 |
-
<!--- Describe your model here -->
|
| 101 |
|
| 102 |
## Usage (Sentence-Transformers)
|
| 103 |
|
|
@@ -113,7 +113,7 @@ Then you can use the model like this:
|
|
| 113 |
from sentence_transformers import SentenceTransformer
|
| 114 |
sentences = ["This is an example sentence", "Each sentence is converted"]
|
| 115 |
|
| 116 |
-
model = SentenceTransformer('
|
| 117 |
embeddings = model.encode(sentences)
|
| 118 |
print(embeddings)
|
| 119 |
```
|
|
@@ -130,4 +130,4 @@ The model will have likely suffered some performance on other benchmarks, i.e. B
|
|
| 130 |
|
| 131 |
## Training
|
| 132 |
|
| 133 |
-
"sentence-transformers/all-mpnet-base-v2" was fine-tuned on 150k financial document QA examples using MNR Loss.
|
|
|
|
| 92 |
value: 80.742
|
| 93 |
---
|
| 94 |
|
| 95 |
+
full evaluation not complete
|
| 96 |
+
|
| 97 |
+
# Fin-MPNET-Base (v0.1)
|
| 98 |
|
| 99 |
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
| 100 |
|
|
|
|
| 101 |
|
| 102 |
## Usage (Sentence-Transformers)
|
| 103 |
|
|
|
|
| 113 |
from sentence_transformers import SentenceTransformer
|
| 114 |
sentences = ["This is an example sentence", "Each sentence is converted"]
|
| 115 |
|
| 116 |
+
model = SentenceTransformer('mukaj/fin-mpnet-base')
|
| 117 |
embeddings = model.encode(sentences)
|
| 118 |
print(embeddings)
|
| 119 |
```
|
|
|
|
| 130 |
|
| 131 |
## Training
|
| 132 |
|
| 133 |
+
"sentence-transformers/all-mpnet-base-v2" was fine-tuned on 150k+ financial document QA examples using MNR Loss.
|