Upload ReplitLM
Browse files- config.json +46 -0
- generation_config.json +5 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "replit-code-v1-3b",
|
| 3 |
+
"alibi": true,
|
| 4 |
+
"alibi_bias_max": 8,
|
| 5 |
+
"architectures": [
|
| 6 |
+
"ReplitLM"
|
| 7 |
+
],
|
| 8 |
+
"attn_clip_qkv": null,
|
| 9 |
+
"attn_impl": "torch",
|
| 10 |
+
"attn_pdrop": 0,
|
| 11 |
+
"attn_qk_ln": false,
|
| 12 |
+
"attn_uses_sequence_id": false,
|
| 13 |
+
"auto_map": {
|
| 14 |
+
"AutoConfig": "configuration_replit_lm.ReplitLMConfig",
|
| 15 |
+
"AutoModelForCausalLM": "replit_lm.ReplitLM"
|
| 16 |
+
},
|
| 17 |
+
"d_model": 2560,
|
| 18 |
+
"emb_init_std": null,
|
| 19 |
+
"emb_init_uniform_lim": null,
|
| 20 |
+
"emb_pdrop": 0,
|
| 21 |
+
"embedding_fraction": 1.0,
|
| 22 |
+
"fan_mode": "fan_in",
|
| 23 |
+
"init_device": "cpu",
|
| 24 |
+
"init_div_is_residual": true,
|
| 25 |
+
"init_gain": 0,
|
| 26 |
+
"init_nonlinearity": "relu",
|
| 27 |
+
"init_std": 0.02,
|
| 28 |
+
"logit_scale": null,
|
| 29 |
+
"low_precision_layernorm": true,
|
| 30 |
+
"max_seq_len": 2048,
|
| 31 |
+
"mlp_ratio": 4,
|
| 32 |
+
"model_type": "replit_lm",
|
| 33 |
+
"n_heads": 32,
|
| 34 |
+
"n_layers": 32,
|
| 35 |
+
"no_bias": true,
|
| 36 |
+
"param_init_fn": "kaiming_normal_",
|
| 37 |
+
"prefix_lm": false,
|
| 38 |
+
"resid_pdrop": 0,
|
| 39 |
+
"softmax_scale": null,
|
| 40 |
+
"tokenizer_name": "replit/replit-code-v1-3b",
|
| 41 |
+
"torch_dtype": "bfloat16",
|
| 42 |
+
"transformers_version": "4.29.1",
|
| 43 |
+
"use_cache": false,
|
| 44 |
+
"verbose": 0,
|
| 45 |
+
"vocab_size": 32768
|
| 46 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"transformers_version": "4.29.1",
|
| 4 |
+
"use_cache": false
|
| 5 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4511163b802e6650b32cb2d7f3cf7d92417c22f0bbab1c9a9e7bad48adacb8f1
|
| 3 |
+
size 5201291992
|