zibajoon commited on
Commit
a84a6a7
·
1 Parent(s): 4b35130

End of training

Browse files
Files changed (4) hide show
  1. README.md +69 -0
  2. config.json +79 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: yikuan8/Clinical-BigBird
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ model-index:
8
+ - name: 20231128_ClinBigBird_10ep_NewLabels
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # 20231128_ClinBigBird_10ep_NewLabels
16
+
17
+ This model is a fine-tuned version of [yikuan8/Clinical-BigBird](https://huggingface.co/yikuan8/Clinical-BigBird) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 1.1090
20
+ - Accuracy: 0.78
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 3e-05
40
+ - train_batch_size: 12
41
+ - eval_batch_size: 32
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - lr_scheduler_warmup_steps: 100
46
+ - num_epochs: 10
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | No log | 1.0 | 101 | 2.0986 | 0.36 |
54
+ | No log | 2.0 | 202 | 1.3181 | 0.64 |
55
+ | No log | 3.0 | 303 | 1.0754 | 0.76 |
56
+ | No log | 4.0 | 404 | 1.0497 | 0.74 |
57
+ | 1.1293 | 5.0 | 505 | 1.0520 | 0.76 |
58
+ | 1.1293 | 6.0 | 606 | 1.0080 | 0.78 |
59
+ | 1.1293 | 7.0 | 707 | 1.0404 | 0.77 |
60
+ | 1.1293 | 8.0 | 808 | 1.1186 | 0.76 |
61
+ | 1.1293 | 9.0 | 909 | 1.1090 | 0.78 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.35.2
67
+ - Pytorch 2.0.1+cu118
68
+ - Datasets 2.10.1
69
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "yikuan8/Clinical-BigBird",
3
+ "architectures": [
4
+ "BigBirdForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "attention_type": "block_sparse",
8
+ "block_size": 64,
9
+ "bos_token_id": 1,
10
+ "classifier_dropout": null,
11
+ "eos_token_id": 2,
12
+ "gradient_checkpointing": false,
13
+ "hidden_act": "gelu_new",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 768,
16
+ "id2label": {
17
+ "0": "LABEL_0",
18
+ "1": "LABEL_1",
19
+ "2": "LABEL_2",
20
+ "3": "LABEL_3",
21
+ "4": "LABEL_4",
22
+ "5": "LABEL_5",
23
+ "6": "LABEL_6",
24
+ "7": "LABEL_7",
25
+ "8": "LABEL_8",
26
+ "9": "LABEL_9",
27
+ "10": "LABEL_10",
28
+ "11": "LABEL_11",
29
+ "12": "LABEL_12",
30
+ "13": "LABEL_13",
31
+ "14": "LABEL_14",
32
+ "15": "LABEL_15",
33
+ "16": "LABEL_16",
34
+ "17": "LABEL_17",
35
+ "18": "LABEL_18",
36
+ "19": "LABEL_19"
37
+ },
38
+ "initializer_range": 0.02,
39
+ "intermediate_size": 3072,
40
+ "label2id": {
41
+ "LABEL_0": 0,
42
+ "LABEL_1": 1,
43
+ "LABEL_10": 10,
44
+ "LABEL_11": 11,
45
+ "LABEL_12": 12,
46
+ "LABEL_13": 13,
47
+ "LABEL_14": 14,
48
+ "LABEL_15": 15,
49
+ "LABEL_16": 16,
50
+ "LABEL_17": 17,
51
+ "LABEL_18": 18,
52
+ "LABEL_19": 19,
53
+ "LABEL_2": 2,
54
+ "LABEL_3": 3,
55
+ "LABEL_4": 4,
56
+ "LABEL_5": 5,
57
+ "LABEL_6": 6,
58
+ "LABEL_7": 7,
59
+ "LABEL_8": 8,
60
+ "LABEL_9": 9
61
+ },
62
+ "layer_norm_eps": 1e-12,
63
+ "max_position_embeddings": 4096,
64
+ "model_type": "big_bird",
65
+ "num_attention_heads": 12,
66
+ "num_hidden_layers": 12,
67
+ "num_random_blocks": 3,
68
+ "pad_token_id": 0,
69
+ "position_embedding_type": "absolute",
70
+ "problem_type": "single_label_classification",
71
+ "rescale_embeddings": false,
72
+ "sep_token_id": 66,
73
+ "torch_dtype": "float32",
74
+ "transformers_version": "4.35.2",
75
+ "type_vocab_size": 2,
76
+ "use_bias": true,
77
+ "use_cache": true,
78
+ "vocab_size": 50358
79
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbe75e2b6cad17a8c8a11f9ba3cef47cf92c95f1573f3b54c69f4f299c587cc9
3
+ size 512322832
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8996d134b21e70e31cbbbc9f35e07cc558eb3e92871927a4b9dd6e01fc37c31d
3
+ size 4155