Ayushnangia
commited on
Commit
•
41dd3d7
1
Parent(s):
fdc3cf6
Upload BloomForCausalLM
Browse files- config.json +53 -0
- generation_config.json +7 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bigscience/bloom-3b",
|
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": 2560,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"layer_norm_epsilon": 1e-05,
|
16 |
+
"masked_softmax_fusion": true,
|
17 |
+
"model_type": "bloom",
|
18 |
+
"n_head": 32,
|
19 |
+
"n_inner": null,
|
20 |
+
"n_layer": 30,
|
21 |
+
"offset_alibi": 100,
|
22 |
+
"pad_token_id": 3,
|
23 |
+
"pretraining_tp": 4,
|
24 |
+
"quantization_config": {
|
25 |
+
"batch_size": 1,
|
26 |
+
"bits": 2,
|
27 |
+
"block_name_to_quantize": "transformer.h",
|
28 |
+
"damp_percent": 0.1,
|
29 |
+
"dataset": "wikitext2",
|
30 |
+
"desc_act": false,
|
31 |
+
"disable_exllama": false,
|
32 |
+
"group_size": 128,
|
33 |
+
"model_seqlen": 2048,
|
34 |
+
"module_name_preceding_first_block": [
|
35 |
+
"transformer.word_embeddings",
|
36 |
+
"transformer.word_embeddings_layernorm"
|
37 |
+
],
|
38 |
+
"pad_token_id": null,
|
39 |
+
"quant_method": "gptq",
|
40 |
+
"sym": true,
|
41 |
+
"tokenizer": null,
|
42 |
+
"true_sequential": true,
|
43 |
+
"use_cuda_fp16": true
|
44 |
+
},
|
45 |
+
"skip_bias_add": true,
|
46 |
+
"skip_bias_add_qkv": false,
|
47 |
+
"slow_but_exact": false,
|
48 |
+
"torch_dtype": "float16",
|
49 |
+
"transformers_version": "4.32.0",
|
50 |
+
"unk_token_id": 0,
|
51 |
+
"use_cache": true,
|
52 |
+
"vocab_size": 250880
|
53 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 3,
|
6 |
+
"transformers_version": "4.32.0"
|
7 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ed0834fd3c43b8806aebf8771c2d186a3bad6c867eba6a6b18aa1f76ac96bb0
|
3 |
+
size 1920216033
|