MatthiasC commited on
Commit
a2566ec
1 Parent(s): 9b4f999

Add correct and remove wrong config file

Browse files
Files changed (2) hide show
  1. cog.yaml +0 -21
  2. config.yaml +38 -0
cog.yaml DELETED
@@ -1,21 +0,0 @@
1
- build:
2
- python_version: "3.8"
3
-
4
- gpu: true
5
-
6
- python_packages:
7
- - 'huggingface_hub==0.8.1'
8
- - 'torch==1.7.1'
9
- - 'torchvision==0.8.2'
10
- - 'tokenizers==0.10.2'
11
- - 'pyflakes==2.2.0'
12
- - 'tqdm==4.46.0'
13
- - 'pytorch-lightning==1.5'
14
- - 'einops==0.4.1'
15
- - 'omegaconf==2.2.2'
16
- - 'git+https://github.com/openai/CLIP.git'
17
- - 'numpy==1.23.1'
18
- - 'pillow==9.2.0'
19
- - 'python-dotenv==0.20.0'
20
-
21
- predict: "predict.py:Predictor"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
config.yaml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset:
2
+ tokenizer_type: CharBPE
3
+ context_length: 64
4
+ image_resolution: 256
5
+
6
+ stage1:
7
+ type: vqgan
8
+ embed_dim: 256
9
+ n_embed: 16384
10
+ hparams:
11
+ double_z: False
12
+ z_channels: 256
13
+ resolution: 256
14
+ in_channels: 3
15
+ out_ch: 3
16
+ ch: 128
17
+ ch_mult: [1, 1, 2, 2, 4]
18
+ num_res_blocks: 2
19
+ attn_resolutions: [16]
20
+ pdrop: 0.0
21
+
22
+ stage2:
23
+ type: transformer1d
24
+ vocab_size_txt: 16384
25
+ vocab_size_img: 16384
26
+ hparams:
27
+ embed_dim: 1536
28
+ n_layers: 42
29
+ n_heads: 24
30
+ n_dense_layers: 42
31
+ ctx_len_img: 256
32
+ ctx_len_txt: 64
33
+ embd_pdrop: 0.0
34
+ resid_pdrop: 0.0
35
+ attn_pdrop: 0.0
36
+ mlp_bias: True
37
+ attn_bias: True
38
+ gelu_use_approx: False