Instructions to use szalontaib/MegaBugInject with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use szalontaib/MegaBugInject with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/home/bszalontai/balazs_munka/codellama/models_hf/wizard-coder-13b-python") model = PeftModel.from_pretrained(base_model, "szalontaib/MegaBugInject") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -78,4 +78,20 @@ corrupted_programs = corrupt(
|
|
| 78 |
for corrupted_program in corrupted_programs:
|
| 79 |
print('-'*30)
|
| 80 |
print(corrupted_program)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
```
|
|
|
|
| 78 |
for corrupted_program in corrupted_programs:
|
| 79 |
print('-'*30)
|
| 80 |
print(corrupted_program)
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
# Citation
|
| 84 |
+
|
| 85 |
+
If you use our benchmark or bug injection model, please cite our paper.
|
| 86 |
+
|
| 87 |
+
```
|
| 88 |
+
@misc{szalontai2026diffbasedcodecorruptionusing,
|
| 89 |
+
title={Diff-Based Code Corruption using LLMs for Large-Scale Bugfix Benchmarking},
|
| 90 |
+
author={Balázs Szalontai and Ábel Szauter and Balázs Márton and Péter Verebics and Balázs Pintér and Tibor Gregorics},
|
| 91 |
+
year={2026},
|
| 92 |
+
eprint={2606.29088},
|
| 93 |
+
archivePrefix={arXiv},
|
| 94 |
+
primaryClass={cs.SE},
|
| 95 |
+
url={https://arxiv.org/abs/2606.29088},
|
| 96 |
+
}
|
| 97 |
```
|