madhavatreplit commited on
Commit
9c6e7d5
1 Parent(s): e5a060f

Fixing path issues to fix loading of models with Auto* classes.

Browse files

Was seeing errors in loading the tokenizer and models. This was because of misconfigured paths in the config.json.

This should fix them.

Files changed (1) hide show
  1. config.json +2 -3
config.json CHANGED
@@ -1,5 +1,4 @@
1
  {
2
- "_name_or_path": "./Replit-CodeInstruct",
3
  "architectures": [
4
  "MPTForCausalLM"
5
  ],
@@ -16,8 +15,8 @@
16
  "softmax_scale": null
17
  },
18
  "auto_map": {
19
- "AutoConfig": "replit/replit-code-v1-3b--configuration_mpt.MPTConfig",
20
- "AutoModelForCausalLM": "replit/replit-code-v1-3b--modeling_mpt.MPTForCausalLM"
21
  },
22
  "d_model": 2560,
23
  "emb_pdrop": 0,
 
1
  {
 
2
  "architectures": [
3
  "MPTForCausalLM"
4
  ],
 
15
  "softmax_scale": null
16
  },
17
  "auto_map": {
18
+ "AutoConfig": "configuration_mpt.MPTConfig",
19
+ "AutoModelForCausalLM": "modeling_mpt.MPTForCausalLM"
20
  },
21
  "d_model": 2560,
22
  "emb_pdrop": 0,