Text Classification
Keras
English
sql-injection
malicious-sql
sql-injection-detection
malicious-sql-detection
Instructions to use deathsaber93/SafeSQL-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use deathsaber93/SafeSQL-v1 with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://deathsaber93/SafeSQL-v1") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse filesFixed benchmark file path.
README.md
CHANGED
|
@@ -22,7 +22,7 @@ tags:
|
|
| 22 |
|
| 23 |
# SafeSQL-v1
|
| 24 |
|
| 25 |
-
### Model
|
| 26 |
- **Feedback:** aakash.howlader@gmail.com
|
| 27 |
- **Model type:** Language model
|
| 28 |
- **Language(s) (NLP):** English
|
|
@@ -186,7 +186,7 @@ for i, pred in enumerate(preds):
|
|
| 186 |
|
| 187 |
# Run the benchmark
|
| 188 |
|
| 189 |
-
input_df = pd.read_csv('
|
| 190 |
hits = 0
|
| 191 |
data_size = input_df.shape[0]
|
| 192 |
miss_pos, miss_neg = [], []
|
|
|
|
| 22 |
|
| 23 |
# SafeSQL-v1
|
| 24 |
|
| 25 |
+
### Model Meta
|
| 26 |
- **Feedback:** aakash.howlader@gmail.com
|
| 27 |
- **Model type:** Language model
|
| 28 |
- **Language(s) (NLP):** English
|
|
|
|
| 186 |
|
| 187 |
# Run the benchmark
|
| 188 |
|
| 189 |
+
input_df = pd.read_csv('benchmark.csv')
|
| 190 |
hits = 0
|
| 191 |
data_size = input_df.shape[0]
|
| 192 |
miss_pos, miss_neg = [], []
|