python-clone-detection / config.json
Lazyhope's picture
Add pipeline for clone detection
d0e1e46
raw
history blame
1.28 kB
{
"_name_or_path": "Lazyhope/python-clone-detection",
"architectures": [
"CloneDetectionModel"
],
"attention_probs_dropout_prob": 0.1,
"auto_map": {
"AutoModel": "CloneDetectionModel.CloneDetectionModel"
},
"bos_token_id": 0,
"classifier_dropout": null,
"custom_pipelines": {
"python-clone-detection": {
"default": {
"model": {
"pt": [
"Lazyhope/python-clone-detection",
"main"
]
}
},
"impl": "clone_detection_pipeline.CloneDetectionPipeline",
"pt": [
"AutoModel"
],
"tf": [],
"type": "text"
}
},
"dropout_rate": 0.1,
"eos_token_id": 2,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"tokenizer_cls_token_id": 0,
"tokenizer_sep_token_id": 2,
"torch_dtype": "float32",
"transformers_version": "4.24.0",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 50265
}