Upload StableCascadePriorPipeline
Browse files- README.md +200 -0
 - feature_extractor/preprocessor_config.json +28 -0
 - image_encoder/config.json +23 -0
 - image_encoder/model.safetensors +3 -0
 - model_index.json +29 -0
 - prior/config.json +74 -0
 - prior/diffusion_pytorch_model.safetensors +3 -0
 - scheduler/scheduler_config.json +6 -0
 - text_encoder/config.json +25 -0
 - text_encoder/model.safetensors +3 -0
 - tokenizer/merges.txt +0 -0
 - tokenizer/special_tokens_map.json +24 -0
 - tokenizer/tokenizer.json +0 -0
 - tokenizer/tokenizer_config.json +30 -0
 - tokenizer/vocab.json +0 -0
 
    	
        README.md
    ADDED
    
    | 
         @@ -0,0 +1,200 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            ---
         
     | 
| 2 | 
         
            +
            library_name: diffusers
         
     | 
| 3 | 
         
            +
            ---
         
     | 
| 4 | 
         
            +
             
     | 
| 5 | 
         
            +
            # Model Card for Model ID
         
     | 
| 6 | 
         
            +
             
     | 
| 7 | 
         
            +
            <!-- Provide a quick summary of what the model is/does. -->
         
     | 
| 8 | 
         
            +
             
     | 
| 9 | 
         
            +
             
     | 
| 10 | 
         
            +
             
     | 
| 11 | 
         
            +
            ## Model Details
         
     | 
| 12 | 
         
            +
             
     | 
| 13 | 
         
            +
            ### Model Description
         
     | 
| 14 | 
         
            +
             
     | 
| 15 | 
         
            +
            <!-- Provide a longer summary of what this model is. -->
         
     | 
| 16 | 
         
            +
             
     | 
| 17 | 
         
            +
            This is the model card of a 🧨 diffusers pipeline that has been pushed on the Hub. This model card has been automatically generated.
         
     | 
| 18 | 
         
            +
             
     | 
| 19 | 
         
            +
            - **Developed by:** [More Information Needed]
         
     | 
| 20 | 
         
            +
            - **Funded by [optional]:** [More Information Needed]
         
     | 
| 21 | 
         
            +
            - **Shared by [optional]:** [More Information Needed]
         
     | 
| 22 | 
         
            +
            - **Model type:** [More Information Needed]
         
     | 
| 23 | 
         
            +
            - **Language(s) (NLP):** [More Information Needed]
         
     | 
| 24 | 
         
            +
            - **License:** [More Information Needed]
         
     | 
| 25 | 
         
            +
            - **Finetuned from model [optional]:** [More Information Needed]
         
     | 
| 26 | 
         
            +
             
     | 
| 27 | 
         
            +
            ### Model Sources [optional]
         
     | 
| 28 | 
         
            +
             
     | 
| 29 | 
         
            +
            <!-- Provide the basic links for the model. -->
         
     | 
| 30 | 
         
            +
             
     | 
| 31 | 
         
            +
            - **Repository:** [More Information Needed]
         
     | 
| 32 | 
         
            +
            - **Paper [optional]:** [More Information Needed]
         
     | 
| 33 | 
         
            +
            - **Demo [optional]:** [More Information Needed]
         
     | 
| 34 | 
         
            +
             
     | 
| 35 | 
         
            +
            ## Uses
         
     | 
| 36 | 
         
            +
             
     | 
| 37 | 
         
            +
            <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
         
     | 
| 38 | 
         
            +
             
     | 
| 39 | 
         
            +
            ### Direct Use
         
     | 
| 40 | 
         
            +
             
     | 
| 41 | 
         
            +
            <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
         
     | 
| 42 | 
         
            +
             
     | 
| 43 | 
         
            +
            [More Information Needed]
         
     | 
| 44 | 
         
            +
             
     | 
| 45 | 
         
            +
            ### Downstream Use [optional]
         
     | 
