jonas-luehrs commited on
Commit
7e40a6a
·
1 Parent(s): 47a4993

End of training

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: jonas-luehrs/chembert_cased-MLM-chemistry
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - f1
7
+ - precision
8
+ - recall
9
+ - accuracy
10
+ model-index:
11
+ - name: chembert_cased-MLM-chemistry-textCLS-RHEOLOGY
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # chembert_cased-MLM-chemistry-textCLS-RHEOLOGY
19
+
20
+ This model is a fine-tuned version of [jonas-luehrs/chembert_cased-MLM-chemistry](https://huggingface.co/jonas-luehrs/chembert_cased-MLM-chemistry) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.5925
23
+ - F1: 0.7527
24
+ - Precision: 0.7836
25
+ - Recall: 0.7716
26
+ - Accuracy: 0.7716
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: 32
47
+ - eval_batch_size: 32
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 3
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall | Accuracy |
56
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:---------:|:------:|:--------:|
57
+ | 1.1553 | 1.0 | 46 | 0.8494 | 0.6731 | 0.6580 | 0.7099 | 0.7099 |
58
+ | 0.7613 | 2.0 | 92 | 0.6545 | 0.7297 | 0.7155 | 0.7593 | 0.7593 |
59
+ | 0.5792 | 3.0 | 138 | 0.5925 | 0.7527 | 0.7836 | 0.7716 | 0.7716 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.33.2
65
+ - Pytorch 2.0.1+cu118
66
+ - Datasets 2.14.5
67
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "jonas-luehrs/chembert_cased-MLM-chemistry",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "BIODEGRAD_POLY",
13
+ "1": "BIODEGRAD_PROP",
14
+ "2": "MECHANICAL_PROP",
15
+ "3": "POLY_STRUC",
16
+ "4": "RHEOLOGICAL_PROP"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "BIODEGRAD_POLY": 0,
22
+ "BIODEGRAD_PROP": 1,
23
+ "MECHANICAL_PROP": 2,
24
+ "POLY_STRUC": 3,
25
+ "RHEOLOGICAL_PROP": 4
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "max_position_embeddings": 512,
29
+ "model_type": "bert",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 0,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.33.2",
37
+ "type_vocab_size": 2,
38
+ "use_cache": true,
39
+ "vocab_size": 28996
40
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96f159c0d62f72b29d5dc050afd06fdc151c139155adfd19c1e00bd08515cbca
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,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": false,
6
+ "mask_token": "[MASK]",
7
+ "max_len": 512,
8
+ "model_max_length": 512,
9
+ "never_split": null,
10
+ "pad_token": "[PAD]",
11
+ "sep_token": "[SEP]",
12
+ "strip_accents": null,
13
+ "tokenize_chinese_chars": true,
14
+ "tokenizer_class": "BertTokenizer",
15
+ "unk_token": "[UNK]"
16
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b68e775597d9136140566759ad1375c1a8d782c1ef8a1f105e4cbffe89d37a3
3
+ size 4091
vocab.txt ADDED
The diff for this file is too large to render. See raw diff