|
{ |
|
"_name_or_path": "cmarkea/bloomz-3b-guardrail", |
|
"apply_residual_connection_post_layernorm": false, |
|
"architectures": [ |
|
"BloomForSequenceClassification" |
|
], |
|
"attention_dropout": 0.0, |
|
"attention_softmax_in_fp32": true, |
|
"bias_dropout_fusion": true, |
|
"bos_token_id": 1, |
|
"eos_token_id": 2, |
|
"hidden_dropout": 0.0, |
|
"hidden_size": 2560, |
|
"id2label": { |
|
"0": "obscene", |
|
"1": "sexual_explicit", |
|
"2": "identity_attack", |
|
"3": "insult", |
|
"4": "threat" |
|
}, |
|
"initializer_range": 0.02, |
|
"label2id": { |
|
"obscene": 0, |
|
"sexual_explicit": 1, |
|
"identity_attack": 2, |
|
"insult": 3, |
|
"threat": 4 |
|
}, |
|
"layer_norm_epsilon": 1e-05, |
|
"masked_softmax_fusion": true, |
|
"model_type": "bloom", |
|
"n_head": 32, |
|
"n_inner": null, |
|
"n_layer": 30, |
|
"offset_alibi": 100, |
|
"pad_token_id": 3, |
|
"pretraining_tp": 4, |
|
"problem_type": "multi_label_classification", |
|
"skip_bias_add": true, |
|
"skip_bias_add_qkv": false, |
|
"slow_but_exact": false, |
|
"torch_dtype": "bfloat16", |
|
"transformers_version": "4.34.0", |
|
"unk_token_id": 0, |
|
"use_cache": true, |
|
"vocab_size": 250880 |
|
} |
|
|