| 46 | 
         
            +
             
     | 
| 47 | 
         
            +
            <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
         
     | 
| 48 | 
         
            +
             
     | 
| 49 | 
         
            +
            [More Information Needed]
         
     | 
| 50 | 
         
            +
             
     | 
| 51 | 
         
            +
            ### Out-of-Scope Use
         
     | 
| 52 | 
         
            +
             
     | 
| 53 | 
         
            +
            <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
         
     | 
| 54 | 
         
            +
             
     | 
| 55 | 
         
            +
            [More Information Needed]
         
     | 
| 56 | 
         
            +
             
     | 
| 57 | 
         
            +
            ## Bias, Risks, and Limitations
         
     | 
| 58 | 
         
            +
             
     | 
| 59 | 
         
            +
            <!-- This section is meant to convey both technical and sociotechnical limitations. -->
         
     | 
| 60 | 
         
            +
             
     | 
| 61 | 
         
            +
            [More Information Needed]
         
     | 
| 62 | 
         
            +
             
     | 
| 63 | 
         
            +
            ### Recommendations
         
     | 
| 64 | 
         
            +
             
     | 
| 65 | 
         
            +
            <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
         
     | 
| 66 | 
         
            +
             
     | 
| 67 | 
         
            +
            Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
         
     | 
| 68 | 
         
            +
             
     | 
| 69 | 
         
            +
            ## How to Get Started with the Model
         
     | 
| 70 | 
         
            +
             
     | 
| 71 | 
         
            +
            Use the code below to get started with the model.
         
     | 
| 72 | 
         
            +
             
     | 
| 73 | 
         
            +
            [More Information Needed]
         
     | 
| 74 | 
         
            +
             
     | 
| 75 | 
         
            +
            ## Training Details
         
     | 
| 76 | 
         
            +
             
     | 
| 77 | 
         
            +
            ### Training Data
         
     | 
| 78 | 
         
            +
             
     | 
| 79 | 
         
            +
            <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
         
     | 
| 80 | 
         
            +
             
     | 
| 81 | 
         
            +
            [More Information Needed]
         
     | 
| 82 | 
         
            +
             
     | 
| 83 | 
         
            +
            ### Training Procedure 
         
     | 
| 84 | 
         
            +
             
     | 
| 85 | 
         
            +
            <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
         
     | 
| 86 | 
         
            +
             
     | 
| 87 | 
         
            +
            #### Preprocessing [optional]
         
     | 
| 88 | 
         
            +
             
     | 
| 89 | 
         
            +
            [More Information Needed]
         
     | 
| 90 | 
         
            +
             
     | 
| 91 | 
         
            +
             
     | 
| 92 | 
         
            +
            #### Training Hyperparameters
         
     | 
| 93 | 
         
            +
             
     | 
| 94 | 
         
            +
            - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
         
     | 
| 95 | 
         
            +
             
     | 
| 96 | 
         
            +
            #### Speeds, Sizes, Times [optional]
         
     | 
| 97 | 
         
            +
             
     | 
| 98 | 
         
            +
            <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
         
     | 
| 99 | 
         
            +
             
     | 
| 100 | 
         
            +
            [More Information Needed]
         
     | 
| 101 | 
         
            +
             
     | 
| 102 | 
         
            +
            ## Evaluation
         
     | 
| 103 | 
         
            +
             
     | 
| 104 | 
         
            +
            <!-- This section describes the evaluation protocols and provides the results. -->
         
     | 
| 105 | 
         
            +
             
     | 
| 106 | 
         
            +
            ### Testing Data, Factors & Metrics
         
     | 
| 107 | 
         
            +
             
     | 
| 108 | 
         
            +
            #### Testing Data
         
     | 
| 109 | 
         
            +
             
     | 
| 110 | 
         
            +
            <!-- This should link to a Dataset Card if possible. -->
         
     | 
| 111 | 
         
            +
             
     | 
| 112 | 
         
            +
            [More Information Needed]
         
     | 
