How to use WYHu/cve2cpe_bert_with_classification_report with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="WYHu/cve2cpe_bert_with_classification_report")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("WYHu/cve2cpe_bert_with_classification_report") model = AutoModelForTokenClassification.from_pretrained("WYHu/cve2cpe_bert_with_classification_report")