first commit
Browse files- .gitattributes +1 -0
- config.json +31 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +11 -0
- tokenizer.json +3 -0
- tokenizer_config.json +12 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"apply_residual_connection_post_layernorm": false,
|
3 |
+
"architectures": [
|
4 |
+
"BloomForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"attention_softmax_in_fp32": true,
|
8 |
+
"bias_dropout_fusion": true,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"hidden_dropout": 0.0,
|
12 |
+
"hidden_size": 4096,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"layer_norm_epsilon": 1e-05,
|
15 |
+
"masked_softmax_fusion": true,
|
16 |
+
"model_type": "bloom",
|
17 |
+
"n_head": 32,
|
18 |
+
"n_inner": null,
|
19 |
+
"n_layer": 30,
|
20 |
+
"offset_alibi": 100,
|
21 |
+
"pad_token_id": 3,
|
22 |
+
"pretraining_tp": 1,
|
23 |
+
"skip_bias_add": true,
|
24 |
+
"skip_bias_add_qkv": false,
|
25 |
+
"slow_but_exact": false,
|
26 |
+
"torch_dtype": "float16",
|
27 |
+
"transformers_version": "4.28.1",
|
28 |
+
"unk_token_id": 0,
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 250880
|
31 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:454fc05429986bb1ada771bc5824883187ee88c22adc4595c452668bf40e59a5
|
3 |
+
size 14138162687
|
special_tokens_map.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|beginofutterance|>",
|
4 |
+
"<|endofutterance|>",
|
5 |
+
"<|endoftext|>"
|
6 |
+
],
|
7 |
+
"bos_token": "<s>",
|
8 |
+
"eos_token": "</s>",
|
9 |
+
"pad_token": "<pad>",
|
10 |
+
"unk_token": "<unk>"
|
11 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:072142366cf1a633b4a4044fd08aa287dfb0674a75bbec2c761a05c04caafc1a
|
3 |
+
size 14501025
|
tokenizer_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"model_max_length": 1000000000000000019884624838656,
|
6 |
+
"name_or_path": "/share/home/xuyang/model/bloom/bloom-7b1",
|
7 |
+
"pad_token": "<pad>",
|
8 |
+
"padding_side": "left",
|
9 |
+
"special_tokens_map_file": null,
|
10 |
+
"tokenizer_class": "BloomTokenizer",
|
11 |
+
"unk_token": "<unk>"
|
12 |
+
}
|