Upload BloomForCausalLM
Browse files- config.json +40 -0
- generation_config.json +7 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "trl-internal-testing/tiny-random-BloomForCausalLM",
|
3 |
+
"apply_residual_connection_post_layernorm": false,
|
4 |
+
"architectures": [
|
5 |
+
"BloomForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"dtype": "float32",
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"gradient_checkpointing": false,
|
12 |
+
"hidden_dropout": 0.1,
|
13 |
+
"hidden_size": 32,
|
14 |
+
"id2label": {
|
15 |
+
"0": "LABEL_0",
|
16 |
+
"1": "LABEL_1",
|
17 |
+
"2": "LABEL_2"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"is_decoder": true,
|
21 |
+
"label2id": {
|
22 |
+
"LABEL_0": 0,
|
23 |
+
"LABEL_1": 1,
|
24 |
+
"LABEL_2": 2
|
25 |
+
},
|
26 |
+
"layer_norm_epsilon": 1e-05,
|
27 |
+
"model_type": "bloom",
|
28 |
+
"n_head": 4,
|
29 |
+
"n_layer": 5,
|
30 |
+
"n_positions": 512,
|
31 |
+
"pad_token_id": 3,
|
32 |
+
"pretraining_tp": 1,
|
33 |
+
"seq_length": 7,
|
34 |
+
"slow_but_exact": true,
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.27.0.dev0",
|
37 |
+
"type_vocab_size": 16,
|
38 |
+
"use_cache": true,
|
39 |
+
"vocab_size": 250880
|
40 |
+
}
|
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.27.0.dev0"
|
7 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef19aa31571a6439b20aef515be07a30b7f1c80cefc976124649d7e1af91ea55
|
3 |
+
size 32387828
|