Update README.md
Browse files
README.md
CHANGED
|
@@ -1,40 +1,49 @@
|
|
| 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 |
-
|
| 35 |
-
|
| 36 |
-
##
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
Ado Amesh (adoamesh@example.com)
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model:
|
| 6 |
+
- google-bert/bert-base-uncased
|
| 7 |
+
tags:
|
| 8 |
+
- cybersecurity
|
| 9 |
+
---
|
| 10 |
+
# Cybersecurity Aspect Term Extraction and Polarity Classification
|
| 11 |
+
|
| 12 |
+
## Model Description
|
| 13 |
+
This model is trained to extract aspect terms and classify their sentiment polarity in cybersecurity texts.
|
| 14 |
+
|
| 15 |
+
## Model Architecture
|
| 16 |
+
- **Base Model**: BERT-base-uncased
|
| 17 |
+
- **Architecture**: FAST_LCF_ATEPC
|
| 18 |
+
|
| 19 |
+
## Performance Metrics
|
| 20 |
+
- **APC F1**: 41.24%
|
| 21 |
+
- **ATE F1**: 90.57%
|
| 22 |
+
- **APC Accuracy**: 65.23%
|
| 23 |
+
|
| 24 |
+
## Usage
|
| 25 |
+
```python
|
| 26 |
+
from pyabsa import AspectTermExtraction as ATEPC
|
| 27 |
+
|
| 28 |
+
# Load the model
|
| 29 |
+
aspect_extractor = ATEPC.AspectExtractor(checkpoint="adoamesh/PyABSA_Cybersecurity_ATE_Polarity_Classification")
|
| 30 |
+
|
| 31 |
+
# Predict aspects and sentiments
|
| 32 |
+
result = aspect_extractor.predict("A ransomware attack targeted the hospital's patient records system.")
|
| 33 |
+
print(result)
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
## Training Data
|
| 37 |
+
The model was trained on a custom cybersecurity dataset with IOB format annotations.
|
| 38 |
+
|
| 39 |
+
## Limitations
|
| 40 |
+
This model is trained on cybersecurity texts and may not perform well on other domains.
|
| 41 |
+
|
| 42 |
+
## Biases
|
| 43 |
+
The model may reflect biases present in the training data.
|
| 44 |
+
|
| 45 |
+
## License
|
| 46 |
+
MIT
|
| 47 |
+
|
| 48 |
+
## Author
|
| 49 |
Ado Amesh (adoamesh@example.com)
|