HenrySentinel commited on
Commit
d35c72d
·
verified ·
1 Parent(s): 2f2a785

Update config with auto_map for trust_remote_code loading

Browse files
Files changed (1) hide show
  1. config.json +13 -4
config.json CHANGED
@@ -1,14 +1,23 @@
1
  {
2
- "architectures": [
3
- "TinySmartLLMForHF"
4
- ],
 
 
5
  "dropout": 0.1,
6
  "max_seq_len": 512,
7
  "model_type": "tiny_smart_llm",
8
  "n_embd": 256,
9
  "n_heads": 8,
10
  "n_layers": 6,
 
 
 
 
11
  "torch_dtype": "float32",
12
  "transformers_version": "4.51.3",
13
- "vocab_size": 50257
 
 
 
14
  }
 
1
  {
2
+ "architectures": ["TinyMindForCausalLM"],
3
+ "auto_map": {
4
+ "AutoConfig": "configuration_tinymind.TinyMindConfig",
5
+ "AutoModelForCausalLM": "modeling_tinymind.TinyMindForCausalLM"
6
+ },
7
  "dropout": 0.1,
8
  "max_seq_len": 512,
9
  "model_type": "tiny_smart_llm",
10
  "n_embd": 256,
11
  "n_heads": 8,
12
  "n_layers": 6,
13
+ "num_hidden_layers": 6,
14
+ "hidden_size": 256,
15
+ "num_attention_heads": 8,
16
+ "max_position_embeddings": 512,
17
  "torch_dtype": "float32",
18
  "transformers_version": "4.51.3",
19
+ "vocab_size": 50257,
20
+ "bos_token_id": 50256,
21
+ "eos_token_id": 50256,
22
+ "pad_token_id": 50256
23
  }