Text Classification
Transformers
Safetensors
Chinese
bert
vulnerability
severity
cybersecurity
cnvd
text-embeddings-inference
Instructions to use CIRCL/vulnerability-severity-classification-chinese-macbert-base 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 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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CIRCL/vulnerability-severity-classification-chinese-macbert-base") model = AutoModelForSequenceClassification.from_pretrained("CIRCL/vulnerability-severity-classification-chinese-macbert-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,9 +20,9 @@ model-index:
|
|
| 20 |
results: []
|
| 21 |
---
|
| 22 |
|
| 23 |
-
# VLAI: A RoBERTa-Based Model for Automated Vulnerability Severity Classification (Chinese Text)
|
| 24 |
|
| 25 |
-
This model is a fine-tuned version of [hfl/chinese-macbert-base](https://huggingface.co/hfl/chinese-macbert-base) on the dataset [CIRCL/Vulnerability-CNVD](https://huggingface.co/datasets/CIRCL/Vulnerability-CNVD).
|
| 26 |
|
| 27 |
For more information, visit the [Vulnerability-Lookup project page](https://vulnerability.circl.lu) or the [ML-Gateway GitHub repository](https://github.com/vulnerability-lookup/ML-Gateway), which demonstrates its usage in a FastAPI server.
|
| 28 |
|
|
|
|
| 20 |
results: []
|
| 21 |
---
|
| 22 |
|
| 23 |
+
# VLAI: A RoBERTa-Based Model for Automated Vulnerability Severity Classification (Chinese Text)
|
| 24 |
|
| 25 |
+
🇨🇳 This model is a fine-tuned version of [hfl/chinese-macbert-base](https://huggingface.co/hfl/chinese-macbert-base) on the dataset [CIRCL/Vulnerability-CNVD](https://huggingface.co/datasets/CIRCL/Vulnerability-CNVD).
|
| 26 |
|
| 27 |
For more information, visit the [Vulnerability-Lookup project page](https://vulnerability.circl.lu) or the [ML-Gateway GitHub repository](https://github.com/vulnerability-lookup/ML-Gateway), which demonstrates its usage in a FastAPI server.
|
| 28 |
|