Commit
•
4b5eafb
1
Parent(s):
a8813ac
Update README.md
Browse files
README.md
CHANGED
@@ -9,11 +9,18 @@ language:
|
|
9 |
- ml
|
10 |
---
|
11 |
|
12 |
-
#
|
13 |
|
14 |
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.
|
15 |
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
## Usage (Sentence-Transformers)
|
19 |
|
@@ -70,58 +77,4 @@ sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask']
|
|
70 |
|
71 |
print("Sentence embeddings:")
|
72 |
print(sentence_embeddings)
|
73 |
-
```
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
## Evaluation Results
|
78 |
-
|
79 |
-
<!--- Describe how your model was evaluated -->
|
80 |
-
|
81 |
-
For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name={MODEL_NAME})
|
82 |
-
|
83 |
-
|
84 |
-
## Training
|
85 |
-
The model was trained with the parameters:
|
86 |
-
|
87 |
-
**DataLoader**:
|
88 |
-
|
89 |
-
`torch.utils.data.dataloader.DataLoader` of length 719 with parameters:
|
90 |
-
```
|
91 |
-
{'batch_size': 8, 'sampler': 'torch.utils.data.sampler.RandomSampler', 'batch_sampler': 'torch.utils.data.sampler.BatchSampler'}
|
92 |
-
```
|
93 |
-
|
94 |
-
**Loss**:
|
95 |
-
|
96 |
-
`sentence_transformers.losses.CosineSimilarityLoss.CosineSimilarityLoss`
|
97 |
-
|
98 |
-
Parameters of the fit()-Method:
|
99 |
-
```
|
100 |
-
{
|
101 |
-
"epochs": 4,
|
102 |
-
"evaluation_steps": 0,
|
103 |
-
"evaluator": "sentence_transformers.evaluation.EmbeddingSimilarityEvaluator.EmbeddingSimilarityEvaluator",
|
104 |
-
"max_grad_norm": 1,
|
105 |
-
"optimizer_class": "<class 'torch.optim.adamw.AdamW'>",
|
106 |
-
"optimizer_params": {
|
107 |
-
"lr": 2e-05
|
108 |
-
},
|
109 |
-
"scheduler": "WarmupLinear",
|
110 |
-
"steps_per_epoch": null,
|
111 |
-
"warmup_steps": 287,
|
112 |
-
"weight_decay": 0.01
|
113 |
-
}
|
114 |
-
```
|
115 |
-
|
116 |
-
|
117 |
-
## Full Model Architecture
|
118 |
-
```
|
119 |
-
SentenceTransformer(
|
120 |
-
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
|
121 |
-
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
|
122 |
-
)
|
123 |
-
```
|
124 |
-
|
125 |
-
## Citing & Authors
|
126 |
-
|
127 |
-
<!--- Describe where people can find more information -->
|
|
|
9 |
- ml
|
10 |
---
|
11 |
|
12 |
+
# MalayalamSBERT-STS
|
13 |
|
14 |
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.
|
15 |
|
16 |
+
```
|
17 |
+
@article{joshi2022l3cubemahasbert,
|
18 |
+
title={L3Cube-MahaSBERT and HindSBERT: Sentence BERT Models and Benchmarking BERT Sentence Representations for Hindi and Marathi},
|
19 |
+
author={Joshi, Ananya and Kajale, Aditi and Gadre, Janhavi and Deode, Samruddhi and Joshi, Raviraj},
|
20 |
+
journal={arXiv preprint arXiv:2211.11187},
|
21 |
+
year={2022}
|
22 |
+
}
|
23 |
+
```
|
24 |
|
25 |
## Usage (Sentence-Transformers)
|
26 |
|
|
|
77 |
|
78 |
print("Sentence embeddings:")
|
79 |
print(sentence_embeddings)
|
80 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|