| 113 | 
         
            +
             
     | 
| 114 | 
         
            +
            #### Factors
         
     | 
| 115 | 
         
            +
             
     | 
| 116 | 
         
            +
            <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
         
     | 
| 117 | 
         
            +
             
     | 
| 118 | 
         
            +
            [More Information Needed]
         
     | 
| 119 | 
         
            +
             
     | 
| 120 | 
         
            +
            #### Metrics
         
     | 
| 121 | 
         
            +
             
     | 
| 122 | 
         
            +
            <!-- These are the evaluation metrics being used, ideally with a description of why. -->
         
     | 
| 123 | 
         
            +
             
     | 
| 124 | 
         
            +
            [More Information Needed]
         
     | 
| 125 | 
         
            +
             
     | 
| 126 | 
         
            +
            ### Results
         
     | 
| 127 | 
         
            +
             
     | 
| 128 | 
         
            +
            [More Information Needed]
         
     | 
| 129 | 
         
            +
             
     | 
| 130 | 
         
            +
            #### Summary
         
     | 
| 131 | 
         
            +
             
     | 
| 132 | 
         
            +
             
     | 
| 133 | 
         
            +
             
     | 
| 134 | 
         
            +
            ## Model Examination [optional]
         
     | 
| 135 | 
         
            +
             
     | 
| 136 | 
         
            +
            <!-- Relevant interpretability work for the model goes here -->
         
     | 
| 137 | 
         
            +
             
     | 
| 138 | 
         
            +
            [More Information Needed]
         
     | 
| 139 | 
         
            +
             
     | 
| 140 | 
         
            +
            ## Environmental Impact
         
     | 
| 141 | 
         
            +
             
     | 
| 142 | 
         
            +
            <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
         
     | 
| 143 | 
         
            +
             
     | 
| 144 | 
         
            +
            Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
         
     | 
| 145 | 
         
            +
             
     | 
| 146 | 
         
            +
            - **Hardware Type:** [More Information Needed]
         
     | 
| 147 | 
         
            +
            - **Hours used:** [More Information Needed]
         
     | 
| 148 | 
         
            +
            - **Cloud Provider:** [More Information Needed]
         
     | 
| 149 | 
         
            +
            - **Compute Region:** [More Information Needed]
         
     | 
| 150 | 
         
            +
            - **Carbon Emitted:** [More Information Needed]
         
     | 
| 151 | 
         
            +
             
     | 
| 152 | 
         
            +
            ## Technical Specifications [optional]
         
     | 
| 153 | 
         
            +
             
     | 
| 154 | 
         
            +
            ### Model Architecture and Objective
         
     | 
| 155 | 
         
            +
             
     | 
| 156 | 
         
            +
            [More Information Needed]
         
     | 
| 157 | 
         
            +
             
     | 
| 158 | 
         
            +
            ### Compute Infrastructure
         
     | 
| 159 | 
         
            +
             
     | 
| 160 | 
         
            +
            [More Information Needed]
         
     | 
| 161 | 
         
            +
             
     | 
| 162 | 
         
            +
            #### Hardware
         
     | 
| 163 | 
         
            +
             
     | 
| 164 | 
         
            +
            [More Information Needed]
         
     | 
| 165 | 
         
            +
             
     | 
| 166 | 
         
            +
            #### Software
         
     | 
| 167 | 
         
            +
             
     | 
| 168 | 
         
            +
            [More Information Needed]
         
     | 
| 169 | 
         
            +
             
     | 
| 170 | 
         
            +
            ## Citation [optional]
         
     | 
| 171 | 
         
            +
             
     | 
| 172 | 
         
            +
            <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
         
     | 
| 173 | 
         
            +
             
     | 
| 174 | 
         
            +
            **BibTeX:**
         
     | 
| 175 | 
         
            +
             
     | 
| 176 | 
         
            +
            [More Information Needed]
         
     | 
| 177 | 
         
            +
             
     | 
