nicolauduran45 commited on
Commit
3f5bb07
·
verified ·
1 Parent(s): 3fe157a

End of training

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: allenai/specter2_base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: results
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # results
18
+
19
+ This model is a fine-tuned version of [allenai/specter2_base](https://huggingface.co/allenai/specter2_base) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.2011
22
+ - Accuracy: 0.8212
23
+ - Precision Micro: 0.8212
24
+ - Precision Macro: 0.8176
25
+ - Recall Micro: 0.8212
26
+ - Recall Macro: 0.8198
27
+ - F1 Micro: 0.8212
28
+ - F1 Macro: 0.8178
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 2e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 10
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision Micro | Precision Macro | Recall Micro | Recall Macro | F1 Micro | F1 Macro |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:---------------:|:---------------:|:------------:|:------------:|:--------:|:--------:|
59
+ | 0.5662 | 1.0 | 3807 | 0.5312 | 0.8141 | 0.8141 | 0.8121 | 0.8141 | 0.8063 | 0.8141 | 0.8087 |
60
+ | 0.4099 | 2.0 | 7614 | 0.5368 | 0.8182 | 0.8182 | 0.8118 | 0.8182 | 0.8177 | 0.8182 | 0.8141 |
61
+ | 0.2703 | 3.0 | 11421 | 0.6214 | 0.8173 | 0.8173 | 0.8112 | 0.8173 | 0.8176 | 0.8173 | 0.8125 |
62
+ | 0.1604 | 4.0 | 15228 | 0.8681 | 0.8259 | 0.8259 | 0.8265 | 0.8259 | 0.8219 | 0.8259 | 0.8230 |
63
+ | 0.1161 | 5.0 | 19035 | 1.0616 | 0.8229 | 0.8229 | 0.8207 | 0.8229 | 0.8214 | 0.8229 | 0.8205 |
64
+ | 0.0864 | 6.0 | 22842 | 1.2011 | 0.8212 | 0.8212 | 0.8176 | 0.8212 | 0.8198 | 0.8212 | 0.8178 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.57.1
70
+ - Pytorch 2.8.0+cu126
71
+ - Datasets 3.6.0
72
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "adapters": {
3
+ "adapters": {},
4
+ "config_map": {},
5
+ "fusion_config_map": {},
6
+ "fusions": {}
7
+ },
8
+ "architectures": [
9
+ "BertForSequenceClassification"
10
+ ],
11
+ "attention_probs_dropout_prob": 0.1,
12
+ "classifier_dropout": null,
13
+ "dtype": "float32",
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.1,
16
+ "hidden_size": 768,
17
+ "id2label": {
18
+ "0": "Agronomical Sciences",
19
+ "1": "Applied Social Sciences",
20
+ "2": "Biological Sciences",
21
+ "3": "Engineering",
22
+ "4": "Health Sciences",
23
+ "5": "Humanities",
24
+ "6": "Linguistics, Literature and Arts",
25
+ "7": "Physical Sciences and Mathematics"
26
+ },
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 3072,
29
+ "label2id": {
30
+ "Agronomical Sciences": 0,
31
+ "Applied Social Sciences": 1,
32
+ "Biological Sciences": 2,
33
+ "Engineering": 3,
34
+ "Health Sciences": 4,
35
+ "Humanities": 5,
36
+ "Linguistics, Literature and Arts": 6,
37
+ "Physical Sciences and Mathematics": 7
38
+ },
39
+ "layer_norm_eps": 1e-12,
40
+ "max_position_embeddings": 512,
41
+ "model_type": "bert",
42
+ "num_attention_heads": 12,
43
+ "num_hidden_layers": 12,
44
+ "pad_token_id": 0,
45
+ "position_embedding_type": "absolute",
46
+ "problem_type": "single_label_classification",
47
+ "transformers_version": "4.57.1",
48
+ "type_vocab_size": 2,
49
+ "use_cache": true,
50
+ "vocab_size": 31090
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97700a17cd25c7d29c1ca28c08670ebfc59d3454c3431d16489323766270afb7
3
+ size 439722000
runs/Nov19_09-30-24_ee977aca4547/events.out.tfevents.1763544640.ee977aca4547.876.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbb64d0929b13278aa5963e3d1013295bede81aca377d8045f6c76cb7a4269a4
3
+ size 19512
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "101": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "102": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "103": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "104": {
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c39437186a1ac9e649384fcbff65ebf8f4ac6d77bdd096b68b3955a4fb25cc68
3
+ size 5841
vocab.txt ADDED
The diff for this file is too large to render. See raw diff