Meli101 commited on
Commit
510b471
1 Parent(s): ed67275

End of training

Browse files
README.md CHANGED
@@ -1,6 +1,5 @@
1
  ---
2
- license: apache-2.0
3
- base_model: distilbert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  metrics:
@@ -18,13 +17,13 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  # sentence-classifiert
20
 
21
- This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 0.6252
24
- - Precision: 0.7535
25
- - Recall: 0.7518
26
- - Accuracy: 0.7518
27
- - F1: 0.7521
28
 
29
  ## Model description
30
 
@@ -55,11 +54,11 @@ The following hyperparameters were used during training:
55
 
56
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | Accuracy | F1 |
57
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:--------:|:------:|
58
- | No log | 1.0 | 154 | 0.9047 | 0.6004 | 0.5895 | 0.5858 | 0.5781 |
59
- | No log | 2.0 | 308 | 0.7097 | 0.6792 | 0.6805 | 0.6802 | 0.6711 |
60
- | No log | 3.0 | 462 | 0.6422 | 0.7320 | 0.7322 | 0.7315 | 0.7266 |
61
- | 0.773 | 4.0 | 616 | 0.6549 | 0.7433 | 0.7373 | 0.7364 | 0.7372 |
62
- | 0.773 | 5.0 | 770 | 0.6252 | 0.7535 | 0.7518 | 0.7518 | 0.7521 |
63
 
64
 
65
  ### Framework versions
 
1
  ---
2
+ base_model: dmis-lab/biobert-v1.1
 
3
  tags:
4
  - generated_from_trainer
5
  metrics:
 
17
 
18
  # sentence-classifiert
19
 
20
+ This model is a fine-tuned version of [dmis-lab/biobert-v1.1](https://huggingface.co/dmis-lab/biobert-v1.1) on the None dataset.
21
  It achieves the following results on the evaluation set:
22
+ - Loss: 0.3410
23
+ - Precision: 0.9085
24
+ - Recall: 0.9068
25
+ - Accuracy: 0.9072
26
+ - F1: 0.9072
27
 
28
  ## Model description
29
 
 
54
 
55
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | Accuracy | F1 |
56
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:--------:|:------:|
57
+ | No log | 1.0 | 154 | 0.4158 | 0.8549 | 0.8445 | 0.8438 | 0.8443 |
58
+ | No log | 2.0 | 308 | 0.3426 | 0.8875 | 0.8804 | 0.8796 | 0.8787 |
59
+ | No log | 3.0 | 462 | 0.3594 | 0.8945 | 0.8856 | 0.8869 | 0.8868 |
60
+ | 0.3638 | 4.0 | 616 | 0.3302 | 0.9034 | 0.9008 | 0.9015 | 0.9014 |
61
+ | 0.3638 | 5.0 | 770 | 0.3410 | 0.9085 | 0.9068 | 0.9072 | 0.9072 |
62
 
63
 
64
  ### Framework versions
config.json CHANGED
@@ -1,35 +1,37 @@
1
  {
2
- "_name_or_path": "distilbert-base-uncased",
3
- "activation": "gelu",
4
  "architectures": [
5
- "DistilBertForSequenceClassification"
6
  ],
7
- "attention_dropout": 0.1,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "hidden_dim": 3072,
 
 
11
  "id2label": {
12
  "0": "marker/mechanism",
13
  "1": "therapeutic",
14
  "2": "unrelated"
15
  },
16
  "initializer_range": 0.02,
 
17
  "label2id": {
18
  "marker/mechanism": 0,
19
  "therapeutic": 1,
20
  "unrelated": 2
21
  },
 
22
  "max_position_embeddings": 512,
23
- "model_type": "distilbert",
24
- "n_heads": 12,
25
- "n_layers": 6,
26
  "pad_token_id": 0,
 
27
  "problem_type": "single_label_classification",
28
- "qa_dropout": 0.1,
29
- "seq_classif_dropout": 0.2,
30
- "sinusoidal_pos_embds": false,
31
- "tie_weights_": true,
32
  "torch_dtype": "float32",
33
  "transformers_version": "4.35.2",
34
- "vocab_size": 30522
 
 
35
  }
 
1
  {
2
+ "_name_or_path": "dmis-lab/biobert-v1.1",
 
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": "marker/mechanism",
14
  "1": "therapeutic",
15
  "2": "unrelated"
16
  },
17
  "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
  "label2id": {
20
  "marker/mechanism": 0,
21
  "therapeutic": 1,
22
  "unrelated": 2
23
  },
24
+ "layer_norm_eps": 1e-12,
25
  "max_position_embeddings": 512,
26
+ "model_type": "bert",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
  "pad_token_id": 0,
30
+ "position_embedding_type": "absolute",
31
  "problem_type": "single_label_classification",
 
 
 
 
32
  "torch_dtype": "float32",
33
  "transformers_version": "4.35.2",
34
+ "type_vocab_size": 2,
35
+ "use_cache": true,
36
+ "vocab_size": 28996
37
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1e8f364473a5d0cdc97b7ba27fea0e3d80139d29d9b141b5c726a951984691e7
3
- size 267835644
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16961d87c6f6df3bd24ee792cf8d03e7a44e7ee0236eac40ab03bb4d83ba5f21
3
+ size 433273844
runs/Feb19_10-32-50_f8343483f830/events.out.tfevents.1708339279.f8343483f830.190.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04a073df1104cf788097833045b39d077cce50656305d22a426abfa5e9231908
3
+ size 560
runs/Feb19_10-44-49_f8343483f830/events.out.tfevents.1708339490.f8343483f830.190.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b7e0159ef55bd7bf371051c57eb38462ed175498ccbe6256f6c830fed91485a
3
+ size 7319
special_tokens_map.json CHANGED
@@ -1,37 +1,7 @@
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
  }
 
1
  {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
tokenizer_config.json CHANGED
@@ -46,19 +46,12 @@
46
  "do_basic_tokenize": true,
47
  "do_lower_case": false,
48
  "mask_token": "[MASK]",
49
- "max_length": 512,
50
  "model_max_length": 512,
51
  "never_split": null,
52
- "pad_to_multiple_of": null,
53
  "pad_token": "[PAD]",
54
- "pad_token_type_id": 0,
55
- "padding_side": "right",
56
  "sep_token": "[SEP]",
57
- "stride": 0,
58
  "strip_accents": null,
59
  "tokenize_chinese_chars": true,
60
  "tokenizer_class": "BertTokenizer",
61
- "truncation_side": "right",
62
- "truncation_strategy": "longest_first",
63
  "unk_token": "[UNK]"
64
  }
 
46
  "do_basic_tokenize": true,
47
  "do_lower_case": false,
48
  "mask_token": "[MASK]",
 
49
  "model_max_length": 512,
50
  "never_split": null,
 
51
  "pad_token": "[PAD]",
 
 
52
  "sep_token": "[SEP]",
 
53
  "strip_accents": null,
54
  "tokenize_chinese_chars": true,
55
  "tokenizer_class": "BertTokenizer",
 
 
56
  "unk_token": "[UNK]"
57
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dc18a62349df19b4abd205e8db0b2f54ea5af60d684f7e5fe4b5e256cc9301eb
3
  size 4600
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e22546dedd67d4b9a10f3517bf8deea44f568ab3860bda6499b6969340fc66b6
3
  size 4600