| 178 | 
         
            +
            **APA:**
         
     | 
| 179 | 
         
            +
             
     | 
| 180 | 
         
            +
            [More Information Needed]
         
     | 
| 181 | 
         
            +
             
     | 
| 182 | 
         
            +
            ## Glossary [optional]
         
     | 
| 183 | 
         
            +
             
     | 
| 184 | 
         
            +
            <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
         
     | 
| 185 | 
         
            +
             
     | 
| 186 | 
         
            +
            [More Information Needed]
         
     | 
| 187 | 
         
            +
             
     | 
| 188 | 
         
            +
            ## More Information [optional]
         
     | 
| 189 | 
         
            +
             
     | 
| 190 | 
         
            +
            [More Information Needed]
         
     | 
| 191 | 
         
            +
             
     | 
| 192 | 
         
            +
            ## Model Card Authors [optional]
         
     | 
| 193 | 
         
            +
             
     | 
| 194 | 
         
            +
            [More Information Needed]
         
     | 
| 195 | 
         
            +
             
     | 
| 196 | 
         
            +
            ## Model Card Contact
         
     | 
| 197 | 
         
            +
             
     | 
| 198 | 
         
            +
            [More Information Needed]
         
     | 
| 199 | 
         
            +
             
     | 
| 200 | 
         
            +
             
     | 
    	
        feature_extractor/preprocessor_config.json
    ADDED
    
    | 
         @@ -0,0 +1,28 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "crop_size": {
         
     | 
| 3 | 
         
            +
                "height": 224,
         
     | 
| 4 | 
         
            +
                "width": 224
         
     | 
| 5 | 
         
            +
              },
         
     | 
| 6 | 
         
            +
              "do_center_crop": true,
         
     | 
| 7 | 
         
            +
              "do_convert_rgb": true,
         
     | 
| 8 | 
         
            +
              "do_normalize": true,
         
     | 
| 9 | 
         
            +
              "do_rescale": true,
         
     | 
| 10 | 
         
            +
              "do_resize": true,
         
     | 
| 11 | 
         
            +
              "image_mean": [
         
     | 
| 12 | 
         
            +
                0.48145466,
         
     | 
| 13 | 
         
            +
                0.4578275,
         
     | 
| 14 | 
         
            +
                0.40821073
         
     | 
| 15 | 
         
            +
              ],
         
     | 
| 16 | 
         
            +
              "image_processor_type": "CLIPImageProcessor",
         
     | 
| 17 | 
         
            +
              "image_std": [
         
     | 
| 18 | 
         
            +
                0.26862954,
         
     | 
| 19 | 
         
            +
                0.26130258,
         
     | 
| 20 | 
         
            +
                0.27577711
         
     | 
| 21 | 
         
            +
              ],
         
     | 
| 22 | 
         
            +
              "resample": 3,
         
     | 
| 23 | 
         
            +
              "rescale_factor": 0.00392156862745098,
         
     | 
| 24 | 
         
            +
              "size": {
         
     | 
| 25 | 
         
            +
                "shortest_edge": 224
         
     | 
| 26 | 
         
            +
              },
         
     | 
| 27 | 
         
            +
              "use_square_size": false
         
     | 
| 28 | 
         
            +
            }
         
     | 
    	
        image_encoder/config.json
    ADDED
    
    | 
         @@ -0,0 +1,23 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "_name_or_path": "openai/clip-vit-large-patch14",
         
     | 
| 3 | 
         
            +
              "architectures": [
         
     | 
| 4 | 
         
            +
                "CLIPVisionModelWithProjection"
         
     | 
| 5 | 
         
            +
              ],
         
     | 
| 6 | 
         
            +
              "attention_dropout": 0.0,
         
     | 
| 7 | 
         
            +
              "dropout": 0.0,
         
     | 
| 8 | 
         
            +
              "hidden_act": "quick_gelu",
         
     | 
