minoosh commited on
Commit
ca2a9f7
·
verified ·
1 Parent(s): f540d87

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-mae
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-mae
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.2200
20
+ - Mse: 0.0781
21
+ - Mae: 0.2200
22
+ - Pearson Corr: 0.3461
23
+ - Spearman Corr: 0.3129
24
+ - Cosine Sim: 0.9050
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.2886 | 1.0 | 41 | 0.2213 | 0.0742 | 0.2213 | 0.0650 | 0.0604 | 0.9037 |
57
+ | 0.2582 | 2.0 | 82 | 0.2223 | 0.0714 | 0.2223 | 0.1319 | 0.1417 | 0.9052 |
58
+ | 0.2615 | 3.0 | 123 | 0.2094 | 0.0670 | 0.2094 | 0.2859 | 0.2753 | 0.9113 |
59
+ | 0.2247 | 4.0 | 164 | 0.2152 | 0.0733 | 0.2152 | 0.3126 | 0.2705 | 0.9075 |
60
+ | 0.1942 | 5.0 | 205 | 0.2363 | 0.0890 | 0.2363 | 0.3631 | 0.3424 | 0.9112 |
61
+ | 0.1758 | 6.0 | 246 | 0.2193 | 0.0776 | 0.2193 | 0.3528 | 0.3247 | 0.9106 |
62
+ | 0.166 | 7.0 | 287 | 0.2200 | 0.0781 | 0.2200 | 0.3461 | 0.3129 | 0.9050 |
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:d0615e2cd141571944cc662c55636b9f66c8abef84275047a6f28a182573121f
3
- size 437956772
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57fda18b041648648923fecc75f98e5be4886a92f3b37c97290e1993a95dfd6a
3
+ size 437955572