anton-l HF Staff commited on
Commit
b08de1e
Β·
1 Parent(s): c4b1005

Format as pipeline

Browse files
model_index.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "GLIDE",
3
+ "_module": "modeling_glide.py",
4
+ "noise_scheduler": [
5
+ "diffusers",
6
+ "ClassifierFreeGuidanceScheduler"
7
+ ],
8
+ "text_encoder": [
9
+ "diffusers",
10
+ "CLIPTextModel"
11
+ ],
12
+ "tokenizer": [
13
+ "transformers",
14
+ "GPT2Tokenizer"
15
+ ],
16
+ "unet": [
17
+ "diffusers",
18
+ "UNetGLIDEModel"
19
+ ]
20
+ }
noise_scheduler/scheduler_config.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "ClassifierFreeGuidanceScheduler",
3
+ "beta_schedule": "squaredcos_cap_v2",
4
+ "timesteps": 1000
5
+ }
text_encoder/config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CLIPTextModel"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 0,
7
+ "dropout": 0.0,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "quick_gelu",
10
+ "hidden_size": 512,
11
+ "initializer_factor": 1.0,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 2048,
14
+ "layer_norm_eps": 1e-05,
15
+ "max_position_embeddings": 128,
16
+ "model_type": "clip_text_model",
17
+ "num_attention_heads": 8,
18
+ "num_hidden_layers": 16,
19
+ "pad_token_id": 1,
20
+ "torch_dtype": "float32",
21
+ "transformers_version": "4.20.0.dev0",
22
+ "use_padding_embeddings": true,
23
+ "vocab_size": 50257
24
+ }
pytorch_model.bin β†’ text_encoder/pytorch_model.bin RENAMED
File without changes
merges.txt β†’ tokenizer/merges.txt RENAMED
File without changes
special_tokens_map.json β†’ tokenizer/special_tokens_map.json RENAMED
File without changes
tokenizer_config.json β†’ tokenizer/tokenizer_config.json RENAMED
File without changes
vocab.json β†’ tokenizer/vocab.json RENAMED
File without changes
config.json β†’ unet/config.json RENAMED
File without changes
diffusion_model.pt β†’ unet/diffusion_model.pt RENAMED
File without changes