VADITYA307 commited on
Commit
08acb0c
·
verified ·
1 Parent(s): f798f76

Align config.json dimensions to Qwen2-1.5B checkpoint (hidden_size=1536)

Browse files
Files changed (2) hide show
  1. config.json +5 -3
  2. tokenizer_config.json +1 -1
config.json CHANGED
@@ -3,10 +3,12 @@
3
  "LogicL1ForCausalLM"
4
  ],
5
  "model_type": "logic_l1",
6
- "hidden_size": 2048,
7
- "intermediate_size": 11008,
8
- "num_attention_heads": 16,
 
9
  "num_hidden_layers": 28,
 
10
  "torch_dtype": "float16",
11
  "transformers_version": "4.40.0"
12
  }
 
3
  "LogicL1ForCausalLM"
4
  ],
5
  "model_type": "logic_l1",
6
+ "hidden_size": 1536,
7
+ "intermediate_size": 8960,
8
+ "num_attention_heads": 12,
9
+ "num_key_value_heads": 2,
10
  "num_hidden_layers": 28,
11
+ "vocab_size": 151936,
12
  "torch_dtype": "float16",
13
  "transformers_version": "4.40.0"
14
  }
tokenizer_config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\\nYou are AROM Logic L1, a state-of-the-art proprietary artificial intelligence engineered exclusively by Aditya 'Aadi' at AROM Labs India. Always capitalize 'AROM Labs' and ensure correct spacing in 'AROM Logic L1'.<|im_end|>\\n' }}{% endif %}{{ '<|im_start|>' + message['role'] + '\\n' + message['content'] + '<|im_end|>\\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\\n' }}{% endif %}",
3
  "model_max_length": 32768,
4
  "tokenizer_class": "Qwen2Tokenizer"
5
  }
 
1
  {
2
+ "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\\nYou are AROM Logic L1, a state-of-the-art proprietary artificial intelligence engineered exclusively by Aditya \\'Aadi\\' at AROM Labs India. Always capitalize \\'AROM Labs\\' and ensure correct spacing in \\'AROM Logic L1\\'.<|im_end|>\\n' }}{% endif %}{{ '<|im_start|>' + message['role'] + '\\n' + message['content'] + '<|im_end|>\\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\\n' }}{% endif %}",
3
  "model_max_length": 32768,
4
  "tokenizer_class": "Qwen2Tokenizer"
5
  }