Upload models/Joy_caption_two/config.yaml with huggingface_hub
Browse files
models/Joy_caption_two/config.yaml
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
wandb_project: joy-caption-1
|
| 2 |
+
device_batch_size: 2
|
| 3 |
+
batch_size: 256
|
| 4 |
+
learning_rate: 0.0002
|
| 5 |
+
warmup_samples: 18000
|
| 6 |
+
max_samples: 600000
|
| 7 |
+
save_every: 50000
|
| 8 |
+
test_every: 50000
|
| 9 |
+
use_amp: true
|
| 10 |
+
grad_scaler: true
|
| 11 |
+
lr_scheduler_type: cosine
|
| 12 |
+
min_lr_ratio: 0.0
|
| 13 |
+
allow_tf32: true
|
| 14 |
+
seed: 69
|
| 15 |
+
num_workers: 8
|
| 16 |
+
optimizer_type: adamw
|
| 17 |
+
adam_beta1: 0.9
|
| 18 |
+
adam_beta2: 0.999
|
| 19 |
+
adam_eps: 1.0e-08
|
| 20 |
+
adam_weight_decay: 0.0
|
| 21 |
+
clip_grad_norm: 1.0
|
| 22 |
+
dataset: fancyfeast/joy-captioning-20240924a
|
| 23 |
+
clip_model: google/siglip-so400m-patch14-384
|
| 24 |
+
text_model: ../lora-train/lora_model_vwbzycxh
|
| 25 |
+
resume: null
|
| 26 |
+
gradient_checkpointing: false
|
| 27 |
+
test_size: 2048
|
| 28 |
+
grad_scaler_init: 65536.0
|
| 29 |
+
max_caption_length: 257
|
| 30 |
+
num_image_tokens: 32
|
| 31 |
+
adapter_type: mlp
|
| 32 |
+
text_model_dtype: bfloat16
|
| 33 |
+
pre_test: false
|
| 34 |
+
train_image_model: true
|
| 35 |
+
image_model_lr: null
|
| 36 |
+
train_lora: true
|
| 37 |
+
lora_r: 64
|
| 38 |
+
lora_alpha: 16
|
| 39 |
+
lora_dropout: 0.1
|