ALYYAN commited on
Commit
31f840b
·
1 Parent(s): 660235d

refactor(gitignore): Refine artifact rules for Git LFS

Browse files
.gitattributes ADDED
@@ -0,0 +1 @@
 
 
1
+ artifacts/model_training/model/model.safetensors filter=lfs diff=lfs merge=lfs -text
.gitignore CHANGED
@@ -16,7 +16,9 @@ venv.bak/
16
  # DVC tracks data, so we don't need Git to. We only commit the .dvc files.
17
  # The `artifacts` and `logs` directories will be generated by the pipeline.
18
  # =============================================================================
19
- /artifacts/
 
 
20
  /logs/
21
  /mlruns/
22
  # DVC's internal cache should NEVER be committed.
 
16
  # DVC tracks data, so we don't need Git to. We only commit the .dvc files.
17
  # The `artifacts` and `logs` directories will be generated by the pipeline.
18
  # =============================================================================
19
+ /artifacts/data_ingestion/
20
+ /artifacts/data_transformation/
21
+ /artifacts/model_evaluation/
22
  /logs/
23
  /mlruns/
24
  # DVC's internal cache should NEVER be committed.
artifacts/model_training/model/config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "dtype": "float32",
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "NORMAL",
13
+ "1": "PNEUMONIA"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "NORMAL": 0,
20
+ "PNEUMONIA": 1
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "model_type": "vit",
24
+ "num_attention_heads": 12,
25
+ "num_channels": 3,
26
+ "num_hidden_layers": 12,
27
+ "patch_size": 16,
28
+ "pooler_act": "tanh",
29
+ "pooler_output_size": 768,
30
+ "problem_type": "single_label_classification",
31
+ "qkv_bias": true,
32
+ "transformers_version": "4.56.1"
33
+ }
artifacts/model_training/model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3518fc5d84325c3ef55c0c189b4bff38e991b98a43291f4256b068552de8c7d1
3
+ size 343223968
artifacts/model_training/model/preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
artifacts/model_training/model/training_args.bin ADDED
Binary file (5.43 kB). View file