Text Generation
PEFT
Safetensors
English
lora
qlora
vulnerability-detection
security
cwe
llvm-ir
code
Instructions to use phazertron/vulnerability-detector-ir-source with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use phazertron/vulnerability-detector-ir-source with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download source/adapter_config.json from phazertron/vulnerability-detector-ir-source: direct link, hf CLI and curl.
- Browser
- Download file 733 Bytes
-
https://huggingface.co/phazertron/vulnerability-detector-ir-source/resolve/main/source/adapter_config.json
- Command line
-
hf download hf://phazertron/vulnerability-detector-ir-source/source/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/phazertron/vulnerability-detector-ir-source/resolve/main/source/adapter_config.json
733 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "Qwen/Qwen2.5-Coder-7B-Instruct", | |
| "bias": "none", | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layer_replication": null, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 64, | |
| "lora_dropout": 0.05, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 32, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "down_proj", | |
| "o_proj", | |
| "up_proj", | |
| "k_proj", | |
| "gate_proj", | |
| "v_proj", | |
| "q_proj" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |