Upload 7 files
Browse files- config.json +10 -7
- pytorch_model.bin +3 -0
- special_tokens_map.json +6 -1
- tokenizer.json +2 -2
- tokenizer_config.json +45 -1
config.json
CHANGED
@@ -1,29 +1,32 @@
|
|
1 |
{
|
|
|
2 |
"apply_residual_connection_post_layernorm": false,
|
3 |
-
"attention_dropout": 0.0,
|
4 |
"architectures": [
|
5 |
"BloomForCausalLM"
|
6 |
],
|
|
|
7 |
"attention_softmax_in_fp32": true,
|
8 |
"bias_dropout_fusion": true,
|
9 |
"bos_token_id": 1,
|
10 |
"eos_token_id": 2,
|
11 |
-
"pad_token_id": 3,
|
12 |
-
"unk_token_id": 0,
|
13 |
"hidden_dropout": 0.0,
|
|
|
14 |
"initializer_range": 0.02,
|
15 |
"layer_norm_epsilon": 1e-05,
|
16 |
"masked_softmax_fusion": true,
|
17 |
"model_type": "bloom",
|
18 |
-
"
|
19 |
"n_inner": null,
|
20 |
"n_layer": 24,
|
21 |
-
"num_attention_heads": 16,
|
22 |
"offset_alibi": 100,
|
|
|
23 |
"pretraining_tp": 1,
|
24 |
"skip_bias_add": true,
|
25 |
"skip_bias_add_qkv": false,
|
26 |
-
"
|
|
|
|
|
|
|
27 |
"use_cache": true,
|
28 |
"vocab_size": 250880
|
29 |
-
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "bigscience/bloom-560m",
|
3 |
"apply_residual_connection_post_layernorm": false,
|
|
|
4 |
"architectures": [
|
5 |
"BloomForCausalLM"
|
6 |
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
"attention_softmax_in_fp32": true,
|
9 |
"bias_dropout_fusion": true,
|
10 |
"bos_token_id": 1,
|
11 |
"eos_token_id": 2,
|
|
|
|
|
12 |
"hidden_dropout": 0.0,
|
13 |
+
"hidden_size": 1024,
|
14 |
"initializer_range": 0.02,
|
15 |
"layer_norm_epsilon": 1e-05,
|
16 |
"masked_softmax_fusion": true,
|
17 |
"model_type": "bloom",
|
18 |
+
"n_head": 16,
|
19 |
"n_inner": null,
|
20 |
"n_layer": 24,
|
|
|
21 |
"offset_alibi": 100,
|
22 |
+
"pad_token_id": 3,
|
23 |
"pretraining_tp": 1,
|
24 |
"skip_bias_add": true,
|
25 |
"skip_bias_add_qkv": false,
|
26 |
+
"slow_but_exact": false,
|
27 |
+
"torch_dtype": "float16",
|
28 |
+
"transformers_version": "4.35.2",
|
29 |
+
"unk_token_id": 0,
|
30 |
"use_cache": true,
|
31 |
"vocab_size": 250880
|
32 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8b42cc000f3764cd7983479c71e01cf7bda8e37352cef99cc44f36f5944377d8
|
3 |
+
size 1118531895
|
special_tokens_map.json
CHANGED
@@ -1 +1,6 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"pad_token": "</s>",
|
5 |
+
"unk_token": "<unk>"
|
6 |
+
}
|
tokenizer.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17a208233d2ee8d8c83b23bc214df737c44806a1919f444e89b31e586cd956ba
|
3 |
+
size 14500471
|
tokenizer_config.json
CHANGED
@@ -1 +1,45 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<unk>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<s>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<pad>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
}
|
36 |
+
},
|
37 |
+
"bos_token": "<s>",
|
38 |
+
"clean_up_tokenization_spaces": false,
|
39 |
+
"eos_token": "</s>",
|
40 |
+
"model_max_length": 1000000000000000019884624838656,
|
41 |
+
"pad_token": "</s>",
|
42 |
+
"padding_side": "left",
|
43 |
+
"tokenizer_class": "BloomTokenizer",
|
44 |
+
"unk_token": "<unk>"
|
45 |
+
}
|