Text Classification
Keras
security
web-attack-detection
sql-injection
xss
command-injection
rasp
cnn
gru
Instructions to use YangYang-Research/web-attack-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use YangYang-Research/web-attack-detection with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://YangYang-Research/web-attack-detection") - Notebooks
- Google Colab
- Kaggle
why not using bert for classfication (codebert or distilBert) ?
#1
by redauzhang - opened
I believe BERT is better suited for this type of content, and a CNN+GRU approach would definitely be better than BERT (in terms of performance, training cost, classification accuracy, etc.). Have you conducted any in-depth testing or research on this?
redauzhang changed discussion status to closed