Ahmet commited on
Commit
88b74f4
1 Parent(s): e8f6c47

update model

Browse files
Files changed (3) hide show
  1. README.md +13 -7
  2. config.json +1 -1
  3. pytorch_model.bin +1 -1
README.md CHANGED
@@ -21,6 +21,12 @@ This model was adapted from [ytu-ce-cosmos/turkish-small-bert-uncased](https://h
21
  - [nli_tr](https://huggingface.co/datasets/nli_tr)
22
  - [emrecan/stsb-mt-turkish](https://huggingface.co/datasets/emrecan/stsb-mt-turkish)
23
 
 
 
 
 
 
 
24
  ## Usage (Sentence-Transformers)
25
 
26
  Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
@@ -85,10 +91,10 @@ print(sentence_embeddings)
85
  Achieved results on the [STS-b](https://huggingface.co/datasets/emrecan/stsb-mt-turkish) test split are given below:
86
 
87
  ```txt
88
- Cosine-Similarity : Pearson: 0.7387 Spearman: 0.7244
89
- Manhattan-Distance: Pearson: 0.7118 Spearman: 0.7156
90
- Euclidean-Distance: Pearson: 0.7119 Spearman: 0.7155
91
- Dot-Product-Similarity: Pearson: 0.7164 Spearman: 0.7081
92
  ```
93
 
94
  ## Training
@@ -108,8 +114,8 @@ The model was trained with the parameters:
108
  Parameters of the fit()-Method:
109
  ```
110
  {
111
- "epochs": 5,
112
- "evaluation_steps": 45,
113
  "evaluator": "sentence_transformers.evaluation.EmbeddingSimilarityEvaluator.EmbeddingSimilarityEvaluator",
114
  "max_grad_norm": 1,
115
  "optimizer_class": "<class 'torch.optim.adamw.AdamW'>",
@@ -118,7 +124,7 @@ Parameters of the fit()-Method:
118
  },
119
  "scheduler": "WarmupLinear",
120
  "steps_per_epoch": null,
121
- "warmup_steps": 45,
122
  "weight_decay": 0.01
123
  }
124
  ```
 
21
  - [nli_tr](https://huggingface.co/datasets/nli_tr)
22
  - [emrecan/stsb-mt-turkish](https://huggingface.co/datasets/emrecan/stsb-mt-turkish)
23
 
24
+ :warning: **All texts were manually lowercased,** [as stated](https://huggingface.co/ytu-ce-cosmos/turkish-small-bert-uncased#%E2%9A%A0-uncased-use-requires-manual-lowercase-conversion) by the model's authors:
25
+
26
+ ```python
27
+ text.replace("I", "ı").lower()
28
+ ```
29
+
30
  ## Usage (Sentence-Transformers)
31
 
32
  Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
 
91
  Achieved results on the [STS-b](https://huggingface.co/datasets/emrecan/stsb-mt-turkish) test split are given below:
92
 
93
  ```txt
94
+ Cosine-Similarity : Pearson: 0.8227 Spearman: 0.8192
95
+ Manhattan-Distance: Pearson: 0.8105 Spearman: 0.8079
96
+ Euclidean-Distance: Pearson: 0.8110 Spearman: 0.8087
97
+ Dot-Product-Similarity: Pearson: 0.7908 Spearman: 0.7827
98
  ```
99
 
100
  ## Training
 
114
  Parameters of the fit()-Method:
115
  ```
116
  {
117
+ "epochs": 4,
118
+ "evaluation_steps": 9,
119
  "evaluator": "sentence_transformers.evaluation.EmbeddingSimilarityEvaluator.EmbeddingSimilarityEvaluator",
120
  "max_grad_norm": 1,
121
  "optimizer_class": "<class 'torch.optim.adamw.AdamW'>",
 
124
  },
125
  "scheduler": "WarmupLinear",
126
  "steps_per_epoch": null,
127
+ "warmup_steps": 36,
128
  "weight_decay": 0.01
129
  }
130
  ```
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "e5_b64_turkish_small_bert_uncased-mean-nli/",
3
  "architectures": [
4
  "BertModel"
5
  ],
 
1
  {
2
+ "_name_or_path": "output/ytu_ce_cosmos-turkish_small_bert_uncased-b64-e4-nli/",
3
  "architectures": [
4
  "BertModel"
5
  ],
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f74195b8a9669f7049a5ebf54d48133741be60ce00ceb478e8a08728bb735530
3
  size 118109958
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9aae58e89afd0e0e65e353ad8c7c8e03b96b09ed7cb77e974fbd87b4414774c
3
  size 118109958