ychu612 commited on
Commit
571fb03
·
verified ·
1 Parent(s): 55a0da1

ychu612/ClinicalBERT_rsavav_fn_adult2

Browse files
Files changed (4) hide show
  1. README.md +53 -0
  2. config.json +66 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: medicalai/ClinicalBERT
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: ClinicalBERT_rsavav_fn_adult2_hq
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # ClinicalBERT_rsavav_fn_adult2_hq
15
+
16
+ This model is a fine-tuned version of [medicalai/ClinicalBERT](https://huggingface.co/medicalai/ClinicalBERT) on an unknown dataset.
17
+
18
+ ## Model description
19
+
20
+ More information needed
21
+
22
+ ## Intended uses & limitations
23
+
24
+ More information needed
25
+
26
+ ## Training and evaluation data
27
+
28
+ More information needed
29
+
30
+ ## Training procedure
31
+
32
+ ### Training hyperparameters
33
+
34
+ The following hyperparameters were used during training:
35
+ - learning_rate: 4e-05
36
+ - train_batch_size: 32
37
+ - eval_batch_size: 8
38
+ - seed: 42
39
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
40
+ - lr_scheduler_type: linear
41
+ - lr_scheduler_warmup_steps: 500
42
+ - num_epochs: 5
43
+
44
+ ### Training results
45
+
46
+
47
+
48
+ ### Framework versions
49
+
50
+ - Transformers 4.45.2
51
+ - Pytorch 2.2.1
52
+ - Datasets 3.0.1
53
+ - Tokenizers 0.20.0
config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "medicalai/ClinicalBERT",
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": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5",
18
+ "6": "LABEL_6",
19
+ "7": "LABEL_7",
20
+ "8": "LABEL_8",
21
+ "9": "LABEL_9",
22
+ "10": "LABEL_10",
23
+ "11": "LABEL_11",
24
+ "12": "LABEL_12",
25
+ "13": "LABEL_13",
26
+ "14": "LABEL_14",
27
+ "15": "LABEL_15",
28
+ "16": "LABEL_16",
29
+ "17": "LABEL_17"
30
+ },
31
+ "initializer_range": 0.02,
32
+ "label2id": {
33
+ "LABEL_0": 0,
34
+ "LABEL_1": 1,
35
+ "LABEL_10": 10,
36
+ "LABEL_11": 11,
37
+ "LABEL_12": 12,
38
+ "LABEL_13": 13,
39
+ "LABEL_14": 14,
40
+ "LABEL_15": 15,
41
+ "LABEL_16": 16,
42
+ "LABEL_17": 17,
43
+ "LABEL_2": 2,
44
+ "LABEL_3": 3,
45
+ "LABEL_4": 4,
46
+ "LABEL_5": 5,
47
+ "LABEL_6": 6,
48
+ "LABEL_7": 7,
49
+ "LABEL_8": 8,
50
+ "LABEL_9": 9
51
+ },
52
+ "max_position_embeddings": 512,
53
+ "model_type": "distilbert",
54
+ "n_heads": 12,
55
+ "n_layers": 6,
56
+ "output_past": true,
57
+ "pad_token_id": 0,
58
+ "problem_type": "single_label_classification",
59
+ "qa_dropout": 0.1,
60
+ "seq_classif_dropout": 0.2,
61
+ "sinusoidal_pos_embds": false,
62
+ "tie_weights_": true,
63
+ "torch_dtype": "float32",
64
+ "transformers_version": "4.45.2",
65
+ "vocab_size": 119547
66
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91a09917522af054da77d14448ff731ef718cb1357b685d5ed54b93dafc9c907
3
+ size 541366592
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e7818a9910920d64b66bfe8ba8c3c5c7da6bbe8e7817844097ee1051947ddbe
3
+ size 5304