Text Classification
Transformers
Safetensors
Chinese
bert
vulnerability
severity
cybersecurity
cnvd
text-embeddings-inference
Instructions to use CIRCL/vulnerability-severity-classification-chinese-macbert-base-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CIRCL/vulnerability-severity-classification-chinese-macbert-base-test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CIRCL/vulnerability-severity-classification-chinese-macbert-base-test")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CIRCL/vulnerability-severity-classification-chinese-macbert-base-test") model = AutoModelForSequenceClassification.from_pretrained("CIRCL/vulnerability-severity-classification-chinese-macbert-base-test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +21 -21
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -18,18 +18,18 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [hfl/chinese-macbert-base](https://huggingface.co/hfl/chinese-macbert-base) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss:
|
| 22 |
-
- Accuracy: 0.
|
| 23 |
-
- F1 Macro: 0.
|
| 24 |
-
- Low Precision: 0.
|
| 25 |
-
- Low Recall: 0.
|
| 26 |
-
- Low F1: 0.
|
| 27 |
-
- Medium Precision: 0.
|
| 28 |
-
- Medium Recall: 0.
|
| 29 |
-
- Medium F1: 0.
|
| 30 |
-
- High Precision: 0.
|
| 31 |
-
- High Recall: 0.
|
| 32 |
-
- High F1: 0.
|
| 33 |
|
| 34 |
## Model description
|
| 35 |
|
|
@@ -49,8 +49,8 @@ More information needed
|
|
| 49 |
|
| 50 |
The following hyperparameters were used during training:
|
| 51 |
- learning_rate: 3e-05
|
| 52 |
-
- train_batch_size:
|
| 53 |
-
- eval_batch_size:
|
| 54 |
- seed: 42
|
| 55 |
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 56 |
- lr_scheduler_type: linear
|
|
@@ -58,13 +58,13 @@ The following hyperparameters were used during training:
|
|
| 58 |
|
| 59 |
### Training results
|
| 60 |
|
| 61 |
-
| Training Loss | Epoch | Step
|
| 62 |
-
|:-------------:|:-----:|:----
|
| 63 |
-
|
|
| 64 |
-
|
|
| 65 |
-
|
|
| 66 |
-
|
|
| 67 |
-
|
|
| 68 |
|
| 69 |
|
| 70 |
### Framework versions
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [hfl/chinese-macbert-base](https://huggingface.co/hfl/chinese-macbert-base) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.4276
|
| 22 |
+
- Accuracy: 0.7110
|
| 23 |
+
- F1 Macro: 0.6575
|
| 24 |
+
- Low Precision: 0.3970
|
| 25 |
+
- Low Recall: 0.6328
|
| 26 |
+
- Low F1: 0.4879
|
| 27 |
+
- Medium Precision: 0.8236
|
| 28 |
+
- Medium Recall: 0.6441
|
| 29 |
+
- Medium F1: 0.7229
|
| 30 |
+
- High Precision: 0.7005
|
| 31 |
+
- High Recall: 0.8349
|
| 32 |
+
- High F1: 0.7618
|
| 33 |
|
| 34 |
## Model description
|
| 35 |
|
|
|
|
| 49 |
|
| 50 |
The following hyperparameters were used during training:
|
| 51 |
- learning_rate: 3e-05
|
| 52 |
+
- train_batch_size: 64
|
| 53 |
+
- eval_batch_size: 64
|
| 54 |
- seed: 42
|
| 55 |
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 56 |
- lr_scheduler_type: linear
|
|
|
|
| 58 |
|
| 59 |
### Training results
|
| 60 |
|
| 61 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | Low Precision | Low Recall | Low F1 | Medium Precision | Medium Recall | Medium F1 | High Precision | High Recall | High F1 |
|
| 62 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:-------------:|:----------:|:------:|:----------------:|:-------------:|:---------:|:--------------:|:-----------:|:-------:|
|
| 63 |
+
| 0.2859 | 1.0 | 1590 | 0.2949 | 0.6352 | 0.5889 | 0.2921 | 0.6930 | 0.4110 | 0.8139 | 0.4930 | 0.6140 | 0.6620 | 0.8427 | 0.7415 |
|
| 64 |
+
| 0.3450 | 2.0 | 3180 | 0.2713 | 0.6566 | 0.6111 | 0.2905 | 0.7536 | 0.4193 | 0.8145 | 0.5486 | 0.6556 | 0.7203 | 0.8009 | 0.7585 |
|
| 65 |
+
| 0.1936 | 3.0 | 4770 | 0.2918 | 0.6822 | 0.6336 | 0.3331 | 0.7152 | 0.4545 | 0.8204 | 0.5901 | 0.6865 | 0.7099 | 0.8176 | 0.7599 |
|
| 66 |
+
| 0.2278 | 4.0 | 6360 | 0.3409 | 0.6833 | 0.6350 | 0.3521 | 0.6943 | 0.4673 | 0.8445 | 0.5686 | 0.6796 | 0.6780 | 0.8594 | 0.7580 |
|
| 67 |
+
| 0.1516 | 5.0 | 7950 | 0.4276 | 0.7110 | 0.6575 | 0.3970 | 0.6328 | 0.4879 | 0.8236 | 0.6441 | 0.7229 | 0.7005 | 0.8349 | 0.7618 |
|
| 68 |
|
| 69 |
|
| 70 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 409103292
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68bca36f777eebea318161ef0cdde2e416991ad1d8f5e737e68b07d9e32c46f4
|
| 3 |
size 409103292
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5265
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:841221ed0c084667e4dde4275f8b6c281a157b9d51a0da45e3fe9ffb046c2ac2
|
| 3 |
size 5265
|