Erbium08 commited on
Commit
0ebfa7d
·
verified ·
1 Parent(s): 47eea79

Update configuration_ricotta.py

Browse files
Files changed (1) hide show
  1. configuration_ricotta.py +9 -0
configuration_ricotta.py CHANGED
@@ -3,6 +3,15 @@ from transformers import PreTrainedConfig
3
 
4
  class RicottaConfig(PreTrainedConfig):
5
  model_type = "gouda-ricotta"
 
 
 
 
 
 
 
 
 
6
 
7
  def __init__(
8
  self,
 
3
 
4
  class RicottaConfig(PreTrainedConfig):
5
  model_type = "gouda-ricotta"
6
+ attribute_map = {
7
+ "num_hidden_layers": "n_layer",
8
+ "hidden_size": "n_embd",
9
+ "num_attention_heads": "n_head",
10
+ "num_key_value_heads": "n_kv_head",
11
+ "intermediate_size": "mlp_hidden",
12
+ "max_position_embeddings": "max_seq_len",
13
+ }
14
+
15
 
16
  def __init__(
17
  self,