persadian commited on
Commit
88ada96
·
verified ·
1 Parent(s): 8169b79

Update PersadianNanoV4Model.py

Browse files
Files changed (1) hide show
  1. PersadianNanoV4Model.py +3 -3
PersadianNanoV4Model.py CHANGED
@@ -14,10 +14,10 @@ import torch.nn.functional as F
14
  class PersadianNanoV4Config:
15
  def __init__(self):
16
 
17
- # Core architecture (MATCH CHECKPOINT)
18
  self.hidden_size = 512
19
  self.intermediate_size = 1024
20
- self.num_hidden_layers = 12
21
 
22
  # Attention
23
  self.num_attention_heads = 8
@@ -58,7 +58,7 @@ class PersadianNanoV4Config:
58
  self.attention_dropout = 0.0
59
  self.use_flash_attention = True
60
 
61
- # Precision (IMPORTANT: keep as string or remove entirely)
62
  self.torch_dtype = "float16"
63
 
64
 
 
14
  class PersadianNanoV4Config:
15
  def __init__(self):
16
 
17
+ # Core architecture
18
  self.hidden_size = 512
19
  self.intermediate_size = 1024
20
+ self.num_hidden_layers = 6
21
 
22
  # Attention
23
  self.num_attention_heads = 8
 
58
  self.attention_dropout = 0.0
59
  self.use_flash_attention = True
60
 
61
+ # Precision
62
  self.torch_dtype = "float16"
63
 
64