Upload BloomForSequenceClassification
Browse files- config.json +49 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "bigscience/bloom-560m",
|
| 3 |
+
"apply_residual_connection_post_layernorm": false,
|
| 4 |
+
"architectures": [
|
| 5 |
+
"BloomForSequenceClassification"
|
| 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 |
+
"id2label": {
|
| 15 |
+
"0": "sadness",
|
| 16 |
+
"1": "anger",
|
| 17 |
+
"2": "love",
|
| 18 |
+
"3": "surprise",
|
| 19 |
+
"4": "fear",
|
| 20 |
+
"5": "joy"
|
| 21 |
+
},
|
| 22 |
+
"initializer_range": 0.02,
|
| 23 |
+
"label2id": {
|
| 24 |
+
"LABEL_0": 0,
|
| 25 |
+
"LABEL_1": 1,
|
| 26 |
+
"LABEL_2": 2,
|
| 27 |
+
"LABEL_3": 3,
|
| 28 |
+
"LABEL_4": 4,
|
| 29 |
+
"LABEL_5": 5
|
| 30 |
+
},
|
| 31 |
+
"layer_norm_epsilon": 1e-05,
|
| 32 |
+
"masked_softmax_fusion": true,
|
| 33 |
+
"model_type": "bloom",
|
| 34 |
+
"n_head": 16,
|
| 35 |
+
"n_inner": null,
|
| 36 |
+
"n_layer": 24,
|
| 37 |
+
"offset_alibi": 100,
|
| 38 |
+
"pad_token_id": 3,
|
| 39 |
+
"pretraining_tp": 1,
|
| 40 |
+
"problem_type": "single_label_classification",
|
| 41 |
+
"skip_bias_add": true,
|
| 42 |
+
"skip_bias_add_qkv": false,
|
| 43 |
+
"slow_but_exact": false,
|
| 44 |
+
"torch_dtype": "bfloat16",
|
| 45 |
+
"transformers_version": "4.27.2",
|
| 46 |
+
"unk_token_id": 0,
|
| 47 |
+
"use_cache": true,
|
| 48 |
+
"vocab_size": 250880
|
| 49 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33c0d0cf104043a8319d218f79186f9a245c78b71073eb282cf963289f37fd00
|
| 3 |
+
size 1118540837
|