jonas-luehrs commited on
Commit
f049535
·
1 Parent(s): fe032ef

End of training

Browse files
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: jonas-luehrs/bert-base-cased-MLM-chemistry
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ - precision
9
+ - recall
10
+ - accuracy
11
+ model-index:
12
+ - name: bert-base-cased-MLM-chemistry-textCLS-RHEOLOGY
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
+ # bert-base-cased-MLM-chemistry-textCLS-RHEOLOGY
20
+
21
+ This model is a fine-tuned version of [jonas-luehrs/bert-base-cased-MLM-chemistry](https://huggingface.co/jonas-luehrs/bert-base-cased-MLM-chemistry) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.7384
24
+ - F1: 0.7045
25
+ - Precision: 0.6979
26
+ - Recall: 0.7284
27
+ - Accuracy: 0.7284
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: 2e-05
47
+ - train_batch_size: 32
48
+ - eval_batch_size: 32
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 3
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:---------:|:------:|:--------:|
58
+ | 1.2604 | 1.0 | 46 | 1.0089 | 0.5830 | 0.5536 | 0.6173 | 0.6173 |
59
+ | 0.8074 | 2.0 | 92 | 0.7888 | 0.6577 | 0.6702 | 0.6852 | 0.6852 |
60
+ | 0.6246 | 3.0 | 138 | 0.7384 | 0.7045 | 0.6979 | 0.7284 | 0.7284 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.33.2
66
+ - Pytorch 2.0.1+cu118
67
+ - Datasets 2.14.5
68
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "jonas-luehrs/bert-base-cased-MLM-chemistry",
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": 768,
12
+ "id2label": {
13
+ "0": "BIODEGRAD_POLY",
14
+ "1": "BIODEGRAD_PROP",
15
+ "2": "MECHANICAL_PROP",
16
+ "3": "POLY_STRUC",
17
+ "4": "RHEOLOGICAL_PROP"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "BIODEGRAD_POLY": 0,
23
+ "BIODEGRAD_PROP": 1,
24
+ "MECHANICAL_PROP": 2,
25
+ "POLY_STRUC": 3,
26
+ "RHEOLOGICAL_PROP": 4
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "max_position_embeddings": 512,
30
+ "model_type": "bert",
31
+ "num_attention_heads": 12,
32
+ "num_hidden_layers": 12,
33
+ "pad_token_id": 0,
34
+ "position_embedding_type": "absolute",
35
+ "problem_type": "single_label_classification",
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.33.2",
38
+ "type_vocab_size": 2,
39
+ "use_cache": true,
40
+ "vocab_size": 28996
41
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e89e308e314dbf3071a1288d2b551eb51e992837c0f85508212cd0ccde513b37
3
+ size 433324849
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,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": false,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "BertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d383e7db1bc63d5349c1c7de2c4170b18742c30114ae41dc2ed598e81bb88c41
3
+ size 4091
vocab.txt ADDED
The diff for this file is too large to render. See raw diff