Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
args = Namespace(
|
| 2 |
+
model = "kandinsky-community/kandinsky-2-2-prior",
|
| 3 |
+
image_path = "/content/images/CFP",
|
| 4 |
+
prompt_path = "/content/data.csv",
|
| 5 |
+
output_path = "/content/output",
|
| 6 |
+
mixed_precision='bf16',
|
| 7 |
+
gradient_accumulation_steps=1,
|
| 8 |
+
seed = 1703,
|
| 9 |
+
rank=32,
|
| 10 |
+
use_rslora=True,
|
| 11 |
+
init_lora_weights='gaussian',
|
| 12 |
+
max_grad_norm=1,
|
| 13 |
+
lr=1e-4,
|
| 14 |
+
lr_scheduler='constant',
|
| 15 |
+
lr_warmup_steps=0,
|
| 16 |
+
train_batch_size=32,
|
| 17 |
+
num_train_epochs=10,
|
| 18 |
+
snr_gamma=5,
|
| 19 |
+
resume_from_checkpoint=None,
|
| 20 |
+
checkpointing_steps=680
|
| 21 |
+
)
|