2df3e59870dbc0695f7a86ab1dd744b8a07834d35b974821b7009ab67629f2ff
Browse files- config.json +29 -0
- generation_config.json +6 -0
- push.py +10 -0
- pytorch_model-00001-of-00034.bin +3 -0
- pytorch_model-00002-of-00034.bin +3 -0
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "tiiuae/falcon-7b-instruct",
|
3 |
+
"alibi": false,
|
4 |
+
"apply_residual_connection_post_layernorm": false,
|
5 |
+
"architectures": [
|
6 |
+
"RWForCausalLM"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auto_map": {
|
10 |
+
"AutoConfig": "tiiuae/falcon-7b-instruct--configuration_RW.RWConfig",
|
11 |
+
"AutoModelForCausalLM": "tiiuae/falcon-7b-instruct--modelling_RW.RWForCausalLM"
|
12 |
+
},
|
13 |
+
"bias": false,
|
14 |
+
"bos_token_id": 11,
|
15 |
+
"eos_token_id": 11,
|
16 |
+
"hidden_dropout": 0.0,
|
17 |
+
"hidden_size": 4544,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"layer_norm_epsilon": 1e-05,
|
20 |
+
"model_type": "RefinedWebModel",
|
21 |
+
"multi_query": true,
|
22 |
+
"n_head": 71,
|
23 |
+
"n_layer": 32,
|
24 |
+
"parallel_attn": true,
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.31.0.dev0",
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 65024
|
29 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.31.0.dev0"
|
6 |
+
}
|
push.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from huggingface_hub import HfApi
|
2 |
+
|
3 |
+
api = HfApi()
|
4 |
+
|
5 |
+
api.upload_folder(
|
6 |
+
repo_id="Trisert/falcon-7b-instruct-sharded",
|
7 |
+
folder_path=".",
|
8 |
+
multi_commits=True,
|
9 |
+
multi_commits_verbose=True,
|
10 |
+
)
|
pytorch_model-00001-of-00034.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f713a462ff20e675c62e450a60f51aed6f65430a165f82b4f709b539f4342361
|
3 |
+
size 537
|
pytorch_model-00002-of-00034.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c4bd830c110b6519dbe116c07659017a5bc8c0956a22b8081872a9ce5f84649c
|
3 |
+
size 1181877226
|