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: 1.9271
|
| 22 |
+
- Accuracy: 0.7647
|
| 23 |
+
- F1 Macro: 0.6842
|
| 24 |
+
- Low Precision: 0.6080
|
| 25 |
+
- Low Recall: 0.4038
|
| 26 |
+
- Low F1: 0.4853
|
| 27 |
+
- Medium Precision: 0.7836
|
| 28 |
+
- Medium Recall: 0.8137
|
| 29 |
+
- Medium F1: 0.7984
|
| 30 |
+
- High Precision: 0.7600
|
| 31 |
+
- High Recall: 0.7782
|
| 32 |
+
- High F1: 0.7690
|
| 33 |
|
| 34 |
## Model description
|
| 35 |
|
|
|
|
| 49 |
|
| 50 |
The following hyperparameters were used during training:
|
| 51 |
- learning_rate: 3e-05
|
| 52 |
+
- train_batch_size: 48
|
| 53 |
+
- eval_batch_size: 48
|
| 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 |
+
| 1.7246 | 1.0 | 2120 | 1.8115 | 0.7468 | 0.6062 | 0.6827 | 0.1736 | 0.2768 | 0.7552 | 0.8203 | 0.7864 | 0.7370 | 0.7749 | 0.7555 |
|
| 64 |
+
| 1.7560 | 2.0 | 4240 | 1.6959 | 0.7649 | 0.6670 | 0.6188 | 0.3362 | 0.4357 | 0.7580 | 0.8613 | 0.8064 | 0.8006 | 0.7214 | 0.7590 |
|
| 65 |
+
| 1.2407 | 3.0 | 6360 | 1.7663 | 0.7664 | 0.6825 | 0.6071 | 0.3894 | 0.4745 | 0.7895 | 0.8096 | 0.7994 | 0.7554 | 0.7930 | 0.7737 |
|
| 66 |
+
| 1.2336 | 4.0 | 8480 | 1.8252 | 0.7678 | 0.6870 | 0.5968 | 0.4099 | 0.4860 | 0.7866 | 0.8167 | 0.8014 | 0.7665 | 0.7806 | 0.7735 |
|
| 67 |
+
| 1.0107 | 5.0 | 10600 | 1.9271 | 0.7647 | 0.6842 | 0.6080 | 0.4038 | 0.4853 | 0.7836 | 0.8137 | 0.7984 | 0.7600 | 0.7782 | 0.7690 |
|
| 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:e41fa0a0cf912511fdf4c74c65f599329793b3130d8530d5418f9760924f8854
|
| 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:1772bd105fbd572b97a68871eadbcff379020c8bf2bc9c9ae2f05d39342fdec5
|
| 3 |
size 5265
|