| 9 | 
         
            +
              "hidden_size": 1024,
         
     | 
| 10 | 
         
            +
              "image_size": 224,
         
     | 
| 11 | 
         
            +
              "initializer_factor": 1.0,
         
     | 
| 12 | 
         
            +
              "initializer_range": 0.02,
         
     | 
| 13 | 
         
            +
              "intermediate_size": 4096,
         
     | 
| 14 | 
         
            +
              "layer_norm_eps": 1e-05,
         
     | 
| 15 | 
         
            +
              "model_type": "clip_vision_model",
         
     | 
| 16 | 
         
            +
              "num_attention_heads": 16,
         
     | 
| 17 | 
         
            +
              "num_channels": 3,
         
     | 
| 18 | 
         
            +
              "num_hidden_layers": 24,
         
     | 
| 19 | 
         
            +
              "patch_size": 14,
         
     | 
| 20 | 
         
            +
              "projection_dim": 768,
         
     | 
| 21 | 
         
            +
              "torch_dtype": "float32",
         
     | 
| 22 | 
         
            +
              "transformers_version": "4.35.2"
         
     | 
| 23 | 
         
            +
            }
         
     | 
    	
        image_encoder/model.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:77b33d2a3a643650857672e880ccf73adbaf114fbbadec36d142ee9d48af7e20
         
     | 
| 3 | 
         
            +
            size 1215912728
         
     | 
    	
        model_index.json
    ADDED
    
    | 
         @@ -0,0 +1,29 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "_class_name": "StableCascadePriorPipeline",
         
     | 
| 3 | 
         
            +
              "_diffusers_version": "0.27.0.dev0",
         
     | 
| 4 | 
         
            +
              "feature_extractor": [
         
     | 
| 5 | 
         
            +
                "transformers",
         
     | 
| 6 | 
         
            +
                "CLIPImageProcessor"
         
     | 
| 7 | 
         
            +
              ],
         
     | 
| 8 | 
         
            +
              "image_encoder": [
         
     | 
| 9 | 
         
            +
                "transformers",
         
     | 
| 10 | 
         
            +
                "CLIPVisionModelWithProjection"
         
     | 
| 11 | 
         
            +
              ],
         
     | 
| 12 | 
         
            +
              "prior": [
         
     | 
| 13 | 
         
            +
                "diffusers",
         
     | 
| 14 | 
         
            +
                "StableCascadeUNet"
         
     | 
| 15 | 
         
            +
              ],
         
     | 
| 16 | 
         
            +
              "resolution_multiple": 42.67,
         
     | 
| 17 | 
         
            +
              "scheduler": [
         
     | 
| 18 | 
         
            +
                "diffusers",
         
     | 
| 19 | 
         
            +
                "DDPMWuerstchenScheduler"
         
     | 
| 20 | 
         
            +
              ],
         
     | 
| 21 | 
         
            +
              "text_encoder": [
         
     | 
| 22 | 
         
            +
                "transformers",
         
     | 
| 23 | 
         
            +
                "CLIPTextModelWithProjection"
         
     | 
| 24 | 
         
            +
              ],
         
     | 
| 25 | 
         
            +
              "tokenizer": [
         
     | 
| 26 | 
         
            +
                "transformers",
         
     | 
| 27 | 
         
            +
                "CLIPTokenizerFast"
         
     | 
| 28 | 
         
            +
              ]
         
     | 
| 29 | 
         
            +
            }
         
     | 
    	
        prior/config.json
    ADDED
    
    | 
         @@ -0,0 +1,74 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "_class_name": "StableCascadeUNet",
         
     | 
| 3 | 
         
            +
              "_diffusers_version": "0.27.0.dev0",
         
     | 
| 4 | 
         
            +
              "block_out_channels": [
         
     | 
| 5 | 
         
            +
                2048,
         
     | 
| 6 | 
         
            +
                2048
         
     | 
| 7 | 
         
            +
              ],
         
     | 
