AbstractPhil commited on
Commit
6d32358
·
verified ·
1 Parent(s): d0fdd3e

Create config.py

Browse files
Files changed (1) hide show
  1. config.py +35 -0
config.py ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ADAPTER_CONFIG = {
2
+ "adapter_id": "005",
3
+ "name": "DualShuntAdapter-L",
4
+
5
+ "t5": {
6
+ "model": "AbstractPhil/bert-beatrix-2048",
7
+ "hidden_size": 768,
8
+ },
9
+ "clip": {
10
+ "model": "AbstractPhil/omega-vit-l-reformed",
11
+ "hidden_size": 768,
12
+ },
13
+
14
+ "bottleneck": 384,
15
+ "heads": 4,
16
+
17
+ "tau_init": 0.1,
18
+ "max_guidance": 10.0,
19
+
20
+ "proj_layers": 2,
21
+ "layer_norm": True,
22
+ "dropout": 0.0,
23
+ "use_dropout": True,
24
+ "use_proj_stack": True,
25
+ "assert_input_dims": True,
26
+
27
+ "routing": {
28
+ "type": "cross_attention",
29
+ "enable_causal_mask": False,
30
+ "bidirectional": True
31
+ },
32
+
33
+ "version": "v0.3.3",
34
+ "description": "V3 Dual Shunt Adapter with projection stack, dropout, and stacked residual refinement pocket."
35
+ }