Daniël de Kok
commited on
Commit
·
3451eaa
1
Parent(s):
1b779fe
Add RW model with the new decoder architecture
Browse files- config.json +32 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alibi": false,
|
| 3 |
+
"apply_residual_connection_post_layernorm": false,
|
| 4 |
+
"architectures": [
|
| 5 |
+
"RWModel"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"auto_map": {
|
| 9 |
+
"AutoConfig": "tiiuae/falcon-40b--configuration_RW.RWConfig",
|
| 10 |
+
"AutoModel": "tiiuae/falcon-40b--modelling_RW.RWModel",
|
| 11 |
+
"AutoModelForCausalLM": "tiiuae/falcon-40b--modelling_RW.RWForCausalLM",
|
| 12 |
+
"AutoModelForQuestionAnswering": "tiiuae/falcon-40b--modelling_RW.RWForQuestionAnswering",
|
| 13 |
+
"AutoModelForSequenceClassification": "tiiuae/falcon-40b--modelling_RW.RWForSequenceClassification",
|
| 14 |
+
"AutoModelForTokenClassification": "tiiuae/falcon-40b--modelling_RW.RWForTokenClassification"
|
| 15 |
+
},
|
| 16 |
+
"bias": false,
|
| 17 |
+
"bos_token_id": 11,
|
| 18 |
+
"eos_token_id": 11,
|
| 19 |
+
"hidden_dropout": 0.0,
|
| 20 |
+
"hidden_size": 32,
|
| 21 |
+
"initializer_range": 0.02,
|
| 22 |
+
"layer_norm_epsilon": 1e-05,
|
| 23 |
+
"model_type": "RefinedWeb",
|
| 24 |
+
"n_head": 4,
|
| 25 |
+
"n_head_kv": 2,
|
| 26 |
+
"n_layer": 5,
|
| 27 |
+
"parallel_attn": true,
|
| 28 |
+
"torch_dtype": "float32",
|
| 29 |
+
"transformers_version": "4.30.2",
|
| 30 |
+
"use_cache": true,
|
| 31 |
+
"vocab_size": 1024
|
| 32 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef5e710d462aa4b87cdfa4bbbb1003eadf0188658a7f28d7b6654a1717ea5357
|
| 3 |
+
size 371890
|