remva commited on
Commit
700bb01
·
1 Parent(s): 7d73934

Training complete

Browse files
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: base2
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
+ # base2
20
+
21
+ This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.7291
24
+ - Precision: 0.5945
25
+ - Recall: 0.3128
26
+ - F1: 0.4099
27
+ - Accuracy: 0.9107
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: 0.0001
47
+ - train_batch_size: 8
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 10
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 0.2254 | 1.0 | 976 | 0.3347 | 0.5725 | 0.3430 | 0.4290 | 0.9090 |
59
+ | 0.1157 | 2.0 | 1952 | 0.3224 | 0.6249 | 0.3386 | 0.4392 | 0.9129 |
60
+ | 0.0652 | 3.0 | 2928 | 0.5334 | 0.6116 | 0.2517 | 0.3567 | 0.9072 |
61
+ | 0.0437 | 4.0 | 3904 | 0.4335 | 0.5189 | 0.2763 | 0.3606 | 0.9066 |
62
+ | 0.0311 | 5.0 | 4880 | 0.5181 | 0.4966 | 0.3247 | 0.3927 | 0.9074 |
63
+ | 0.0204 | 6.0 | 5856 | 0.7521 | 0.6343 | 0.2750 | 0.3837 | 0.9100 |
64
+ | 0.0146 | 7.0 | 6832 | 0.5582 | 0.5241 | 0.3354 | 0.4091 | 0.9086 |
65
+ | 0.0073 | 8.0 | 7808 | 0.7195 | 0.6151 | 0.2977 | 0.4012 | 0.9092 |
66
+ | 0.0059 | 9.0 | 8784 | 0.6984 | 0.5773 | 0.2983 | 0.3934 | 0.9091 |
67
+ | 0.0021 | 10.0 | 9760 | 0.7291 | 0.5945 | 0.3128 | 0.4099 | 0.9107 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.35.0
73
+ - Pytorch 2.1.0+cu118
74
+ - Datasets 2.14.6
75
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-cased",
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": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-location",
15
+ "2": "I-location",
16
+ "3": "B-group",
17
+ "4": "B-corporation",
18
+ "5": "B-person",
19
+ "6": "B-creative-work",
20
+ "7": "B-product",
21
+ "8": "I-person",
22
+ "9": "I-creative-work",
23
+ "10": "I-corporation",
24
+ "11": "I-group",
25
+ "12": "I-product"
26
+ },
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 3072,
29
+ "label2id": {
30
+ "B-corporation": 4,
31
+ "B-creative-work": 6,
32
+ "B-group": 3,
33
+ "B-location": 1,
34
+ "B-person": 5,
35
+ "B-product": 7,
36
+ "I-corporation": 10,
37
+ "I-creative-work": 9,
38
+ "I-group": 11,
39
+ "I-location": 2,
40
+ "I-person": 8,
41
+ "I-product": 12,
42
+ "O": 0
43
+ },
44
+ "layer_norm_eps": 1e-12,
45
+ "max_position_embeddings": 512,
46
+ "model_type": "bert",
47
+ "num_attention_heads": 12,
48
+ "num_hidden_layers": 12,
49
+ "pad_token_id": 0,
50
+ "position_embedding_type": "absolute",
51
+ "torch_dtype": "float32",
52
+ "transformers_version": "4.35.0",
53
+ "type_vocab_size": 2,
54
+ "use_cache": true,
55
+ "vocab_size": 28996
56
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19a48dea04adb81e8e8fd24ab3fbd235cecbf3d6fd9d863e752e4ff653ef979d
3
+ size 430942044
runs/Nov07_21-31-19_de7b12349096/events.out.tfevents.1699392679.de7b12349096.31383.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:047f98e3706eaded60dfcb874aa6dcda14833648672d2f051c191593bf465f88
3
+ size 7920
runs/Nov07_21-37-09_de7b12349096/events.out.tfevents.1699393031.de7b12349096.42749.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a2a585bd4e6eee08815495e9bbccbeb2a08e4416e3911383a64b61255817206
3
+ size 6348
runs/Nov07_21-40-41_de7b12349096/events.out.tfevents.1699393242.de7b12349096.42749.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b6589204e78fe7cbd77919fdf293d4d46ac4964c10541d1460916464952f657
3
+ size 6349
runs/Nov07_21-44-00_de7b12349096/events.out.tfevents.1699393441.de7b12349096.42749.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1288cd1035f89a2b7174250dfcdb7c9d10908ecb2e5535ba35e099ea6455184f
3
+ size 5719
runs/Nov07_21-45-58_de7b12349096/events.out.tfevents.1699393559.de7b12349096.42749.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e74c12ac7fcd2a705d0fb0f64d2bfcbd9eb7e3f0d82cde2e51be35467e076b2
3
+ size 12834
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,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
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_lower_case": false,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "BertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cf80eac97e43cddc082a4384df7a0150baf349f7a05638393b9193e8c0d35e0
3
+ size 4536
vocab.txt ADDED
The diff for this file is too large to render. See raw diff