szili2011 commited on
Commit
c3616fa
·
verified ·
1 Parent(s): 1f937f0

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +21 -0
config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DiffusionPipeline", // Replace with the appropriate class name for your model
3
+ "model_type": "Image-Generation", // e.g., "unet", "autoencoder", etc.
4
+ "params": {
5
+ "num_train_timesteps": 1000, // Number of timesteps for training
6
+ "image_size": 256, // Size of the images your model expects
7
+ "channels": 3, // Number of input channels (3 for RGB)
8
+ "use_fp16": true, // Use float16 precision (true/false)
9
+ "dropout": 0.1 // Dropout rate, if applicable
10
+ },
11
+ "scheduler": {
12
+ "type": "pndm", // Scheduler type (e.g., "pndm", "ddim", etc.)
13
+ "beta_start": 0.00085, // Start value for beta
14
+ "beta_end": 0.012, // End value for beta
15
+ "beta_schedule": "linear" // Schedule for beta updates
16
+ },
17
+ "tokenizer": {
18
+ "type": "simple_tokenizer", // Type of tokenizer used
19
+ "vocab_size": 30522 // Size of the vocabulary
20
+ }
21
+ }