End of training.
Browse files- README.md +60 -0
- config.json +43 -0
- model.safetensors +3 -0
- runs/Feb01_06-11-14_e97012c1d976/events.out.tfevents.1706767903.e97012c1d976.3026.0 +3 -0
- runs/Feb01_06-20-12_e97012c1d976/events.out.tfevents.1706768413.e97012c1d976.6317.0 +3 -0
- runs/Feb01_06-35-59_e97012c1d976/events.out.tfevents.1706769362.e97012c1d976.6317.1 +3 -0
- runs/Feb01_06-47-41_e97012c1d976/events.out.tfevents.1706770061.e97012c1d976.6317.2 +3 -0
- runs/Feb01_06-49-37_e97012c1d976/events.out.tfevents.1706770178.e97012c1d976.15005.0 +3 -0
- runs/Feb01_06-51-30_e97012c1d976/events.out.tfevents.1706770292.e97012c1d976.15570.0 +3 -0
- runs/Feb01_06-55-20_e97012c1d976/events.out.tfevents.1706770521.e97012c1d976.15570.1 +3 -0
- runs/Feb01_06-57-06_e97012c1d976/events.out.tfevents.1706770627.e97012c1d976.16864.0 +3 -0
- runs/Feb01_06-59-23_e97012c1d976/events.out.tfevents.1706770764.e97012c1d976.16864.1 +3 -0
- runs/Feb01_06-59-23_e97012c1d976/events.out.tfevents.1706772465.e97012c1d976.16864.2 +3 -0
- runs/Feb01_09-55-47_e97012c1d976/events.out.tfevents.1706781350.e97012c1d976.16864.3 +3 -0
- runs/Feb01_10-18-27_e97012c1d976/events.out.tfevents.1706782709.e97012c1d976.16864.4 +3 -0
- runs/Feb01_10-23-52_e97012c1d976/events.out.tfevents.1706783034.e97012c1d976.66449.0 +3 -0
- runs/Feb01_10-42-49_e97012c1d976/events.out.tfevents.1706784171.e97012c1d976.66449.1 +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,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-4.0
|
3 |
+
base_model: Maltehb/danish-bert-botxo
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- f1
|
8 |
+
model-index:
|
9 |
+
- name: bert-finetuned-danishboksen
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# bert-finetuned-danishboksen
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [Maltehb/danish-bert-botxo](https://huggingface.co/Maltehb/danish-bert-botxo) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.4384
|
21 |
+
- F1: 1.0
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 2e-05
|
41 |
+
- train_batch_size: 4
|
42 |
+
- eval_batch_size: 4
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 1
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:---:|
|
52 |
+
| 0.2438 | 1.0 | 6 | 0.4384 | 1.0 |
|
53 |
+
|
54 |
+
|
55 |
+
### Framework versions
|
56 |
+
|
57 |
+
- Transformers 4.35.2
|
58 |
+
- Pytorch 2.1.0+cu121
|
59 |
+
- Datasets 2.16.1
|
60 |
+
- Tokenizers 0.15.1
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Maltehb/danish-bert-botxo",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "ds-folder-03",
|
15 |
+
"1": "ds-folder-103",
|
16 |
+
"2": "ds-folder-113"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"ds-folder-03": 0,
|
22 |
+
"ds-folder-103": 1,
|
23 |
+
"ds-folder-113": 2
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-12,
|
26 |
+
"max_position_embeddings": 512,
|
27 |
+
"model_type": "bert",
|
28 |
+
"num_attention_heads": 12,
|
29 |
+
"num_hidden_layers": 12,
|
30 |
+
"pad_token_id": 0,
|
31 |
+
"pooler_fc_size": 768,
|
32 |
+
"pooler_num_attention_heads": 12,
|
33 |
+
"pooler_num_fc_layers": 3,
|
34 |
+
"pooler_size_per_head": 128,
|
35 |
+
"pooler_type": "first_token_transform",
|
36 |
+
"position_embedding_type": "absolute",
|
37 |
+
"problem_type": "single_label_classification",
|
38 |
+
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.35.2",
|
40 |
+
"type_vocab_size": 2,
|
41 |
+
"use_cache": true,
|
42 |
+
"vocab_size": 32000
|
43 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a23fb94501009793a55cedb235db83b02c5b4479a49fb95007e0de1e273c2865
|
3 |
+
size 442502140
|
runs/Feb01_06-11-14_e97012c1d976/events.out.tfevents.1706767903.e97012c1d976.3026.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f9ff4111534d115cd745f434c4c9381282607eb669db3961442b393e135dcbf
|
3 |
+
size 4184
|
runs/Feb01_06-20-12_e97012c1d976/events.out.tfevents.1706768413.e97012c1d976.6317.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:332c043b0785544aa3202504ad4aff07b6647a21182a0fe54e1fddc455019d56
|
3 |
+
size 5599
|
runs/Feb01_06-35-59_e97012c1d976/events.out.tfevents.1706769362.e97012c1d976.6317.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:72b3e678e1756f95ed36dbd6c7dad7ed1fd1d2536944c137a822fab62087637c
|
3 |
+
size 8124
|
runs/Feb01_06-47-41_e97012c1d976/events.out.tfevents.1706770061.e97012c1d976.6317.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f6d7a5126ff2448998470f19a16b7c1c41570ac913d5a917796548f294cc713f
|
3 |
+
size 4184
|
runs/Feb01_06-49-37_e97012c1d976/events.out.tfevents.1706770178.e97012c1d976.15005.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49b47bba0501b532bba64b8e0d52ec7472726fe878dc0f564d7d05bf924ea388
|
3 |
+
size 4184
|
runs/Feb01_06-51-30_e97012c1d976/events.out.tfevents.1706770292.e97012c1d976.15570.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29c55a959b033680be868d31c440e1cd19a53a84b62ad8a01e0edb706f6e25d6
|
3 |
+
size 10414
|
runs/Feb01_06-55-20_e97012c1d976/events.out.tfevents.1706770521.e97012c1d976.15570.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e55583a926ba65fa73a96fb3ca7dff83f5374a72999ccbc1a294eb741fb9ca35
|
3 |
+
size 4184
|
runs/Feb01_06-57-06_e97012c1d976/events.out.tfevents.1706770627.e97012c1d976.16864.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f478942e51430ac49c009ae1ed4f1a8e0d30d8530dc7964ccd0b435082a63231
|
3 |
+
size 4632
|
runs/Feb01_06-59-23_e97012c1d976/events.out.tfevents.1706770764.e97012c1d976.16864.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a49fe3e17da17617d88b7230adf3ee3f2517e6cd693d6a11e298dc1e0f547df
|
3 |
+
size 5599
|
runs/Feb01_06-59-23_e97012c1d976/events.out.tfevents.1706772465.e97012c1d976.16864.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a02a530f4a0b29a7e5caecf8530f0e4cf7882658ca849cc2e810908aa31ce51
|
3 |
+
size 5648
|
runs/Feb01_09-55-47_e97012c1d976/events.out.tfevents.1706781350.e97012c1d976.16864.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b94fd7086f813da76ce63e44fbc700cbfadd8e620be735098d159e7b51a95bc4
|
3 |
+
size 5908
|
runs/Feb01_10-18-27_e97012c1d976/events.out.tfevents.1706782709.e97012c1d976.16864.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f510b535ea65088ae0756bcd7369508f6f465c797cf4d025e633220d2f4e042
|
3 |
+
size 5144
|
runs/Feb01_10-23-52_e97012c1d976/events.out.tfevents.1706783034.e97012c1d976.66449.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4636863cfba264ff3efd71baca537320b693bcd65613233358c5a560733aca45
|
3 |
+
size 6838
|
runs/Feb01_10-42-49_e97012c1d976/events.out.tfevents.1706784171.e97012c1d976.66449.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d10a77e99bdbe98b3c87460dc5be1fde10d93ab8f79dce48eb817d5da9ae1bfc
|
3 |
+
size 5492
|
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 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"4": {
|
36 |
+
"content": "[MASK]",
|
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:31481cc205ee6095a1db7fb97dee12cde3533a1563e479b41de3df4198cc11ab
|
3 |
+
size 4600
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|