This model is a fine-tuned version of
codellama/CodeLlama-7b-Instruct-hf on the security_code_dpo_4-2 dataset. It was trained using Direct Preference Optimization (DPO) to improve the security of generated code.
This model has been trained to prefer generating secure code over insecure code. It avoids common security vulnerabilities and follows best practices for secure coding.
This model is intended for code generation tasks where security is a priority. It aims to reduce common vulnerabilities in generated code such as SQL injection, XSS, CSRF, and other security issues.
The model was trained using pairs of secure and insecure code examples, where the model was optimized to prefer the secure variants.