ychu612 commited on
Commit
864505b
·
verified ·
1 Parent(s): 36ed269

ychu612/ClinicalLongFormer_rsavav_fn_adult2

Browse files
Files changed (4) hide show
  1. README.md +56 -0
  2. config.json +86 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: yikuan8/Clinical-Longformer
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: RSAVAV_FNSQ_CLF
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
+ # RSAVAV_FNSQ_CLF
15
+
16
+ This model is a fine-tuned version of [yikuan8/Clinical-Longformer](https://huggingface.co/yikuan8/Clinical-Longformer) 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: 2e-05
36
+ - train_batch_size: 32
37
+ - eval_batch_size: 16
38
+ - seed: 42
39
+ - gradient_accumulation_steps: 3
40
+ - total_train_batch_size: 96
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - lr_scheduler_warmup_steps: 500
44
+ - num_epochs: 8
45
+ - mixed_precision_training: Native AMP
46
+
47
+ ### Training results
48
+
49
+
50
+
51
+ ### Framework versions
52
+
53
+ - Transformers 4.44.2
54
+ - Pytorch 2.4.0+cu121
55
+ - Datasets 2.21.0
56
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "yikuan8/Clinical-Longformer",
3
+ "architectures": [
4
+ "LongformerForSequenceClassification"
5
+ ],
6
+ "attention_mode": "longformer",
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "attention_window": [
9
+ 512,
10
+ 512,
11
+ 512,
12
+ 512,
13
+ 512,
14
+ 512,
15
+ 512,
16
+ 512,
17
+ 512,
18
+ 512,
19
+ 512,
20
+ 512
21
+ ],
22
+ "bos_token_id": 0,
23
+ "eos_token_id": 2,
24
+ "gradient_checkpointing": false,
25
+ "hidden_act": "gelu",
26
+ "hidden_dropout_prob": 0.1,
27
+ "hidden_size": 768,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1",
31
+ "2": "LABEL_2",
32
+ "3": "LABEL_3",
33
+ "4": "LABEL_4",
34
+ "5": "LABEL_5",
35
+ "6": "LABEL_6",
36
+ "7": "LABEL_7",
37
+ "8": "LABEL_8",
38
+ "9": "LABEL_9",
39
+ "10": "LABEL_10",
40
+ "11": "LABEL_11",
41
+ "12": "LABEL_12",
42
+ "13": "LABEL_13",
43
+ "14": "LABEL_14",
44
+ "15": "LABEL_15",
45
+ "16": "LABEL_16",
46
+ "17": "LABEL_17"
47
+ },
48
+ "ignore_attention_mask": false,
49
+ "initializer_range": 0.02,
50
+ "intermediate_size": 3072,
51
+ "label2id": {
52
+ "LABEL_0": 0,
53
+ "LABEL_1": 1,
54
+ "LABEL_10": 10,
55
+ "LABEL_11": 11,
56
+ "LABEL_12": 12,
57
+ "LABEL_13": 13,
58
+ "LABEL_14": 14,
59
+ "LABEL_15": 15,
60
+ "LABEL_16": 16,
61
+ "LABEL_17": 17,
62
+ "LABEL_2": 2,
63
+ "LABEL_3": 3,
64
+ "LABEL_4": 4,
65
+ "LABEL_5": 5,
66
+ "LABEL_6": 6,
67
+ "LABEL_7": 7,
68
+ "LABEL_8": 8,
69
+ "LABEL_9": 9
70
+ },
71
+ "layer_norm_eps": 1e-05,
72
+ "max_position_embeddings": 4098,
73
+ "model_type": "longformer",
74
+ "num_attention_heads": 12,
75
+ "num_hidden_layers": 12,
76
+ "onnx_export": false,
77
+ "pad_token_id": 1,
78
+ "position_embedding_type": "absolute",
79
+ "problem_type": "single_label_classification",
80
+ "sep_token_id": 2,
81
+ "torch_dtype": "float32",
82
+ "transformers_version": "4.44.2",
83
+ "type_vocab_size": 1,
84
+ "use_cache": true,
85
+ "vocab_size": 50265
86
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0c521cab113a9f6358cc6cba00fe319896b494a0e617000b41af05dbbef074d
3
+ size 594727400
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5c2954a61ac428bf446cff866662630f1504865f5d25d4839cb81fc05e0990a
3
+ size 5240