How to use mrm8488/codebert-base-finetuned-detect-insecure-code with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mrm8488/codebert-base-finetuned-detect-insecure-code")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mrm8488/codebert-base-finetuned-detect-insecure-code") model = AutoModelForSequenceClassification.from_pretrained("mrm8488/codebert-base-finetuned-detect-insecure-code")
Hello! I want to use the model to extract features of codes. What programming languages are supported by this model?
· Sign up or log in to comment