Michal0607 commited on
Commit
0961155
·
verified ·
1 Parent(s): a1c8a91

Model save

Browse files
.DS_Store ADDED
Binary file (6.15 kB). View file
 
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: cc-by-4.0
4
+ base_model: pczarnik/herbert-base-ner
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: herbert-finetuned-core
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
+ # herbert-finetuned-core
20
+
21
+ This model is a fine-tuned version of [pczarnik/herbert-base-ner](https://huggingface.co/pczarnik/herbert-base-ner) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0001
24
+ - Precision: 1.0000
25
+ - Recall: 1.0000
26
+ - F1: 1.0000
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 2e-05
46
+ - train_batch_size: 16
47
+ - eval_batch_size: 16
48
+ - seed: 42
49
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 7
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 |
56
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|
57
+ | 0.0346 | 1.0 | 434 | 0.0005 | 0.9999 | 0.9999 | 0.9999 |
58
+ | 0.0009 | 2.0 | 868 | 0.0001 | 1.0000 | 1.0000 | 1.0000 |
59
+ | 0.0002 | 3.0 | 1302 | 0.0001 | 1.0000 | 1.0000 | 1.0000 |
60
+ | 0.0002 | 4.0 | 1736 | 0.0001 | 1.0000 | 1.0000 | 1.0000 |
61
+ | 0.0002 | 5.0 | 2170 | 0.0001 | 1.0000 | 1.0000 | 1.0000 |
62
+ | 0.0001 | 6.0 | 2604 | 0.0001 | 1.0000 | 1.0000 | 1.0000 |
63
+ | 0.0001 | 7.0 | 3038 | 0.0001 | 1.0000 | 1.0000 | 1.0000 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.50.3
69
+ - Pytorch 2.4.1
70
+ - Datasets 2.21.0
71
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForTokenClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "B-ADDRESS",
12
+ "1": "B-LOC",
13
+ "2": "B-ORG",
14
+ "3": "B-PER",
15
+ "4": "I-ADDRESS",
16
+ "5": "I-LOC",
17
+ "6": "I-ORG",
18
+ "7": "I-PER",
19
+ "8": "O"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "B-ADDRESS": 0,
25
+ "B-LOC": 1,
26
+ "B-ORG": 2,
27
+ "B-PER": 3,
28
+ "I-ADDRESS": 4,
29
+ "I-LOC": 5,
30
+ "I-ORG": 6,
31
+ "I-PER": 7,
32
+ "O": 8
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "max_position_embeddings": 514,
36
+ "model_type": "bert",
37
+ "num_attention_heads": 12,
38
+ "num_hidden_layers": 12,
39
+ "pad_token_id": 1,
40
+ "position_embedding_type": "absolute",
41
+ "tokenizer_class": "HerbertTokenizerFast",
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.50.3",
44
+ "type_vocab_size": 2,
45
+ "use_cache": true,
46
+ "vocab_size": 50000
47
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e06620c8568b08b01bbc76f00e4c154c824c06f44be174616641d19392a83afb
3
+ size 495460188
runs/.DS_Store ADDED
Binary file (6.15 kB). View file
 
runs/Apr25_01-02-46_laptop-Micha.local/events.out.tfevents.1745535767.laptop-Micha.local.23249.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01d8629714cb26e1d7aec95fa2b5d3ecb7368f94bfd7ea8e06aa9a27de97d6ee
3
+ size 10842
special_tokens_map.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "mask_token": {
17
+ "content": "<mask>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "pad_token": {
24
+ "content": "<pad>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "sep_token": {
31
+ "content": "</s>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "unk_token": {
38
+ "content": "<unk>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ }
44
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
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
+ "additional_special_tokens": [],
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "do_lowercase_and_remove_accent": false,
49
+ "extra_special_tokens": {},
50
+ "id2lang": null,
51
+ "lang2id": null,
52
+ "mask_token": "<mask>",
53
+ "max_length": 512,
54
+ "model_max_length": 512,
55
+ "pad_token": "<pad>",
56
+ "sep_token": "</s>",
57
+ "stride": 0,
58
+ "tokenizer_class": "HerbertTokenizer",
59
+ "truncation_side": "right",
60
+ "truncation_strategy": "longest_first",
61
+ "unk_token": "<unk>"
62
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bbde373341fd4086775fe39341fbd067f69396dd9e136bdc357f94c1d1dd10f
3
+ size 5368
vocab.json ADDED
The diff for this file is too large to render. See raw diff