minoosh commited on
Commit
0fe9a3d
·
verified ·
1 Parent(s): 375c5bd

Model save

Browse files
Files changed (3) hide show
  1. README.md +74 -0
  2. config.json +38 -0
  3. model.safetensors +2 -2
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: bert-clf-crossencoder-cross_entropy
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # bert-clf-crossencoder-cross_entropy
21
+
22
+ This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 1.0410
25
+ - Accuracy: 0.6019
26
+ - Precision: 0.6044
27
+ - Recall: 0.6019
28
+ - F1: 0.6029
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 2e-05
48
+ - train_batch_size: 32
49
+ - eval_batch_size: 32
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_steps: 100
54
+ - num_epochs: 7
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
59
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
60
+ | 1.2489 | 1.0 | 78 | 1.2061 | 0.4790 | 0.3740 | 0.4790 | 0.3999 |
61
+ | 1.0356 | 2.0 | 156 | 1.0236 | 0.6019 | 0.6244 | 0.6019 | 0.5841 |
62
+ | 0.8625 | 3.0 | 234 | 0.9983 | 0.6181 | 0.6274 | 0.6181 | 0.6126 |
63
+ | 0.7101 | 4.0 | 312 | 0.9687 | 0.6019 | 0.6004 | 0.6019 | 0.5998 |
64
+ | 0.5945 | 5.0 | 390 | 0.9962 | 0.6181 | 0.6178 | 0.6181 | 0.6157 |
65
+ | 0.4753 | 6.0 | 468 | 1.0245 | 0.6246 | 0.6337 | 0.6246 | 0.6256 |
66
+ | 0.3903 | 7.0 | 546 | 1.0410 | 0.6019 | 0.6044 | 0.6019 | 0.6029 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.45.1
72
+ - Pytorch 2.4.0
73
+ - Datasets 3.0.1
74
+ - Tokenizers 0.20.0
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/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
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2,
24
+ "LABEL_3": 3
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 512,
28
+ "model_type": "bert",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 0,
32
+ "position_embedding_type": "absolute",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.45.1",
35
+ "type_vocab_size": 2,
36
+ "use_cache": true,
37
+ "vocab_size": 30522
38
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:31b6bedf9c559613083e49640d3ffefed7f5ccb016fcc717100657d177834bcd
3
- size 437966000
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e624e51542da6a7b94ab5e95d569bed214481a6d05de0be963473aafa12dffaa
3
+ size 437964800