| 8 | 
         
            +
              "block_repeat": [
         
     | 
| 9 | 
         
            +
                [
         
     | 
| 10 | 
         
            +
                  1,
         
     | 
| 11 | 
         
            +
                  1
         
     | 
| 12 | 
         
            +
                ],
         
     | 
| 13 | 
         
            +
                [
         
     | 
| 14 | 
         
            +
                  1,
         
     | 
| 15 | 
         
            +
                  1
         
     | 
| 16 | 
         
            +
                ]
         
     | 
| 17 | 
         
            +
              ],
         
     | 
| 18 | 
         
            +
              "block_types_per_layer": [
         
     | 
| 19 | 
         
            +
                [
         
     | 
| 20 | 
         
            +
                  "SDCascadeResBlock",
         
     | 
| 21 | 
         
            +
                  "SDCascadeTimestepBlock",
         
     | 
| 22 | 
         
            +
                  "SDCascadeAttnBlock"
         
     | 
| 23 | 
         
            +
                ],
         
     | 
| 24 | 
         
            +
                [
         
     | 
| 25 | 
         
            +
                  "SDCascadeResBlock",
         
     | 
| 26 | 
         
            +
                  "SDCascadeTimestepBlock",
         
     | 
| 27 | 
         
            +
                  "SDCascadeAttnBlock"
         
     | 
| 28 | 
         
            +
                ]
         
     | 
| 29 | 
         
            +
              ],
         
     | 
| 30 | 
         
            +
              "clip_image_in_channels": 768,
         
     | 
| 31 | 
         
            +
              "clip_seq": 4,
         
     | 
| 32 | 
         
            +
              "clip_text_in_channels": 1280,
         
     | 
| 33 | 
         
            +
              "clip_text_pooled_in_channels": 1280,
         
     | 
| 34 | 
         
            +
              "conditioning_dim": 2048,
         
     | 
| 35 | 
         
            +
              "down_blocks_repeat_mappers": [
         
     | 
| 36 | 
         
            +
                1,
         
     | 
| 37 | 
         
            +
                1
         
     | 
| 38 | 
         
            +
              ],
         
     | 
| 39 | 
         
            +
              "down_num_layers_per_block": [
         
     | 
| 40 | 
         
            +
                8,
         
     | 
| 41 | 
         
            +
                24
         
     | 
| 42 | 
         
            +
              ],
         
     | 
| 43 | 
         
            +
              "dropout": [
         
     | 
| 44 | 
         
            +
                0.1,
         
     | 
| 45 | 
         
            +
                0.1
         
     | 
| 46 | 
         
            +
              ],
         
     | 
| 47 | 
         
            +
              "effnet_in_channels": null,
         
     | 
| 48 | 
         
            +
              "in_channels": 16,
         
     | 
| 49 | 
         
            +
              "kernel_size": 3,
         
     | 
| 50 | 
         
            +
              "num_attention_heads": [
         
     | 
| 51 | 
         
            +
                32,
         
     | 
| 52 | 
         
            +
                32
         
     | 
| 53 | 
         
            +
              ],
         
     | 
| 54 | 
         
            +
              "out_channels": 16,
         
     | 
| 55 | 
         
            +
              "patch_size": 1,
         
     | 
| 56 | 
         
            +
              "pixel_mapper_in_channels": null,
         
     | 
| 57 | 
         
            +
              "self_attn": true,
         
     | 
| 58 | 
         
            +
              "switch_level": [
         
     | 
| 59 | 
         
            +
                false
         
     | 
| 60 | 
         
            +
              ],
         
     | 
| 61 | 
         
            +
              "timestep_conditioning_type": [
         
     | 
| 62 | 
         
            +
                "sca",
         
     | 
| 63 | 
         
            +
                "crp"
         
     | 
| 64 | 
         
            +
              ],
         
     | 
| 65 | 
         
            +
              "timestep_ratio_embedding_dim": 64,
         
     | 
