VulFixMiner / config.json
andstor's picture
Add initial version
a70a778
Raw History Blame Contribute Delete
1.86 kB
{
"architectures": [
"VulFixMinerModel"
],
"auto_map": {
"AutoConfig": "modeling_vulfixminer.VulFixMinerConfig",
"AutoModel": "modeling_vulfixminer.VulFixMinerModel",
"AutoModelForSequenceClassification": "modeling_vulfixminer.VulFixMinerModel"
},
"custom_pipelines": {
"text-classification": {
"impl": "pipeline_vulfixminer.VulFixMinerPipeline",
"pt": [
"AutoModelForSequenceClassification"
],
"tf": []
}
},
"dtype": "float32",
"encoder_config": {
"_name_or_path": "",
"add_cross_attention": false,
"architectures": null,
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"chunk_size_feed_forward": 0,
"classifier_dropout": null,
"dtype": null,
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_attentions": false,
"output_hidden_states": false,
"pad_token_id": 1,
"problem_type": null,
"return_dict": true,
"tie_word_embeddings": true,
"transformers_version": "5.23.0",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 50265
},
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "NON_SECURITY_PATCH",
"1": "SECURITY_PATCH"
},
"label2id": {
"NON_SECURITY_PATCH": 0,
"SECURITY_PATCH": 1
},
"max_file_length": 256,
"model_type": "vulfixminer",
"transformers_version": "5.23.0"
}