ychu612/ELBase_RSAVAV_ClinicalBERT
Browse files- README.md +52 -0
- config.json +66 -0
- model.safetensors +3 -0
- runs/Aug19_09-04-09_QR9RVXHL64/events.out.tfevents.1724072650.QR9RVXHL64.98823.3 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: medicalai/ClinicalBERT
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: ELBase_RSAVAV_ClinicalBERT
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# ELBase_RSAVAV_ClinicalBERT
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [medicalai/ClinicalBERT](https://huggingface.co/medicalai/ClinicalBERT) on an unknown dataset.
|
16 |
+
|
17 |
+
## Model description
|
18 |
+
|
19 |
+
More information needed
|
20 |
+
|
21 |
+
## Intended uses & limitations
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Training and evaluation data
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training procedure
|
30 |
+
|
31 |
+
### Training hyperparameters
|
32 |
+
|
33 |
+
The following hyperparameters were used during training:
|
34 |
+
- learning_rate: 4e-05
|
35 |
+
- train_batch_size: 32
|
36 |
+
- eval_batch_size: 32
|
37 |
+
- seed: 42
|
38 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
39 |
+
- lr_scheduler_type: linear
|
40 |
+
- lr_scheduler_warmup_steps: 500
|
41 |
+
- num_epochs: 5
|
42 |
+
|
43 |
+
### Training results
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
### Framework versions
|
48 |
+
|
49 |
+
- Transformers 4.40.1
|
50 |
+
- Pytorch 2.2.1
|
51 |
+
- Datasets 2.18.0
|
52 |
+
- Tokenizers 0.19.1
|
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.40.1",
|
65 |
+
"vocab_size": 119547
|
66 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c94bd75fe218d75e165f8841f8b8c90f2b31ce47b205060dc23f28b7c0e3ee3
|
3 |
+
size 541366592
|
runs/Aug19_09-04-09_QR9RVXHL64/events.out.tfevents.1724072650.QR9RVXHL64.98823.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:db674d70b54f07fb29e49fb6ef507af8dc22ec4be883a41d58bf2bd322d1139c
|
3 |
+
size 5938
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c2f76d43ffbd3cc1ce5f02499fec75b37c4926443e5878b984640820a400886
|
3 |
+
size 5112
|