Training in progress, epoch 2
Browse files- README.md +78 -0
- config.json +27 -0
- model.safetensors +3 -0
- runs/Sep10_12-01-07_0159380eb78d/events.out.tfevents.1725969684.0159380eb78d.1698.4 +3 -0
- runs/Sep10_12-01-07_0159380eb78d/events.out.tfevents.1725971781.0159380eb78d.1698.5 +3 -0
- runs/Sep11_12-23-13_93370bd2ff25/events.out.tfevents.1726057402.93370bd2ff25.1056.0 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: KennethEnevoldsen/dfm-sentence-encoder-large
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: dfm_ED1
|
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 |
+
# dfm_ED1
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [KennethEnevoldsen/dfm-sentence-encoder-large](https://huggingface.co/KennethEnevoldsen/dfm-sentence-encoder-large) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.5402
|
20 |
+
- F1-score: 0.9344
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 5e-05
|
40 |
+
- train_batch_size: 8
|
41 |
+
- eval_batch_size: 8
|
42 |
+
- seed: 42
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- num_epochs: 20
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss | F1-score |
|
50 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
51 |
+
| No log | 1.0 | 69 | 0.3134 | 0.9098 |
|
52 |
+
| No log | 2.0 | 138 | 0.4634 | 0.8843 |
|
53 |
+
| No log | 3.0 | 207 | 0.5135 | 0.9097 |
|
54 |
+
| No log | 4.0 | 276 | 0.4919 | 0.9179 |
|
55 |
+
| No log | 5.0 | 345 | 0.6858 | 0.8768 |
|
56 |
+
| No log | 6.0 | 414 | 0.8026 | 0.8843 |
|
57 |
+
| No log | 7.0 | 483 | 0.5402 | 0.9344 |
|
58 |
+
| 0.156 | 8.0 | 552 | 0.6149 | 0.9180 |
|
59 |
+
| 0.156 | 9.0 | 621 | 0.6310 | 0.9180 |
|
60 |
+
| 0.156 | 10.0 | 690 | 0.6423 | 0.9180 |
|
61 |
+
| 0.156 | 11.0 | 759 | 0.6514 | 0.9180 |
|
62 |
+
| 0.156 | 12.0 | 828 | 0.6594 | 0.9180 |
|
63 |
+
| 0.156 | 13.0 | 897 | 0.6656 | 0.9180 |
|
64 |
+
| 0.156 | 14.0 | 966 | 0.6712 | 0.9180 |
|
65 |
+
| 0.0 | 15.0 | 1035 | 0.6755 | 0.9180 |
|
66 |
+
| 0.0 | 16.0 | 1104 | 0.6792 | 0.9180 |
|
67 |
+
| 0.0 | 17.0 | 1173 | 0.6824 | 0.9180 |
|
68 |
+
| 0.0 | 18.0 | 1242 | 0.6844 | 0.9180 |
|
69 |
+
| 0.0 | 19.0 | 1311 | 0.6856 | 0.9180 |
|
70 |
+
| 0.0 | 20.0 | 1380 | 0.6861 | 0.9180 |
|
71 |
+
|
72 |
+
|
73 |
+
### Framework versions
|
74 |
+
|
75 |
+
- Transformers 4.44.2
|
76 |
+
- Pytorch 2.4.0+cu121
|
77 |
+
- Datasets 2.21.0
|
78 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "KennethEnevoldsen/dfm-sentence-encoder-large",
|
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": 1024,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 4096,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 16,
|
18 |
+
"num_hidden_layers": 24,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"problem_type": "single_label_classification",
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.44.2",
|
24 |
+
"type_vocab_size": 2,
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 50000
|
27 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6848e3fc76e432705ec1a2a317907fd9ccc3605c80c4d8d950d5ba2bab7fefe7
|
3 |
+
size 1420404704
|
runs/Sep10_12-01-07_0159380eb78d/events.out.tfevents.1725969684.0159380eb78d.1698.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66cc33a6732122bd98a59c95e0d2a5e92a466d2a540fed883c0ab431b67cff8b
|
3 |
+
size 12318
|
runs/Sep10_12-01-07_0159380eb78d/events.out.tfevents.1725971781.0159380eb78d.1698.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3836360a6285505bf82209fa71f5c8dfa7db8638db39f0dac7fa89af6060081
|
3 |
+
size 411
|
runs/Sep11_12-23-13_93370bd2ff25/events.out.tfevents.1726057402.93370bd2ff25.1056.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:673420145d2c92c80b110b8a8c574228f10d4c5cf34753cf84f0a600496b94ba
|
3 |
+
size 5728
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"501": {
|
4 |
+
"content": "[CLS]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"502": {
|
12 |
+
"content": "[MASK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"503": {
|
20 |
+
"content": "[PAD]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"504": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"505": {
|
36 |
+
"content": "[UNK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": true,
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"model_max_length": 512,
|
50 |
+
"never_split": null,
|
51 |
+
"pad_token": "[PAD]",
|
52 |
+
"sep_token": "[SEP]",
|
53 |
+
"strip_accents": false,
|
54 |
+
"tokenize_chinese_chars": true,
|
55 |
+
"tokenizer_class": "BertTokenizer",
|
56 |
+
"unk_token": "[UNK]"
|
57 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0d6d99e6c8fbe43a4c082b643255e8e57540a39471a4efa40cd587c3bb34c04
|
3 |
+
size 5304
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|