Add SetFit model
Browse files- .gitattributes +1 -0
- 1_Pooling/config.json +7 -0
- README.md +519 -0
- config.json +29 -0
- config_sentence_transformers.json +7 -0
- config_setfit.json +4 -0
- model.safetensors +3 -0
- model_head.pkl +3 -0
- modules.json +14 -0
- sentence_bert_config.json +4 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +3 -0
- tokenizer_config.json +61 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
1_Pooling/config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"word_embedding_dimension": 768,
|
| 3 |
+
"pooling_mode_cls_token": false,
|
| 4 |
+
"pooling_mode_mean_tokens": true,
|
| 5 |
+
"pooling_mode_max_tokens": false,
|
| 6 |
+
"pooling_mode_mean_sqrt_len_tokens": false
|
| 7 |
+
}
|
README.md
ADDED
|
@@ -0,0 +1,519 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
- accuracy
|
| 12 |
+
widget:
|
| 13 |
+
- text: "This is what happens when you'\x80\x99re a bitch and a cunt. Looks like\
|
| 14 |
+
\ that guy called it correctly. Only a bitch and a cunt would think she could\
|
| 15 |
+
\ lay hands on another with no repercussions. Maybe after that seizure she won'\x80\
|
| 16 |
+
\x99t be as much of a bitchy cunt."
|
| 17 |
+
- text: What if we send every men to mars to start a new life there! They are useless
|
| 18 |
+
here (Of course milk them first to store their juices)
|
| 19 |
+
- text: Honestly, go fuck yourself! bitch!
|
| 20 |
+
- text: Hindus take my ass please
|
| 21 |
+
- text: Im going to choke you with your cross necklace idiotic religious pig
|
| 22 |
+
pipeline_tag: text-classification
|
| 23 |
+
inference: false
|
| 24 |
+
base_model: lighteternal/stsb-xlm-r-greek-transfer
|
| 25 |
+
model-index:
|
| 26 |
+
- name: SetFit with lighteternal/stsb-xlm-r-greek-transfer
|
| 27 |
+
results:
|
| 28 |
+
- task:
|
| 29 |
+
type: text-classification
|
| 30 |
+
name: Text Classification
|
| 31 |
+
dataset:
|
| 32 |
+
name: ethos
|
| 33 |
+
type: ethos
|
| 34 |
+
split: test
|
| 35 |
+
metrics:
|
| 36 |
+
- type: accuracy
|
| 37 |
+
value: 0.208
|
| 38 |
+
name: Accuracy
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
# SetFit with lighteternal/stsb-xlm-r-greek-transfer
|
| 42 |
+
|
| 43 |
+
This is a [SetFit](https://github.com/huggingface/setfit) model trained on the [ethos](https://huggingface.co/datasets/ethos) dataset that can be used for Text Classification. This SetFit model uses [lighteternal/stsb-xlm-r-greek-transfer](https://huggingface.co/lighteternal/stsb-xlm-r-greek-transfer) as the Sentence Transformer embedding model. A ClassifierChain instance is used for classification.
|
| 44 |
+
|
| 45 |
+
The model has been trained using an efficient few-shot learning technique that involves:
|
| 46 |
+
|
| 47 |
+
1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
|
| 48 |
+
2. Training a classification head with features from the fine-tuned Sentence Transformer.
|
| 49 |
+
|
| 50 |
+
## Model Details
|
| 51 |
+
|
| 52 |
+
### Model Description
|
| 53 |
+
- **Model Type:** SetFit
|
| 54 |
+
- **Sentence Transformer body:** [lighteternal/stsb-xlm-r-greek-transfer](https://huggingface.co/lighteternal/stsb-xlm-r-greek-transfer)
|
| 55 |
+
- **Classification head:** a ClassifierChain instance
|
| 56 |
+
- **Maximum Sequence Length:** 400 tokens
|
| 57 |
+
<!-- - **Number of Classes:** Unknown -->
|
| 58 |
+
- **Training Dataset:** [ethos](https://huggingface.co/datasets/ethos)
|
| 59 |
+
<!-- - **Language:** Unknown -->
|
| 60 |
+
<!-- - **License:** Unknown -->
|
| 61 |
+
|
| 62 |
+
### Model Sources
|
| 63 |
+
|
| 64 |
+
- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
|
| 65 |
+
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
|
| 66 |
+
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
| 67 |
+
|
| 68 |
+
## Evaluation
|
| 69 |
+
|
| 70 |
+
### Metrics
|
| 71 |
+
| Label | Accuracy |
|
| 72 |
+
|:--------|:---------|
|
| 73 |
+
| **all** | 0.208 |
|
| 74 |
+
|
| 75 |
+
## Uses
|
| 76 |
+
|
| 77 |
+
### Direct Use for Inference
|
| 78 |
+
|
| 79 |
+
First install the SetFit library:
|
| 80 |
+
|
| 81 |
+
```bash
|
| 82 |
+
pip install setfit
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
Then you can load this model and run inference.
|
| 86 |
+
|
| 87 |
+
```python
|
| 88 |
+
from setfit import SetFitModel
|
| 89 |
+
|
| 90 |
+
# Download from the 🤗 Hub
|
| 91 |
+
model = SetFitModel.from_pretrained("st-karlos-efood/setfit-multilabel-example-classifier-chain")
|
| 92 |
+
# Run inference
|
| 93 |
+
preds = model("Hindus take my ass please")
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
<!--
|
| 97 |
+
### Downstream Use
|
| 98 |
+
|
| 99 |
+
*List how someone could finetune this model on their own dataset.*
|
| 100 |
+
-->
|
| 101 |
+
|
| 102 |
+
<!--
|
| 103 |
+
### Out-of-Scope Use
|
| 104 |
+
|
| 105 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
| 106 |
+
-->
|
| 107 |
+
|
| 108 |
+
<!--
|
| 109 |
+
## Bias, Risks and Limitations
|
| 110 |
+
|
| 111 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
| 112 |
+
-->
|
| 113 |
+
|
| 114 |
+
<!--
|
| 115 |
+
### Recommendations
|
| 116 |
+
|
| 117 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
| 118 |
+
-->
|
| 119 |
+
|
| 120 |
+
## Training Details
|
| 121 |
+
|
| 122 |
+
### Training Set Metrics
|
| 123 |
+
| Training set | Min | Median | Max |
|
| 124 |
+
|:-------------|:----|:-------|:----|
|
| 125 |
+
| Word count | 3 | 9.9307 | 61 |
|
| 126 |
+
|
| 127 |
+
### Training Hyperparameters
|
| 128 |
+
- batch_size: (32, 32)
|
| 129 |
+
- num_epochs: (10, 10)
|
| 130 |
+
- max_steps: -1
|
| 131 |
+
- sampling_strategy: oversampling
|
| 132 |
+
- num_iterations: 10
|
| 133 |
+
- body_learning_rate: (2e-05, 2e-05)
|
| 134 |
+
- head_learning_rate: 2e-05
|
| 135 |
+
- loss: CosineSimilarityLoss
|
| 136 |
+
- distance_metric: cosine_distance
|
| 137 |
+
- margin: 0.25
|
| 138 |
+
- end_to_end: False
|
| 139 |
+
- use_amp: False
|
| 140 |
+
- warmup_proportion: 0.1
|
| 141 |
+
- seed: 42
|
| 142 |
+
- eval_max_steps: -1
|
| 143 |
+
- load_best_model_at_end: False
|
| 144 |
+
|
| 145 |
+
### Training Results
|
| 146 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
| 147 |
+
|:------:|:-----:|:-------------:|:---------------:|
|
| 148 |
+
| 0.0006 | 1 | 0.2027 | - |
|
| 149 |
+
| 0.0305 | 50 | 0.2092 | - |
|
| 150 |
+
| 0.0609 | 100 | 0.1605 | - |
|
| 151 |
+
| 0.0914 | 150 | 0.1726 | - |
|
| 152 |
+
| 0.1219 | 200 | 0.1322 | - |
|
| 153 |
+
| 0.1523 | 250 | 0.1252 | - |
|
| 154 |
+
| 0.1828 | 300 | 0.1404 | - |
|
| 155 |
+
| 0.2133 | 350 | 0.0927 | - |
|
| 156 |
+
| 0.2438 | 400 | 0.1039 | - |
|
| 157 |
+
| 0.2742 | 450 | 0.0904 | - |
|
| 158 |
+
| 0.3047 | 500 | 0.1194 | - |
|
| 159 |
+
| 0.3352 | 550 | 0.1024 | - |
|
| 160 |
+
| 0.3656 | 600 | 0.151 | - |
|
| 161 |
+
| 0.3961 | 650 | 0.0842 | - |
|
| 162 |
+
| 0.4266 | 700 | 0.1158 | - |
|
| 163 |
+
| 0.4570 | 750 | 0.214 | - |
|
| 164 |
+
| 0.4875 | 800 | 0.1167 | - |
|
| 165 |
+
| 0.5180 | 850 | 0.1174 | - |
|
| 166 |
+
| 0.5484 | 900 | 0.1567 | - |
|
| 167 |
+
| 0.5789 | 950 | 0.0726 | - |
|
| 168 |
+
| 0.6094 | 1000 | 0.0741 | - |
|
| 169 |
+
| 0.6399 | 1050 | 0.0841 | - |
|
| 170 |
+
| 0.6703 | 1100 | 0.0606 | - |
|
| 171 |
+
| 0.7008 | 1150 | 0.1005 | - |
|
| 172 |
+
| 0.7313 | 1200 | 0.1236 | - |
|
| 173 |
+
| 0.7617 | 1250 | 0.141 | - |
|
| 174 |
+
| 0.7922 | 1300 | 0.1611 | - |
|
| 175 |
+
| 0.8227 | 1350 | 0.1068 | - |
|
| 176 |
+
| 0.8531 | 1400 | 0.0542 | - |
|
| 177 |
+
| 0.8836 | 1450 | 0.1635 | - |
|
| 178 |
+
| 0.9141 | 1500 | 0.106 | - |
|
| 179 |
+
| 0.9445 | 1550 | 0.0817 | - |
|
| 180 |
+
| 0.9750 | 1600 | 0.1157 | - |
|
| 181 |
+
| 1.0055 | 1650 | 0.1031 | - |
|
| 182 |
+
| 1.0360 | 1700 | 0.0969 | - |
|
| 183 |
+
| 1.0664 | 1750 | 0.0742 | - |
|
| 184 |
+
| 1.0969 | 1800 | 0.0697 | - |
|
| 185 |
+
| 1.1274 | 1850 | 0.1072 | - |
|
| 186 |
+
| 1.1578 | 1900 | 0.0593 | - |
|
| 187 |
+
| 1.1883 | 1950 | 0.1102 | - |
|
| 188 |
+
| 1.2188 | 2000 | 0.1586 | - |
|
| 189 |
+
| 1.2492 | 2050 | 0.1523 | - |
|
| 190 |
+
| 1.2797 | 2100 | 0.0921 | - |
|
| 191 |
+
| 1.3102 | 2150 | 0.0634 | - |
|
| 192 |
+
| 1.3406 | 2200 | 0.073 | - |
|
| 193 |
+
| 1.3711 | 2250 | 0.1131 | - |
|
| 194 |
+
| 1.4016 | 2300 | 0.0493 | - |
|
| 195 |
+
| 1.4321 | 2350 | 0.106 | - |
|
| 196 |
+
| 1.4625 | 2400 | 0.0585 | - |
|
| 197 |
+
| 1.4930 | 2450 | 0.1058 | - |
|
| 198 |
+
| 1.5235 | 2500 | 0.0892 | - |
|
| 199 |
+
| 1.5539 | 2550 | 0.0649 | - |
|
| 200 |
+
| 1.5844 | 2600 | 0.0481 | - |
|
| 201 |
+
| 1.6149 | 2650 | 0.1359 | - |
|
| 202 |
+
| 1.6453 | 2700 | 0.0734 | - |
|
| 203 |
+
| 1.6758 | 2750 | 0.0762 | - |
|
| 204 |
+
| 1.7063 | 2800 | 0.1082 | - |
|
| 205 |
+
| 1.7367 | 2850 | 0.1274 | - |
|
| 206 |
+
| 1.7672 | 2900 | 0.0724 | - |
|
| 207 |
+
| 1.7977 | 2950 | 0.0842 | - |
|
| 208 |
+
| 1.8282 | 3000 | 0.1558 | - |
|
| 209 |
+
| 1.8586 | 3050 | 0.071 | - |
|
| 210 |
+
| 1.8891 | 3100 | 0.1716 | - |
|
| 211 |
+
| 1.9196 | 3150 | 0.1078 | - |
|
| 212 |
+
| 1.9500 | 3200 | 0.1037 | - |
|
| 213 |
+
| 1.9805 | 3250 | 0.0773 | - |
|
| 214 |
+
| 2.0110 | 3300 | 0.0706 | - |
|
| 215 |
+
| 2.0414 | 3350 | 0.1577 | - |
|
| 216 |
+
| 2.0719 | 3400 | 0.0825 | - |
|
| 217 |
+
| 2.1024 | 3450 | 0.1227 | - |
|
| 218 |
+
| 2.1328 | 3500 | 0.1069 | - |
|
| 219 |
+
| 2.1633 | 3550 | 0.1037 | - |
|
| 220 |
+
| 2.1938 | 3600 | 0.0595 | - |
|
| 221 |
+
| 2.2243 | 3650 | 0.0569 | - |
|
| 222 |
+
| 2.2547 | 3700 | 0.0967 | - |
|
| 223 |
+
| 2.2852 | 3750 | 0.0632 | - |
|
| 224 |
+
| 2.3157 | 3800 | 0.1014 | - |
|
| 225 |
+
| 2.3461 | 3850 | 0.0868 | - |
|
| 226 |
+
| 2.3766 | 3900 | 0.0986 | - |
|
| 227 |
+
| 2.4071 | 3950 | 0.0585 | - |
|
| 228 |
+
| 2.4375 | 4000 | 0.063 | - |
|
| 229 |
+
| 2.4680 | 4050 | 0.1124 | - |
|
| 230 |
+
| 2.4985 | 4100 | 0.0444 | - |
|
| 231 |
+
| 2.5289 | 4150 | 0.1547 | - |
|
| 232 |
+
| 2.5594 | 4200 | 0.1087 | - |
|
| 233 |
+
| 2.5899 | 4250 | 0.0946 | - |
|
| 234 |
+
| 2.6204 | 4300 | 0.0261 | - |
|
| 235 |
+
| 2.6508 | 4350 | 0.0414 | - |
|
| 236 |
+
| 2.6813 | 4400 | 0.0715 | - |
|
| 237 |
+
| 2.7118 | 4450 | 0.0831 | - |
|
| 238 |
+
| 2.7422 | 4500 | 0.0779 | - |
|
| 239 |
+
| 2.7727 | 4550 | 0.1049 | - |
|
| 240 |
+
| 2.8032 | 4600 | 0.1224 | - |
|
| 241 |
+
| 2.8336 | 4650 | 0.0926 | - |
|
| 242 |
+
| 2.8641 | 4700 | 0.0745 | - |
|
| 243 |
+
| 2.8946 | 4750 | 0.0642 | - |
|
| 244 |
+
| 2.9250 | 4800 | 0.0536 | - |
|
| 245 |
+
| 2.9555 | 4850 | 0.1296 | - |
|
| 246 |
+
| 2.9860 | 4900 | 0.0596 | - |
|
| 247 |
+
| 3.0165 | 4950 | 0.0361 | - |
|
| 248 |
+
| 3.0469 | 5000 | 0.0592 | - |
|
| 249 |
+
| 3.0774 | 5050 | 0.0656 | - |
|
| 250 |
+
| 3.1079 | 5100 | 0.0584 | - |
|
| 251 |
+
| 3.1383 | 5150 | 0.0729 | - |
|
| 252 |
+
| 3.1688 | 5200 | 0.1037 | - |
|
| 253 |
+
| 3.1993 | 5250 | 0.0685 | - |
|
| 254 |
+
| 3.2297 | 5300 | 0.0511 | - |
|
| 255 |
+
| 3.2602 | 5350 | 0.0427 | - |
|
| 256 |
+
| 3.2907 | 5400 | 0.1067 | - |
|
| 257 |
+
| 3.3211 | 5450 | 0.0807 | - |
|
| 258 |
+
| 3.3516 | 5500 | 0.0815 | - |
|
| 259 |
+
| 3.3821 | 5550 | 0.1016 | - |
|
| 260 |
+
| 3.4126 | 5600 | 0.1034 | - |
|
| 261 |
+
| 3.4430 | 5650 | 0.1257 | - |
|
| 262 |
+
| 3.4735 | 5700 | 0.0877 | - |
|
| 263 |
+
| 3.5040 | 5750 | 0.0808 | - |
|
| 264 |
+
| 3.5344 | 5800 | 0.0926 | - |
|
| 265 |
+
| 3.5649 | 5850 | 0.0967 | - |
|
| 266 |
+
| 3.5954 | 5900 | 0.0401 | - |
|
| 267 |
+
| 3.6258 | 5950 | 0.0547 | - |
|
| 268 |
+
| 3.6563 | 6000 | 0.0872 | - |
|
| 269 |
+
| 3.6868 | 6050 | 0.0808 | - |
|
| 270 |
+
| 3.7172 | 6100 | 0.1125 | - |
|
| 271 |
+
| 3.7477 | 6150 | 0.1431 | - |
|
| 272 |
+
| 3.7782 | 6200 | 0.1039 | - |
|
| 273 |
+
| 3.8087 | 6250 | 0.061 | - |
|
| 274 |
+
| 3.8391 | 6300 | 0.1022 | - |
|
| 275 |
+
| 3.8696 | 6350 | 0.0394 | - |
|
| 276 |
+
| 3.9001 | 6400 | 0.0892 | - |
|
| 277 |
+
| 3.9305 | 6450 | 0.0535 | - |
|
| 278 |
+
| 3.9610 | 6500 | 0.0793 | - |
|
| 279 |
+
| 3.9915 | 6550 | 0.0462 | - |
|
| 280 |
+
| 4.0219 | 6600 | 0.0686 | - |
|
| 281 |
+
| 4.0524 | 6650 | 0.0506 | - |
|
| 282 |
+
| 4.0829 | 6700 | 0.1012 | - |
|
| 283 |
+
| 4.1133 | 6750 | 0.0852 | - |
|
| 284 |
+
| 4.1438 | 6800 | 0.0729 | - |
|
| 285 |
+
| 4.1743 | 6850 | 0.1007 | - |
|
| 286 |
+
| 4.2048 | 6900 | 0.0431 | - |
|
| 287 |
+
| 4.2352 | 6950 | 0.0683 | - |
|
| 288 |
+
| 4.2657 | 7000 | 0.0712 | - |
|
| 289 |
+
| 4.2962 | 7050 | 0.0732 | - |
|
| 290 |
+
| 4.3266 | 7100 | 0.0374 | - |
|
| 291 |
+
| 4.3571 | 7150 | 0.1015 | - |
|
| 292 |
+
| 4.3876 | 7200 | 0.15 | - |
|
| 293 |
+
| 4.4180 | 7250 | 0.0852 | - |
|
| 294 |
+
| 4.4485 | 7300 | 0.0714 | - |
|
| 295 |
+
| 4.4790 | 7350 | 0.0587 | - |
|
| 296 |
+
| 4.5094 | 7400 | 0.1335 | - |
|
| 297 |
+
| 4.5399 | 7450 | 0.1123 | - |
|
| 298 |
+
| 4.5704 | 7500 | 0.0538 | - |
|
| 299 |
+
| 4.6009 | 7550 | 0.0989 | - |
|
| 300 |
+
| 4.6313 | 7600 | 0.0878 | - |
|
| 301 |
+
| 4.6618 | 7650 | 0.0963 | - |
|
| 302 |
+
| 4.6923 | 7700 | 0.0991 | - |
|
| 303 |
+
| 4.7227 | 7750 | 0.0776 | - |
|
| 304 |
+
| 4.7532 | 7800 | 0.0663 | - |
|
| 305 |
+
| 4.7837 | 7850 | 0.0696 | - |
|
| 306 |
+
| 4.8141 | 7900 | 0.0704 | - |
|
| 307 |
+
| 4.8446 | 7950 | 0.0626 | - |
|
| 308 |
+
| 4.8751 | 8000 | 0.0657 | - |
|
| 309 |
+
| 4.9055 | 8050 | 0.0567 | - |
|
| 310 |
+
| 4.9360 | 8100 | 0.0619 | - |
|
| 311 |
+
| 4.9665 | 8150 | 0.0792 | - |
|
| 312 |
+
| 4.9970 | 8200 | 0.0671 | - |
|
| 313 |
+
| 5.0274 | 8250 | 0.1068 | - |
|
| 314 |
+
| 5.0579 | 8300 | 0.1111 | - |
|
| 315 |
+
| 5.0884 | 8350 | 0.0968 | - |
|
| 316 |
+
| 5.1188 | 8400 | 0.0577 | - |
|
| 317 |
+
| 5.1493 | 8450 | 0.0934 | - |
|
| 318 |
+
| 5.1798 | 8500 | 0.0854 | - |
|
| 319 |
+
| 5.2102 | 8550 | 0.0587 | - |
|
| 320 |
+
| 5.2407 | 8600 | 0.048 | - |
|
| 321 |
+
| 5.2712 | 8650 | 0.0829 | - |
|
| 322 |
+
| 5.3016 | 8700 | 0.0985 | - |
|
| 323 |
+
| 5.3321 | 8750 | 0.107 | - |
|
| 324 |
+
| 5.3626 | 8800 | 0.0662 | - |
|
| 325 |
+
| 5.3931 | 8850 | 0.0799 | - |
|
| 326 |
+
| 5.4235 | 8900 | 0.0948 | - |
|
| 327 |
+
| 5.4540 | 8950 | 0.087 | - |
|
| 328 |
+
| 5.4845 | 9000 | 0.0429 | - |
|
| 329 |
+
| 5.5149 | 9050 | 0.0699 | - |
|
| 330 |
+
| 5.5454 | 9100 | 0.0911 | - |
|
| 331 |
+
| 5.5759 | 9150 | 0.1268 | - |
|
| 332 |
+
| 5.6063 | 9200 | 0.1042 | - |
|
| 333 |
+
| 5.6368 | 9250 | 0.0642 | - |
|
| 334 |
+
| 5.6673 | 9300 | 0.0736 | - |
|
| 335 |
+
| 5.6977 | 9350 | 0.0329 | - |
|
| 336 |
+
| 5.7282 | 9400 | 0.126 | - |
|
| 337 |
+
| 5.7587 | 9450 | 0.0991 | - |
|
| 338 |
+
| 5.7892 | 9500 | 0.1038 | - |
|
| 339 |
+
| 5.8196 | 9550 | 0.0842 | - |
|
| 340 |
+
| 5.8501 | 9600 | 0.0623 | - |
|
| 341 |
+
| 5.8806 | 9650 | 0.0642 | - |
|
| 342 |
+
| 5.9110 | 9700 | 0.0902 | - |
|
| 343 |
+
| 5.9415 | 9750 | 0.0994 | - |
|
| 344 |
+
| 5.9720 | 9800 | 0.0685 | - |
|
| 345 |
+
| 6.0024 | 9850 | 0.0573 | - |
|
| 346 |
+
| 6.0329 | 9900 | 0.0537 | - |
|
| 347 |
+
| 6.0634 | 9950 | 0.0478 | - |
|
| 348 |
+
| 6.0938 | 10000 | 0.0513 | - |
|
| 349 |
+
| 6.1243 | 10050 | 0.0529 | - |
|
| 350 |
+
| 6.1548 | 10100 | 0.095 | - |
|
| 351 |
+
| 6.1853 | 10150 | 0.0578 | - |
|
| 352 |
+
| 6.2157 | 10200 | 0.0918 | - |
|
| 353 |
+
| 6.2462 | 10250 | 0.0594 | - |
|
| 354 |
+
| 6.2767 | 10300 | 0.1015 | - |
|
| 355 |
+
| 6.3071 | 10350 | 0.036 | - |
|
| 356 |
+
| 6.3376 | 10400 | 0.0524 | - |
|
| 357 |
+
| 6.3681 | 10450 | 0.0927 | - |
|
| 358 |
+
| 6.3985 | 10500 | 0.0934 | - |
|
| 359 |
+
| 6.4290 | 10550 | 0.0788 | - |
|
| 360 |
+
| 6.4595 | 10600 | 0.0842 | - |
|
| 361 |
+
| 6.4899 | 10650 | 0.0703 | - |
|
| 362 |
+
| 6.5204 | 10700 | 0.0684 | - |
|
| 363 |
+
| 6.5509 | 10750 | 0.0759 | - |
|
| 364 |
+
| 6.5814 | 10800 | 0.0271 | - |
|
| 365 |
+
| 6.6118 | 10850 | 0.0391 | - |
|
| 366 |
+
| 6.6423 | 10900 | 0.0895 | - |
|
| 367 |
+
| 6.6728 | 10950 | 0.054 | - |
|
| 368 |
+
| 6.7032 | 11000 | 0.0987 | - |
|
| 369 |
+
| 6.7337 | 11050 | 0.0577 | - |
|
| 370 |
+
| 6.7642 | 11100 | 0.0822 | - |
|
| 371 |
+
| 6.7946 | 11150 | 0.0986 | - |
|
| 372 |
+
| 6.8251 | 11200 | 0.0423 | - |
|
| 373 |
+
| 6.8556 | 11250 | 0.0672 | - |
|
| 374 |
+
| 6.8860 | 11300 | 0.0747 | - |
|
| 375 |
+
| 6.9165 | 11350 | 0.0873 | - |
|
| 376 |
+
| 6.9470 | 11400 | 0.106 | - |
|
| 377 |
+
| 6.9775 | 11450 | 0.0975 | - |
|
| 378 |
+
| 7.0079 | 11500 | 0.0957 | - |
|
| 379 |
+
| 7.0384 | 11550 | 0.0487 | - |
|
| 380 |
+
| 7.0689 | 11600 | 0.0698 | - |
|
| 381 |
+
| 7.0993 | 11650 | 0.0317 | - |
|
| 382 |
+
| 7.1298 | 11700 | 0.0732 | - |
|
| 383 |
+
| 7.1603 | 11750 | 0.1114 | - |
|
| 384 |
+
| 7.1907 | 11800 | 0.0689 | - |
|
| 385 |
+
| 7.2212 | 11850 | 0.1211 | - |
|
| 386 |
+
| 7.2517 | 11900 | 0.0753 | - |
|
| 387 |
+
| 7.2821 | 11950 | 0.062 | - |
|
| 388 |
+
| 7.3126 | 12000 | 0.075 | - |
|
| 389 |
+
| 7.3431 | 12050 | 0.0494 | - |
|
| 390 |
+
| 7.3736 | 12100 | 0.0724 | - |
|
| 391 |
+
| 7.4040 | 12150 | 0.0605 | - |
|
| 392 |
+
| 7.4345 | 12200 | 0.0508 | - |
|
| 393 |
+
| 7.4650 | 12250 | 0.0828 | - |
|
| 394 |
+
| 7.4954 | 12300 | 0.0512 | - |
|
| 395 |
+
| 7.5259 | 12350 | 0.1291 | - |
|
| 396 |
+
| 7.5564 | 12400 | 0.0459 | - |
|
| 397 |
+
| 7.5868 | 12450 | 0.0869 | - |
|
| 398 |
+
| 7.6173 | 12500 | 0.0379 | - |
|
| 399 |
+
| 7.6478 | 12550 | 0.1878 | - |
|
| 400 |
+
| 7.6782 | 12600 | 0.0824 | - |
|
| 401 |
+
| 7.7087 | 12650 | 0.0945 | - |
|
| 402 |
+
| 7.7392 | 12700 | 0.0763 | - |
|
| 403 |
+
| 7.7697 | 12750 | 0.0602 | - |
|
| 404 |
+
| 7.8001 | 12800 | 0.0342 | - |
|
| 405 |
+
| 7.8306 | 12850 | 0.0746 | - |
|
| 406 |
+
| 7.8611 | 12900 | 0.065 | - |
|
| 407 |
+
| 7.8915 | 12950 | 0.0749 | - |
|
| 408 |
+
| 7.9220 | 13000 | 0.0618 | - |
|
| 409 |
+
| 7.9525 | 13050 | 0.0567 | - |
|
| 410 |
+
| 7.9829 | 13100 | 0.069 | - |
|
| 411 |
+
| 8.0134 | 13150 | 0.0487 | - |
|
| 412 |
+
| 8.0439 | 13200 | 0.0578 | - |
|
| 413 |
+
| 8.0743 | 13250 | 0.0876 | - |
|
| 414 |
+
| 8.1048 | 13300 | 0.0942 | - |
|
| 415 |
+
| 8.1353 | 13350 | 0.0774 | - |
|
| 416 |
+
| 8.1658 | 13400 | 0.0557 | - |
|
| 417 |
+
| 8.1962 | 13450 | 0.0872 | - |
|
| 418 |
+
| 8.2267 | 13500 | 0.0652 | - |
|
| 419 |
+
| 8.2572 | 13550 | 0.088 | - |
|
| 420 |
+
| 8.2876 | 13600 | 0.05 | - |
|
| 421 |
+
| 8.3181 | 13650 | 0.0572 | - |
|
| 422 |
+
| 8.3486 | 13700 | 0.053 | - |
|
| 423 |
+
| 8.3790 | 13750 | 0.0745 | - |
|
| 424 |
+
| 8.4095 | 13800 | 0.1119 | - |
|
| 425 |
+
| 8.4400 | 13850 | 0.0909 | - |
|
| 426 |
+
| 8.4704 | 13900 | 0.0374 | - |
|
| 427 |
+
| 8.5009 | 13950 | 0.0515 | - |
|
| 428 |
+
| 8.5314 | 14000 | 0.0827 | - |
|
| 429 |
+
| 8.5619 | 14050 | 0.0925 | - |
|
| 430 |
+
| 8.5923 | 14100 | 0.0793 | - |
|
| 431 |
+
| 8.6228 | 14150 | 0.1123 | - |
|
| 432 |
+
| 8.6533 | 14200 | 0.0387 | - |
|
| 433 |
+
| 8.6837 | 14250 | 0.0898 | - |
|
| 434 |
+
| 8.7142 | 14300 | 0.0627 | - |
|
| 435 |
+
| 8.7447 | 14350 | 0.0863 | - |
|
| 436 |
+
| 8.7751 | 14400 | 0.1257 | - |
|
| 437 |
+
| 8.8056 | 14450 | 0.0553 | - |
|
| 438 |
+
| 8.8361 | 14500 | 0.0664 | - |
|
| 439 |
+
| 8.8665 | 14550 | 0.0641 | - |
|
| 440 |
+
| 8.8970 | 14600 | 0.0577 | - |
|
| 441 |
+
| 8.9275 | 14650 | 0.0672 | - |
|
| 442 |
+
| 8.9580 | 14700 | 0.0776 | - |
|
| 443 |
+
| 8.9884 | 14750 | 0.0951 | - |
|
| 444 |
+
| 9.0189 | 14800 | 0.0721 | - |
|
| 445 |
+
| 9.0494 | 14850 | 0.0609 | - |
|
| 446 |
+
| 9.0798 | 14900 | 0.0821 | - |
|
| 447 |
+
| 9.1103 | 14950 | 0.0477 | - |
|
| 448 |
+
| 9.1408 | 15000 | 0.0974 | - |
|
| 449 |
+
| 9.1712 | 15050 | 0.0534 | - |
|
| 450 |
+
| 9.2017 | 15100 | 0.0673 | - |
|
| 451 |
+
| 9.2322 | 15150 | 0.0549 | - |
|
| 452 |
+
| 9.2626 | 15200 | 0.0833 | - |
|
| 453 |
+
| 9.2931 | 15250 | 0.0957 | - |
|
| 454 |
+
| 9.3236 | 15300 | 0.0601 | - |
|
| 455 |
+
| 9.3541 | 15350 | 0.0702 | - |
|
| 456 |
+
| 9.3845 | 15400 | 0.0852 | - |
|
| 457 |
+
| 9.4150 | 15450 | 0.0576 | - |
|
| 458 |
+
| 9.4455 | 15500 | 0.1006 | - |
|
| 459 |
+
| 9.4759 | 15550 | 0.0697 | - |
|
| 460 |
+
| 9.5064 | 15600 | 0.0778 | - |
|
| 461 |
+
| 9.5369 | 15650 | 0.0778 | - |
|
| 462 |
+
| 9.5673 | 15700 | 0.0844 | - |
|
| 463 |
+
| 9.5978 | 15750 | 0.0724 | - |
|
| 464 |
+
| 9.6283 | 15800 | 0.0988 | - |
|
| 465 |
+
| 9.6587 | 15850 | 0.0699 | - |
|
| 466 |
+
| 9.6892 | 15900 | 0.0772 | - |
|
| 467 |
+
| 9.7197 | 15950 | 0.0757 | - |
|
| 468 |
+
| 9.7502 | 16000 | 0.0671 | - |
|
| 469 |
+
| 9.7806 | 16050 | 0.1057 | - |
|
| 470 |
+
| 9.8111 | 16100 | 0.075 | - |
|
| 471 |
+
| 9.8416 | 16150 | 0.0475 | - |
|
| 472 |
+
| 9.8720 | 16200 | 0.0572 | - |
|
| 473 |
+
| 9.9025 | 16250 | 0.1176 | - |
|
| 474 |
+
| 9.9330 | 16300 | 0.0552 | - |
|
| 475 |
+
| 9.9634 | 16350 | 0.1032 | - |
|
| 476 |
+
| 9.9939 | 16400 | 0.0935 | - |
|
| 477 |
+
|
| 478 |
+
### Framework Versions
|
| 479 |
+
- Python: 3.10.12
|
| 480 |
+
- SetFit: 1.0.3
|
| 481 |
+
- Sentence Transformers: 2.2.2
|
| 482 |
+
- Transformers: 4.35.2
|
| 483 |
+
- PyTorch: 2.1.0+cu121
|
| 484 |
+
- Datasets: 2.16.1
|
| 485 |
+
- Tokenizers: 0.15.0
|
| 486 |
+
|
| 487 |
+
## Citation
|
| 488 |
+
|
| 489 |
+
### BibTeX
|
| 490 |
+
```bibtex
|
| 491 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
| 492 |
+
doi = {10.48550/ARXIV.2209.11055},
|
| 493 |
+
url = {https://arxiv.org/abs/2209.11055},
|
| 494 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
| 495 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
| 496 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
| 497 |
+
publisher = {arXiv},
|
| 498 |
+
year = {2022},
|
| 499 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
| 500 |
+
}
|
| 501 |
+
```
|
| 502 |
+
|
| 503 |
+
<!--
|
| 504 |
+
## Glossary
|
| 505 |
+
|
| 506 |
+
*Clearly define terms in order to be accessible across audiences.*
|
| 507 |
+
-->
|
| 508 |
+
|
| 509 |
+
<!--
|
| 510 |
+
## Model Card Authors
|
| 511 |
+
|
| 512 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
| 513 |
+
-->
|
| 514 |
+
|
| 515 |
+
<!--
|
| 516 |
+
## Model Card Contact
|
| 517 |
+
|
| 518 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 519 |
+
-->
|
config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/root/.cache/torch/sentence_transformers/lighteternal_stsb-xlm-r-greek-transfer/",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"XLMRobertaModel"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"gradient_checkpointing": false,
|
| 11 |
+
"hidden_act": "gelu",
|
| 12 |
+
"hidden_dropout_prob": 0.1,
|
| 13 |
+
"hidden_size": 768,
|
| 14 |
+
"initializer_range": 0.02,
|
| 15 |
+
"intermediate_size": 3072,
|
| 16 |
+
"layer_norm_eps": 1e-05,
|
| 17 |
+
"max_position_embeddings": 514,
|
| 18 |
+
"model_type": "xlm-roberta",
|
| 19 |
+
"num_attention_heads": 12,
|
| 20 |
+
"num_hidden_layers": 12,
|
| 21 |
+
"output_past": true,
|
| 22 |
+
"pad_token_id": 1,
|
| 23 |
+
"position_embedding_type": "absolute",
|
| 24 |
+
"torch_dtype": "float32",
|
| 25 |
+
"transformers_version": "4.35.2",
|
| 26 |
+
"type_vocab_size": 1,
|
| 27 |
+
"use_cache": true,
|
| 28 |
+
"vocab_size": 250002
|
| 29 |
+
}
|
config_sentence_transformers.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"__version__": {
|
| 3 |
+
"sentence_transformers": "2.0.0",
|
| 4 |
+
"transformers": "4.10.0",
|
| 5 |
+
"pytorch": "1.7.1"
|
| 6 |
+
}
|
| 7 |
+
}
|
config_setfit.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"labels": null,
|
| 3 |
+
"normalize_embeddings": false
|
| 4 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e440650f7b0c6185bcfa616a249a0cb4e050e97124af3326a9ac68b1027bb40
|
| 3 |
+
size 1112197096
|
model_head.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b39dd6af89d24b1bc8bfd91b073ed2b56309a88bba4c86058884ec7f505df7f
|
| 3 |
+
size 1987809
|
modules.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"idx": 0,
|
| 4 |
+
"name": "0",
|
| 5 |
+
"path": "",
|
| 6 |
+
"type": "sentence_transformers.models.Transformer"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"idx": 1,
|
| 10 |
+
"name": "1",
|
| 11 |
+
"path": "1_Pooling",
|
| 12 |
+
"type": "sentence_transformers.models.Pooling"
|
| 13 |
+
}
|
| 14 |
+
]
|
sentence_bert_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_seq_length": 400,
|
| 3 |
+
"do_lower_case": false
|
| 4 |
+
}
|
sentencepiece.bpe.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
| 3 |
+
size 5069051
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"cls_token": "<s>",
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"mask_token": {
|
| 6 |
+
"content": "<mask>",
|
| 7 |
+
"lstrip": true,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false
|
| 11 |
+
},
|
| 12 |
+
"pad_token": "<pad>",
|
| 13 |
+
"sep_token": "</s>",
|
| 14 |
+
"unk_token": "<unk>"
|
| 15 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b71f1d376a0a8c293a4ac7f890ff2fb81845ec785fc0e150e82be5559dadb2c
|
| 3 |
+
size 17083009
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "<s>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "<pad>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "</s>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"3": {
|
| 28 |
+
"content": "<unk>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"250001": {
|
| 36 |
+
"content": "<mask>",
|
| 37 |
+
"lstrip": true,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"bos_token": "<s>",
|
| 45 |
+
"clean_up_tokenization_spaces": true,
|
| 46 |
+
"cls_token": "<s>",
|
| 47 |
+
"eos_token": "</s>",
|
| 48 |
+
"mask_token": "<mask>",
|
| 49 |
+
"max_length": 400,
|
| 50 |
+
"model_max_length": 512,
|
| 51 |
+
"pad_to_multiple_of": null,
|
| 52 |
+
"pad_token": "<pad>",
|
| 53 |
+
"pad_token_type_id": 0,
|
| 54 |
+
"padding_side": "right",
|
| 55 |
+
"sep_token": "</s>",
|
| 56 |
+
"stride": 0,
|
| 57 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
| 58 |
+
"truncation_side": "right",
|
| 59 |
+
"truncation_strategy": "longest_first",
|
| 60 |
+
"unk_token": "<unk>"
|
| 61 |
+
}
|