You're looking at a specific version of this model. Jump to the model overview.
learners-superpumped /dreambooth-tar:d1810add
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
instance_data |
string
|
A ZIP file containing your training images (JPG, PNG, etc. size not restricted). These images contain your 'subject' that you want the trained model to embed in the output domain for later generating customized scenes beyond the training images. For best results, use images without noise or unrelated objects in the background.
|
|
class_data |
string
|
An optional ZIP file containing the training data of class images. This corresponds to `class_prompt` above, also with the purpose of keeping the model generalizable. By default, the pretrained stable-diffusion model will generate N images (determined by the `num_class_images` you set) based on the `class_prompt` provided. But to save time or to have your preferred specific set of `class_data`, you can also provide them in a ZIP file.
|
|
resolution |
integer
|
512
|
The resolution for input images. All the images in the train/validation dataset will be resized to this resolution.
|
ckpt_base |
string
|
https://huggingface.co/BanKaiPls/AsianModel/resolve/main/Brav6.safetensors
|
The base model for tuning
|
train_batch_size |
integer
|
2
|
Batch size (per device) for the training dataloader.
|
user_name |
string
|
testuser
|
User name
|
max_train_steps |
integer
|
1760
|
Total number of training steps to perform. If provided, overrides num_train_epochs.
|
learning_rate |
number
|
0.00002
|
Initial learning rate (after the potential warmup period) to use.
|
lr_scheduler |
string
(enum)
|
constant_with_warmup
Options: linear, cosine, cosine_with_restarts, polynomial, constant, constant_with_warmup |
The scheduler type to use
|
model_id |
string
|
test_model
|
model save path
|
lr_warmup_steps |
integer
|
176
|
Number of steps for the warmup in the lr scheduler.
|
lambda_arc |
number
|
0.075
|
Loss weight for arcface loss
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'properties': {'weights': {'format': 'uri',
'title': 'Weights',
'type': 'string'}},
'required': ['weights'],
'title': 'TrainingOutput',
'type': 'object'}