File size: 1,097 Bytes
013782b
882e078
17e2084
 
2e62826
3c7a1b8
 
 
 
 
cc32d4f
 
2e62826
4737b4c
cc32d4f
 
 
4737b4c
 
 
 
 
 
009fadf
 
 
cc32d4f
 
 
009fadf
 
4737b4c
1800a25
009fadf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
license: mit
tags:
- SQL Injection
widget:
- text: 1 UNION SELECT username, password FROM users --
  example_title: SQL Injection Detection
metrics:
- f1
- accuracy
---


**A distilBERT based SQL Injection Detection Model**

**Model description**

This model, based on DistilBERT, is specifically tailored for the detection of SQL injection attacks. 
Through fine-tuning using the Hugging Face's Trainer API, the model has been trained to identify potentially malicious SQL queries with high accuracy.

- __Architecture:__ DistilBERT
- __Fine-tuning Method:__ Trainer API
- __Performance Metrics:__
  - __F1-score:__ 99.86%
  -  __Accuracy:__ 99.99%
- __Training Epochs:__ 6

**Dataset description**

The model was fine-tuned on the SQL Injectiom dataset, curated and made available by SAJID576 on Kaggle. 
This dataset comprises of 30,920 rows of SQL queries, including both benign and malicious examples, providing a comprehensive training corpus for robust model development.

- __Dataset Source:__ https://www.kaggle.com/datasets/sajid576/sql-injection-dataset/data
- __Size:__ 30,920 rows