Ksgk-fy commited on
Commit
2bdbd6a
·
verified ·
1 Parent(s): 5465e26

Fix custom model loading

Browse files
Files changed (1) hide show
  1. config.json +5 -0
config.json CHANGED
@@ -2,6 +2,11 @@
2
  "architectures": [
3
  "CustomGPTModel"
4
  ],
 
 
 
 
 
5
  "dtype": "float32",
6
  "flex_kernel_options": null,
7
  "model_type": "custom_gpt",
 
2
  "architectures": [
3
  "CustomGPTModel"
4
  ],
5
+ "auto_map": {
6
+ "AutoConfig": "modeling_custom_gpt.CustomGPTConfig",
7
+ "AutoModel": "modeling_custom_gpt.CustomGPTModel",
8
+ "AutoModelForCausalLM": "modeling_custom_gpt.CustomGPTModel"
9
+ },
10
  "dtype": "float32",
11
  "flex_kernel_options": null,
12
  "model_type": "custom_gpt",