Update README.md
Browse files
README.md
CHANGED
|
@@ -522,9 +522,9 @@ model-index:
|
|
| 522 |
name: Cosine Map@100
|
| 523 |
---
|
| 524 |
|
| 525 |
-
#
|
| 526 |
|
| 527 |
-
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [Snowflake/snowflake-arctic-embed-m-v2.0](https://huggingface.co/Snowflake/snowflake-arctic-embed-m-v2.0) on the
|
| 528 |
|
| 529 |
## Model Details
|
| 530 |
|
|
@@ -539,22 +539,6 @@ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [S
|
|
| 539 |
- **Language:** en
|
| 540 |
- **License:** apache-2.0
|
| 541 |
|
| 542 |
-
### Model Sources
|
| 543 |
-
|
| 544 |
-
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
|
| 545 |
-
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
|
| 546 |
-
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
|
| 547 |
-
|
| 548 |
-
### Full Model Architecture
|
| 549 |
-
|
| 550 |
-
```
|
| 551 |
-
SentenceTransformer(
|
| 552 |
-
(0): Transformer({'max_seq_length': 8192, 'do_lower_case': False}) with Transformer model: GteModel
|
| 553 |
-
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
|
| 554 |
-
(2): Normalize()
|
| 555 |
-
)
|
| 556 |
-
```
|
| 557 |
-
|
| 558 |
## Usage
|
| 559 |
|
| 560 |
### Direct Usage (Sentence Transformers)
|
|
@@ -570,7 +554,7 @@ Then you can load this model and run inference.
|
|
| 570 |
from sentence_transformers import SentenceTransformer
|
| 571 |
|
| 572 |
# Download from the 🤗 Hub
|
| 573 |
-
model = SentenceTransformer("
|
| 574 |
# Run inference
|
| 575 |
sentences = [
|
| 576 |
'1996. In section 19 of the Depositories Act, 1996 (hereafter in this chapter referred to as the principal Act in this chapter), the following Explanation shall be inserted, namely:- Explanation. For the removal of doubts, it is hereby declared that power to issue directions under this section shall include and always be deemed to have been included the power to direct any person, who made profit or averted loss by indulging in any transaction or activity in contravention of the provisions of this Act or regulations made thereunder, to disgorge an amount equivalent to the wrongful gain made or loss averted by such contravention.',
|
|
|
|
| 522 |
name: Cosine Map@100
|
| 523 |
---
|
| 524 |
|
| 525 |
+
# Legal-Embed-snowflake-arctic-embed-m-v2.0
|
| 526 |
|
| 527 |
+
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [Snowflake/snowflake-arctic-embed-m-v2.0](https://huggingface.co/Snowflake/snowflake-arctic-embed-m-v2.0) on the [legal-rag-embedding-dataset](https://huggingface.co/datasets/axondendriteplus/legal-rag-embedding-dataset). It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
|
| 528 |
|
| 529 |
## Model Details
|
| 530 |
|
|
|
|
| 539 |
- **Language:** en
|
| 540 |
- **License:** apache-2.0
|
| 541 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 542 |
## Usage
|
| 543 |
|
| 544 |
### Direct Usage (Sentence Transformers)
|
|
|
|
| 554 |
from sentence_transformers import SentenceTransformer
|
| 555 |
|
| 556 |
# Download from the 🤗 Hub
|
| 557 |
+
model = SentenceTransformer("axondendriteplus/Legal-Embed-snowflake-arctic-embed-m-v2.0")
|
| 558 |
# Run inference
|
| 559 |
sentences = [
|
| 560 |
'1996. In section 19 of the Depositories Act, 1996 (hereafter in this chapter referred to as the principal Act in this chapter), the following Explanation shall be inserted, namely:- Explanation. For the removal of doubts, it is hereby declared that power to issue directions under this section shall include and always be deemed to have been included the power to direct any person, who made profit or averted loss by indulging in any transaction or activity in contravention of the provisions of this Act or regulations made thereunder, to disgorge an amount equivalent to the wrongful gain made or loss averted by such contravention.',
|