yemen2016 commited on
Commit
4233714
1 Parent(s): 4b9ff6c

End of training

Browse files
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: KennethEnevoldsen/dfm-sentence-encoder-large-exp2-no-lang-align
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: dfm1
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # dfm1
20
+
21
+ This model is a fine-tuned version of [KennethEnevoldsen/dfm-sentence-encoder-large-exp2-no-lang-align](https://huggingface.co/KennethEnevoldsen/dfm-sentence-encoder-large-exp2-no-lang-align) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Accuracy: 0.8868
24
+ - Precision: 0.8861
25
+ - Recall: 0.8868
26
+ - F1: 0.8855
27
+ - Loss: 0.5432
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 5e-05
47
+ - train_batch_size: 4
48
+ - eval_batch_size: 4
49
+ - seed: 42
50
+ - gradient_accumulation_steps: 2
51
+ - total_train_batch_size: 8
52
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
+ - lr_scheduler_type: linear
54
+ - num_epochs: 20
55
+ - mixed_precision_training: Native AMP
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Accuracy | Precision | Recall | F1 | Validation Loss |
60
+ |:-------------:|:-------:|:----:|:--------:|:---------:|:------:|:------:|:---------------:|
61
+ | No log | 0.9412 | 8 | 0.7844 | 0.7464 | 0.7844 | 0.7612 | 0.7436 |
62
+ | No log | 2.0 | 17 | 0.8999 | 0.8922 | 0.8999 | 0.8914 | 0.3252 |
63
+ | No log | 2.9412 | 25 | 0.9214 | 0.9226 | 0.9214 | 0.9121 | 0.3213 |
64
+ | No log | 4.0 | 34 | 0.9164 | 0.9235 | 0.9164 | 0.9176 | 0.3572 |
65
+ | No log | 4.9412 | 42 | 0.8880 | 0.8875 | 0.8880 | 0.8857 | 0.3576 |
66
+ | No log | 6.0 | 51 | 0.8907 | 0.8894 | 0.8907 | 0.8898 | 0.3993 |
67
+ | No log | 6.9412 | 59 | 0.8822 | 0.8822 | 0.8822 | 0.8806 | 0.4444 |
68
+ | No log | 8.0 | 68 | 0.8876 | 0.8867 | 0.8876 | 0.8865 | 0.4480 |
69
+ | No log | 8.9412 | 76 | 0.8987 | 0.8978 | 0.8987 | 0.8979 | 0.4688 |
70
+ | No log | 10.0 | 85 | 0.8984 | 0.8972 | 0.8984 | 0.8975 | 0.4845 |
71
+ | No log | 10.9412 | 93 | 0.8895 | 0.8887 | 0.8895 | 0.8884 | 0.5172 |
72
+ | No log | 12.0 | 102 | 0.8891 | 0.8882 | 0.8891 | 0.8881 | 0.5349 |
73
+ | No log | 12.9412 | 110 | 0.8907 | 0.8897 | 0.8907 | 0.8896 | 0.5343 |
74
+ | No log | 14.0 | 119 | 0.8895 | 0.8886 | 0.8895 | 0.8884 | 0.5374 |
75
+ | No log | 14.9412 | 127 | 0.8868 | 0.8861 | 0.8868 | 0.8855 | 0.5317 |
76
+ | No log | 16.0 | 136 | 0.8853 | 0.8847 | 0.8853 | 0.8839 | 0.5383 |
77
+ | No log | 16.9412 | 144 | 0.8853 | 0.8847 | 0.8853 | 0.8839 | 0.5402 |
78
+ | No log | 18.0 | 153 | 0.8865 | 0.8858 | 0.8865 | 0.8851 | 0.5429 |
79
+ | No log | 18.8235 | 160 | 0.8868 | 0.8861 | 0.8868 | 0.8855 | 0.5432 |
80
+
81
+
82
+ ### Framework versions
83
+
84
+ - Transformers 4.44.2
85
+ - Pytorch 2.5.0+cu121
86
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "KennethEnevoldsen/dfm-sentence-encoder-large-exp2-no-lang-align",
3
+ "architectures": [
4
+ "BertForTokenClassification"
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": 1024,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3",
17
+ "4": "LABEL_4"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 4096,
21
+ "label2id": {
22
+ "LABEL_0": 0,
23
+ "LABEL_1": 1,
24
+ "LABEL_2": 2,
25
+ "LABEL_3": 3,
26
+ "LABEL_4": 4
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "max_position_embeddings": 512,
30
+ "model_type": "bert",
31
+ "num_attention_heads": 16,
32
+ "num_hidden_layers": 24,
33
+ "pad_token_id": 0,
34
+ "position_embedding_type": "absolute",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.44.2",
37
+ "type_vocab_size": 2,
38
+ "use_cache": true,
39
+ "vocab_size": 50000
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04e4b69004af1123efca6cde5fd5665d1ecb4afc9d92ea7a15603cf6c13599a9
3
+ size 1416218404
runs/Oct24_09-52-01_55f39f7a0968/events.out.tfevents.1729763524.55f39f7a0968.571.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:945238118f5fa887f06d8c14f2570bd9ab1891af0c690ae1de19ebe33ad3584d
3
+ size 14515
runs/Oct24_09-52-01_55f39f7a0968/events.out.tfevents.1729763719.55f39f7a0968.571.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aea21dc5e7145b22456359d3e0944a91ff3d1f9fe2bbead45f7aa3c7d91785b4
3
+ size 560
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20e37548f1bed2c12a9f4882eb0a54e885f75ec4ad6d459fbfa3a5b81bb71371
3
+ size 5304