| 66 | 
         
            +
              "up_blocks_repeat_mappers": [
         
     | 
| 67 | 
         
            +
                1,
         
     | 
| 68 | 
         
            +
                1
         
     | 
| 69 | 
         
            +
              ],
         
     | 
| 70 | 
         
            +
              "up_num_layers_per_block": [
         
     | 
| 71 | 
         
            +
                24,
         
     | 
| 72 | 
         
            +
                8
         
     | 
| 73 | 
         
            +
              ]
         
     | 
| 74 | 
         
            +
            }
         
     | 
    	
        prior/diffusion_pytorch_model.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:0a2c7aa62c503780b85f74fd513b1b99c12ea4f83422bdbad5ac264aa68efb4b
         
     | 
| 3 | 
         
            +
            size 14356584672
         
     | 
    	
        scheduler/scheduler_config.json
    ADDED
    
    | 
         @@ -0,0 +1,6 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "_class_name": "DDPMWuerstchenScheduler",
         
     | 
| 3 | 
         
            +
              "_diffusers_version": "0.27.0.dev0",
         
     | 
| 4 | 
         
            +
              "s": 0.008,
         
     | 
| 5 | 
         
            +
              "scaler": 1.0
         
     | 
| 6 | 
         
            +
            }
         
     | 
    	
        text_encoder/config.json
    ADDED
    
    | 
         @@ -0,0 +1,25 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "_name_or_path": "laion/CLIP-ViT-bigG-14-laion2B-39B-b160k",
         
     | 
| 3 | 
         
            +
              "architectures": [
         
     | 
| 4 | 
         
            +
                "CLIPTextModelWithProjection"
         
     | 
| 5 | 
         
            +
              ],
         
     | 
| 6 | 
         
            +
              "attention_dropout": 0.0,
         
     | 
| 7 | 
         
            +
              "bos_token_id": 49406,
         
     | 
| 8 | 
         
            +
              "dropout": 0.0,
         
     | 
| 9 | 
         
            +
              "eos_token_id": 49407,
         
     | 
| 10 | 
         
            +
              "hidden_act": "gelu",
         
     | 
| 11 | 
         
            +
              "hidden_size": 1280,
         
     | 
| 12 | 
         
            +
              "initializer_factor": 1.0,
         
     | 
| 13 | 
         
            +
              "initializer_range": 0.02,
         
     | 
| 14 | 
         
            +
              "intermediate_size": 5120,
         
     | 
| 15 | 
         
            +
              "layer_norm_eps": 1e-05,
         
     | 
| 16 | 
         
            +
              "max_position_embeddings": 77,
         
     | 
| 17 | 
         
            +
              "model_type": "clip_text_model",
         
     | 
| 18 | 
         
            +
              "num_attention_heads": 20,
         
     | 
| 19 | 
         
            +
              "num_hidden_layers": 32,
         
     | 
| 20 | 
         
            +
              "pad_token_id": 1,
         
     | 
| 21 | 
         
            +
              "projection_dim": 1280,
         
     | 
| 22 | 
         
            +
              "torch_dtype": "float32",
         
     | 
| 23 | 
         
            +
              "transformers_version": "4.35.2",
         
     | 
| 24 | 
         
            +
              "vocab_size": 49408
         
     | 
| 25 | 
         
            +
            }
         
     | 
    	
        text_encoder/model.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:fa5b2e6f4c2efc2d82e4b8312faec1a5540eabfc6415126c9a05c8436a530ef4
         
     | 
| 3 | 
         
            +
            size 2778702264
         
     | 
    	
        tokenizer/merges.txt
    ADDED
    
    | 
         The diff for this file is too large to render. 
		See raw diff 
     | 
| 
         | 
    	
        tokenizer/special_tokens_map.json
    ADDED
    
    | 
         @@ -0,0 +1,24 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "bos_token": {
         
     | 
| 3 | 
         
            +
                "content": "<|startoftext|>",
         
     | 
| 4 | 
         
            +
                "lstrip": false,
         
     | 
| 5 | 
         
            +
                "normalized": true,
         
     | 
| 6 | 
         
            +
                "rstrip": false,
         
     | 
| 7 | 
         
            +
                "single_word": false
         
     | 
| 8 | 
         
            +
              },
         
     | 
