yloa commited on
Commit
6eed571
·
verified ·
1 Parent(s): 53ef565

Model save

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: unsloth/medgemma-4b-it-unsloth-bnb-4bit
5
+ tags:
6
+ - base_model:adapter:unsloth/medgemma-4b-it-unsloth-bnb-4bit
7
+ - lora
8
+ - transformers
9
+ - unsloth
10
+ datasets:
11
+ - imagefolder
12
+ pipeline_tag: text-generation
13
+ model-index:
14
+ - name: derm-ai
15
+ results: []
16
+ ---
17
+
18
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
19
+ should probably proofread and complete it, then remove this comment. -->
20
+
21
+ # derm-ai
22
+
23
+ This model is a fine-tuned version of [unsloth/medgemma-4b-it-unsloth-bnb-4bit](https://huggingface.co/unsloth/medgemma-4b-it-unsloth-bnb-4bit) on the imagefolder dataset.
24
+ It achieves the following results on the evaluation set:
25
+ - eval_loss: 0.0633
26
+ - eval_runtime: 87.8654
27
+ - eval_samples_per_second: 1.138
28
+ - eval_steps_per_second: 0.569
29
+ - epoch: 0.4048
30
+ - step: 110
31
+
32
+ ## Model description
33
+
34
+ More information needed
35
+
36
+ ## Intended uses & limitations
37
+
38
+ More information needed
39
+
40
+ ## Training and evaluation data
41
+
42
+ More information needed
43
+
44
+ ## Training procedure
45
+
46
+ ### Training hyperparameters
47
+
48
+ The following hyperparameters were used during training:
49
+ - learning_rate: 0.0002
50
+ - train_batch_size: 2
51
+ - eval_batch_size: 2
52
+ - seed: 42
53
+ - gradient_accumulation_steps: 4
54
+ - total_train_batch_size: 8
55
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
56
+ - lr_scheduler_type: linear
57
+ - lr_scheduler_warmup_ratio: 0.03
58
+ - num_epochs: 3
59
+ - mixed_precision_training: Native AMP
60
+
61
+ ### Framework versions
62
+
63
+ - PEFT 0.16.0
64
+ - Transformers 4.57.1
65
+ - Pytorch 2.6.0+cu124
66
+ - Datasets 4.3.0
67
+ - Tokenizers 0.22.1
adapter_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "Gemma3ForConditionalGeneration",
5
+ "parent_library": "transformers.models.gemma3.modeling_gemma3",
6
+ "unsloth_fixed": true
7
+ },
8
+ "base_model_name_or_path": "unsloth/medgemma-4b-it-unsloth-bnb-4bit",
9
+ "bias": "none",
10
+ "corda_config": null,
11
+ "eva_config": null,
12
+ "exclude_modules": null,
13
+ "fan_in_fan_out": false,
14
+ "inference_mode": true,
15
+ "init_lora_weights": true,
16
+ "layer_replication": null,
17
+ "layers_pattern": null,
18
+ "layers_to_transform": null,
19
+ "loftq_config": {},
20
+ "lora_alpha": 16,
21
+ "lora_bias": false,
22
+ "lora_dropout": 0.05,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": [
26
+ "vision_model.post_layernorm"
27
+ ],
28
+ "peft_type": "LORA",
29
+ "qalora_group_size": 16,
30
+ "r": 16,
31
+ "rank_pattern": {},
32
+ "revision": null,
33
+ "target_modules": [
34
+ "q_proj",
35
+ "v_proj",
36
+ "o_proj",
37
+ "vision_model.post_layernorm",
38
+ "down_proj",
39
+ "k_proj",
40
+ "up_proj",
41
+ "gate_proj"
42
+ ],
43
+ "task_type": "CAUSAL_LM",
44
+ "trainable_token_indices": null,
45
+ "use_dora": false,
46
+ "use_qalora": false,
47
+ "use_rslora": false
48
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a19ed0e850efececeb8c8c091ea7a017a4a2f2ffd12d087198661be192643063
3
+ size 131261784
runs/Nov10_13-19-24_9aed36e79a4e/events.out.tfevents.1762780821.9aed36e79a4e.48.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1910b9d9fa7a3965e1628ba6444a25be447988283852c544261938fae3e77806
3
+ size 33480
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fc35553b22b48f26b85d781b5373c4e2924ea2476969bc351630159e70bc38d
3
+ size 5432