yemen2016 commited on
Commit
d5d1aee
1 Parent(s): 6337e4d

End of training

Browse files
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: dfm
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
+ # dfm
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.9981
24
+ - Precision: 0.9980
25
+ - Recall: 0.9981
26
+ - F1: 0.9979
27
+ - Loss: 0.0066
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: 10
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.9524 | 10 | 0.9116 | 0.8719 | 0.9116 | 0.8909 | 0.3402 |
62
+ | No log | 2.0 | 21 | 0.9585 | 0.9581 | 0.9585 | 0.9535 | 0.1368 |
63
+ | No log | 2.9524 | 31 | 0.9818 | 0.9806 | 0.9818 | 0.9812 | 0.0664 |
64
+ | No log | 4.0 | 42 | 0.9926 | 0.9912 | 0.9926 | 0.9919 | 0.0286 |
65
+ | No log | 4.9524 | 52 | 0.9947 | 0.9934 | 0.9947 | 0.9940 | 0.0209 |
66
+ | No log | 6.0 | 63 | 0.9953 | 0.9941 | 0.9953 | 0.9946 | 0.0159 |
67
+ | No log | 6.9524 | 73 | 0.9967 | 0.9968 | 0.9967 | 0.9963 | 0.0107 |
68
+ | No log | 8.0 | 84 | 0.9977 | 0.9977 | 0.9977 | 0.9975 | 0.0082 |
69
+ | No log | 8.9524 | 94 | 0.9980 | 0.9979 | 0.9980 | 0.9978 | 0.0067 |
70
+ | No log | 9.5238 | 100 | 0.9981 | 0.9980 | 0.9981 | 0.9979 | 0.0066 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.44.2
76
+ - Pytorch 2.4.1+cu121
77
+ - 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:a902b63b039d601544df14e7502853ceb129d623cad057509d5c1c677366a32d
3
+ size 1416218404
runs/Oct22_19-06-49_babc088be480/events.out.tfevents.1729624010.babc088be480.4217.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e259d56a62b4e761a8169476304d6a5261befd7221bbc3bea90d569d96a61c0d
3
+ size 10303
runs/Oct22_19-06-49_babc088be480/events.out.tfevents.1729624115.babc088be480.4217.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65c2328f48d3e4437b5cd65b95d56716ebe8e39c6fc39070dc384721f44d48e9
3
+ size 551
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b62232183cae99300c88674fb43444c6df48ca32eaf25259a64f8c64f5f693db
3
+ size 5240