yhyhy3 commited on
Commit
6562f9a
·
1 Parent(s): 6c7e5fd

Add model files and configs

Browse files
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/dit-base
3
+ tags:
4
+ - image-classification
5
+ - vision
6
+ - generated_from_trainer
7
+ datasets:
8
+ - imagefolder
9
+ model-index:
10
+ - name: dit-base-patient-chart
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # dit-base-patient-chart
18
+
19
+ This model is a fine-tuned version of [microsoft/dit-base](https://huggingface.co/microsoft/dit-base) on the imagefolder dataset.
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 8
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 3.0
45
+
46
+ ### Training results
47
+
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.36.0.dev0
53
+ - Pytorch 2.2.0.dev20231114
54
+ - Datasets 2.14.6
55
+ - Tokenizers 0.14.1
all_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_loss": 0.6518288294474284,
4
+ "train_runtime": 13.1635,
5
+ "train_samples_per_second": 7.749,
6
+ "train_steps_per_second": 1.14
7
+ }
config.json CHANGED
@@ -45,7 +45,7 @@
45
  ],
46
  "problem_type": "single_label_classification",
47
  "semantic_loss_ignore_index": 255,
48
- "transformers_version": "4.33.2",
49
  "use_absolute_position_embeddings": true,
50
  "use_auxiliary_head": true,
51
  "use_mask_token": true,
 
45
  ],
46
  "problem_type": "single_label_classification",
47
  "semantic_loss_ignore_index": 255,
48
+ "transformers_version": "4.36.0.dev0",
49
  "use_absolute_position_embeddings": true,
50
  "use_auxiliary_head": true,
51
  "use_mask_token": true,
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c33181aa08192caf4ba7fdcc2beaafe78cab47fa4114c2f2af36c5c96f789ab
3
+ size 343265176
onnx/model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1b049556636f6299c89a499294417b9aecd33e051d3a178e95023d935146e553
3
  size 343506465
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:946aedc54d6ba3173619f7593b1b3df0241fee733ea2bf2250a797eb14d9dfd0
3
  size 343506465
onnx/model_quantized.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:eb9dabcaa9754e890da22f747340b10ff3f6a06f631330b247ebe64f1632af80
3
  size 87112360
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e0437612008d814725c9f34fdd4eb05ed97e190f28798ed7969f15839c2b9a8
3
  size 87112360
quantize_config.json CHANGED
@@ -4,30 +4,30 @@
4
  "per_model_config": {
5
  "model": {
6
  "op_types": [
7
- "Sub",
8
- "Erf",
9
- "Expand",
10
- "Where",
11
- "Mul",
12
- "ReduceMean",
13
- "Concat",
14
- "Shape",
15
- "Conv",
16
  "Div",
17
- "Constant",
18
- "Reshape",
19
- "Add",
20
- "Transpose",
21
- "Gather",
22
- "Unsqueeze",
23
- "Pow",
24
  "Slice",
 
25
  "Equal",
26
- "ConstantOfShape",
27
  "Softmax",
28
- "Sqrt",
29
  "Gemm",
30
- "MatMul"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  ],
32
  "weight_type": "QUInt8"
33
  }
 
4
  "per_model_config": {
5
  "model": {
6
  "op_types": [
 
 
 
 
 
 
 
 
 
7
  "Div",
8
+ "Erf",
9
+ "ConstantOfShape",
 
 
 
 
 
10
  "Slice",
11
+ "Sqrt",
12
  "Equal",
13
+ "Mul",
14
  "Softmax",
 
15
  "Gemm",
16
+ "Pow",
17
+ "Expand",
18
+ "Transpose",
19
+ "Add",
20
+ "Constant",
21
+ "Unsqueeze",
22
+ "MatMul",
23
+ "Conv",
24
+ "Sub",
25
+ "ReduceMean",
26
+ "Concat",
27
+ "Where",
28
+ "Reshape",
29
+ "Shape",
30
+ "Gather"
31
  ],
32
  "weight_type": "QUInt8"
33
  }
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_loss": 0.6518288294474284,
4
+ "train_runtime": 13.1635,
5
+ "train_samples_per_second": 7.749,
6
+ "train_steps_per_second": 1.14
7
+ }
trainer_state.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 15,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 3.0,
13
+ "step": 15,
14
+ "total_flos": 7905102698078208.0,
15
+ "train_loss": 0.6518288294474284,
16
+ "train_runtime": 13.1635,
17
+ "train_samples_per_second": 7.749,
18
+ "train_steps_per_second": 1.14
19
+ }
20
+ ],
21
+ "logging_steps": 500,
22
+ "max_steps": 15,
23
+ "num_train_epochs": 3,
24
+ "save_steps": 500,
25
+ "total_flos": 7905102698078208.0,
26
+ "trial_name": null,
27
+ "trial_params": null
28
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ab806b52f12dfb3a21c3d64d2f0922048beec8b710bb3c0bb083546bf5579ce
3
+ size 4600