| 9 | 
         
            +
              "eos_token": {
         
     | 
| 10 | 
         
            +
                "content": "<|endoftext|>",
         
     | 
| 11 | 
         
            +
                "lstrip": false,
         
     | 
| 12 | 
         
            +
                "normalized": true,
         
     | 
| 13 | 
         
            +
                "rstrip": false,
         
     | 
| 14 | 
         
            +
                "single_word": false
         
     | 
| 15 | 
         
            +
              },
         
     | 
| 16 | 
         
            +
              "pad_token": "<|endoftext|>",
         
     | 
| 17 | 
         
            +
              "unk_token": {
         
     | 
| 18 | 
         
            +
                "content": "<|endoftext|>",
         
     | 
| 19 | 
         
            +
                "lstrip": false,
         
     | 
| 20 | 
         
            +
                "normalized": true,
         
     | 
| 21 | 
         
            +
                "rstrip": false,
         
     | 
| 22 | 
         
            +
                "single_word": false
         
     | 
| 23 | 
         
            +
              }
         
     | 
| 24 | 
         
            +
            }
         
     | 
    	
        tokenizer/tokenizer.json
    ADDED
    
    | 
         The diff for this file is too large to render. 
		See raw diff 
     | 
| 
         | 
    	
        tokenizer/tokenizer_config.json
    ADDED
    
    | 
         @@ -0,0 +1,30 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "add_prefix_space": false,
         
     | 
| 3 | 
         
            +
              "added_tokens_decoder": {
         
     | 
| 4 | 
         
            +
                "49406": {
         
     | 
| 5 | 
         
            +
                  "content": "<|startoftext|>",
         
     | 
| 6 | 
         
            +
                  "lstrip": false,
         
     | 
| 7 | 
         
            +
                  "normalized": true,
         
     | 
| 8 | 
         
            +
                  "rstrip": false,
         
     | 
| 9 | 
         
            +
                  "single_word": false,
         
     | 
| 10 | 
         
            +
                  "special": true
         
     | 
| 11 | 
         
            +
                },
         
     | 
| 12 | 
         
            +
                "49407": {
         
     | 
| 13 | 
         
            +
                  "content": "<|endoftext|>",
         
     | 
| 14 | 
         
            +
                  "lstrip": false,
         
     | 
| 15 | 
         
            +
                  "normalized": true,
         
     | 
| 16 | 
         
            +
                  "rstrip": false,
         
     | 
| 17 | 
         
            +
                  "single_word": false,
         
     | 
| 18 | 
         
            +
                  "special": true
         
     | 
| 19 | 
         
            +
                }
         
     | 
| 20 | 
         
            +
              },
         
     | 
| 21 | 
         
            +
              "bos_token": "<|startoftext|>",
         
     | 
| 22 | 
         
            +
              "clean_up_tokenization_spaces": true,
         
     | 
| 23 | 
         
            +
              "do_lower_case": true,
         
     | 
| 24 | 
         
            +
              "eos_token": "<|endoftext|>",
         
     | 
| 25 | 
         
            +
              "errors": "replace",
         
     | 
| 26 | 
         
            +
              "model_max_length": 77,
         
     | 
| 27 | 
         
            +
              "pad_token": "<|endoftext|>",
         
     | 
| 28 | 
         
            +
              "tokenizer_class": "CLIPTokenizer",
         
     | 
| 29 | 
         
            +
              "unk_token": "<|endoftext|>"
         
     | 
| 30 | 
         
            +
            }
         
     | 
    	
        tokenizer/vocab.json
    ADDED
    
    | 
         The diff for this file is too large to render. 
		See raw diff 
     | 
| 
         |