Upload folder using huggingface_hub
Browse files- README.md +23 -0
- config.json +56 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/Nov03_07-07-37_r-mccwilliam-med-doc-class-p3ist423-99c5d-onapf/events.out.tfevents.1730617658.r-mccwilliam-med-doc-class-p3ist423-99c5d-onapf.447.0 +2 -2
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- image-classification
|
6 |
+
base_model: microsoft/resnet-50
|
7 |
+
widget:
|
8 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
9 |
+
example_title: Tiger
|
10 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
11 |
+
example_title: Teapot
|
12 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
13 |
+
example_title: Palace
|
14 |
+
datasets:
|
15 |
+
- meat21/image
|
16 |
+
---
|
17 |
+
|
18 |
+
# Model Trained Using AutoTrain
|
19 |
+
|
20 |
+
- Problem type: Image Classification
|
21 |
+
|
22 |
+
## Validation Metrics
|
23 |
+
No validation metrics available
|
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-50",
|
3 |
+
"_num_labels": 5,
|
4 |
+
"architectures": [
|
5 |
+
"ResNetForImageClassification"
|
6 |
+
],
|
7 |
+
"depths": [
|
8 |
+
3,
|
9 |
+
4,
|
10 |
+
6,
|
11 |
+
3
|
12 |
+
],
|
13 |
+
"downsample_in_bottleneck": false,
|
14 |
+
"downsample_in_first_stage": false,
|
15 |
+
"embedding_size": 64,
|
16 |
+
"hidden_act": "relu",
|
17 |
+
"hidden_sizes": [
|
18 |
+
256,
|
19 |
+
512,
|
20 |
+
1024,
|
21 |
+
2048
|
22 |
+
],
|
23 |
+
"id2label": {
|
24 |
+
"0": "Credit Card Slip",
|
25 |
+
"1": "Hospital Discharge",
|
26 |
+
"2": "Hospital Doctor Slip",
|
27 |
+
"3": "Hospital Invoices",
|
28 |
+
"4": "Outpatient"
|
29 |
+
},
|
30 |
+
"label2id": {
|
31 |
+
"Credit Card Slip": 0,
|
32 |
+
"Hospital Discharge": 1,
|
33 |
+
"Hospital Doctor Slip": 2,
|
34 |
+
"Hospital Invoices": 3,
|
35 |
+
"Outpatient": 4
|
36 |
+
},
|
37 |
+
"layer_type": "bottleneck",
|
38 |
+
"model_type": "resnet",
|
39 |
+
"num_channels": 3,
|
40 |
+
"out_features": [
|
41 |
+
"stage4"
|
42 |
+
],
|
43 |
+
"out_indices": [
|
44 |
+
4
|
45 |
+
],
|
46 |
+
"problem_type": "single_label_classification",
|
47 |
+
"stage_names": [
|
48 |
+
"stem",
|
49 |
+
"stage1",
|
50 |
+
"stage2",
|
51 |
+
"stage3",
|
52 |
+
"stage4"
|
53 |
+
],
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.45.0"
|
56 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd58484cf094f6a988224561c9dd6d4383d202a3e75714b92032ff1f87dee9fb
|
3 |
+
size 94327540
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_processor_type": "ConvNextImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"shortest_edge": 224
|
21 |
+
}
|
22 |
+
}
|
runs/Nov03_07-07-37_r-mccwilliam-med-doc-class-p3ist423-99c5d-onapf/events.out.tfevents.1730617658.r-mccwilliam-med-doc-class-p3ist423-99c5d-onapf.447.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a4778b1bd2b52f86ed01157deaf2e28d5637d7967f063216698a1fdd6800204
|
3 |
+
size 10000
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:119a078ba44aafaa050f3046e5df60d1cd1b77874ebcbde3efd6d79adfa98517
|
3 |
+
size 5240
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "meat21/image",
|
3 |
+
"model": "microsoft/resnet-50",
|
4 |
+
"username": "meat21",
|
5 |
+
"lr": 5e-05,
|
6 |
+
"epochs": 3,
|
7 |
+
"batch_size": 8,
|
8 |
+
"warmup_ratio": 0.1,
|
9 |
+
"gradient_accumulation": 1,
|
10 |
+
"optimizer": "adamw_torch",
|
11 |
+
"scheduler": "linear",
|
12 |
+
"weight_decay": 0.0,
|
13 |
+
"max_grad_norm": 1.0,
|
14 |
+
"seed": 42,
|
15 |
+
"train_split": "train",
|
16 |
+
"valid_split": null,
|
17 |
+
"logging_steps": -1,
|
18 |
+
"project_name": "autotrain-exndy-zw8l6",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": "fp16",
|
21 |
+
"save_total_limit": 1,
|
22 |
+
"push_to_hub": true,
|
23 |
+
"eval_strategy": "epoch",
|
24 |
+
"image_column": "image",
|
25 |
+
"target_column": "label",
|
26 |
+
"log": "tensorboard",
|
27 |
+
"early_stopping_patience": 5,
|
28 |
+
"early_stopping_threshold": 0.01
|
29 |
+
}
|