minoosh commited on
Commit
996dcbb
·
verified ·
1 Parent(s): f839d0b

Model save

Browse files
Files changed (3) hide show
  1. README.md +70 -0
  2. config.json +32 -0
  3. model.safetensors +2 -2
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: bert-reg-crossencoder-contrastive
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # bert-reg-crossencoder-contrastive
16
+
17
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.0001
20
+ - Mse: 0.2717
21
+ - Mae: 0.4451
22
+ - Pearson Corr: -0.2034
23
+ - Spearman Corr: -0.1953
24
+ - Cosine Sim: 0.9027
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 2e-05
44
+ - train_batch_size: 16
45
+ - eval_batch_size: 16
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_steps: 100
50
+ - num_epochs: 7
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Mse | Mae | Pearson Corr | Spearman Corr | Cosine Sim |
55
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------------:|:-------------:|:----------:|
56
+ | 0.0148 | 1.0 | 41 | 0.0014 | 0.2889 | 0.4614 | -0.1243 | -0.0625 | 0.9003 |
57
+ | 0.0096 | 2.0 | 82 | 0.0074 | 0.3706 | 0.5451 | -0.0433 | -0.0347 | 0.9030 |
58
+ | 0.0059 | 3.0 | 123 | 0.0001 | 0.2549 | 0.4285 | -0.0372 | -0.0585 | 0.9032 |
59
+ | 0.004 | 4.0 | 164 | 0.0023 | 0.3175 | 0.4940 | -0.0783 | -0.0715 | 0.9029 |
60
+ | 0.0026 | 5.0 | 205 | 0.0003 | 0.2770 | 0.4519 | -0.0308 | -0.0070 | 0.9033 |
61
+ | 0.0019 | 6.0 | 246 | 0.0002 | 0.2771 | 0.4512 | -0.1884 | -0.1805 | 0.9028 |
62
+ | 0.0018 | 7.0 | 287 | 0.0001 | 0.2717 | 0.4451 | -0.2034 | -0.1953 | 0.9027 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.44.2
68
+ - Pytorch 2.5.0+cu121
69
+ - Datasets 3.1.0
70
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "LABEL_0"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "LABEL_0": 0
19
+ },
20
+ "layer_norm_eps": 1e-12,
21
+ "max_position_embeddings": 512,
22
+ "model_type": "bert",
23
+ "num_attention_heads": 12,
24
+ "num_hidden_layers": 12,
25
+ "pad_token_id": 0,
26
+ "position_embedding_type": "absolute",
27
+ "torch_dtype": "float32",
28
+ "transformers_version": "4.44.2",
29
+ "type_vocab_size": 2,
30
+ "use_cache": true,
31
+ "vocab_size": 30522
32
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:92103c42d1c2a056fe64a1457e9555035ddbfdf7545a4a61f813542c89498ce9
3
- size 437956772
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8eab9f884a43796e532c2b4ae7c84964270ea0387244ee28514ceed23b9ad2a
3
+ size 437955572