Commit
·
ad718ea
1
Parent(s):
d52816e
Fixing path issues to fix loading of models with Auto* classes (#3)
Browse files- Fixing path issues to fix loading of models with Auto* classes (841b17c0e21834418cf90a5c4b35f9234115a0e8)
Co-authored-by: Madhav <[email protected]>
- config.json +2 -3
config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "replit/replit-code-v1-3b",
|
| 3 |
"architectures": [
|
| 4 |
"MPTForCausalLM"
|
| 5 |
],
|
|
@@ -16,8 +15,8 @@
|
|
| 16 |
"softmax_scale": null
|
| 17 |
},
|
| 18 |
"auto_map": {
|
| 19 |
-
"AutoConfig": "
|
| 20 |
-
"AutoModelForCausalLM": "
|
| 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,
|