backpack-gpt2-nli / config.json
ErfanMoosaviMonazzah's picture
Upload model
189fb58
{
"activation_function": "gelu_new",
"architectures": [
"BackpackGPT2NLIModel"
],
"attn_pdrop": 0.1,
"auto_map": {
"AutoConfig": "configuration_backpack_gpt2_nli.BackpackGPT2NLIConfig",
"AutoModelForSequenceClassification": "modeling_backpack_gpt2_nli.BackpackGPT2NLIModel"
},
"bos_token_id": 50256,
"embd_pdrop": 0.1,
"eos_token_id": 50256,
"freeze_backpack": true,
"id2label": {
"0": "entailment",
"1": "neutral",
"2": "contradiction"
},
"initializer_range": 0.02,
"label2id": {
"contradiction": 2,
"entailment": 0,
"neutral": 1
},
"layer_norm_epsilon": 1e-05,
"model_type": "gpt2",
"n_embd": 768,
"n_head": 12,
"n_inner": null,
"n_layer": 12,
"n_positions": 512,
"num_senses": 16,
"reorder_and_upcast_attn": false,
"resid_pdrop": 0.1,
"scale_attn_by_inverse_layer_idx": true,
"scale_attn_weights": true,
"sense_intermediate_scale": 4,
"summary_activation": null,
"summary_first_dropout": 0.1,
"summary_proj_to_labels": true,
"summary_type": "cls_index",
"summary_use_proj": true,
"torch_dtype": "float32",
"transformers_version": "4.35.2",
"use_cache": true,
"vocab_size": 50264
}