Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

mahdin70
/
graphcodebert-devign-code-vulnerability-detector

Text Classification
Transformers
Safetensors
English
roberta
Code
Vulnerability
Detection
C/C++
Model card Files Files and versions
xet
Community

Instructions to use mahdin70/graphcodebert-devign-code-vulnerability-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mahdin70/graphcodebert-devign-code-vulnerability-detector with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="mahdin70/graphcodebert-devign-code-vulnerability-detector")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("mahdin70/graphcodebert-devign-code-vulnerability-detector")
    model = AutoModelForSequenceClassification.from_pretrained("mahdin70/graphcodebert-devign-code-vulnerability-detector")
  • Notebooks
  • Google Colab
  • Kaggle
graphcodebert-devign-code-vulnerability-detector
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
mahdin70's picture
mahdin70
Update README.md
5069a36 verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    3.93 kB
    Update README.md about 1 year ago
  • config.json
    809 Bytes
    Upload RobertaForSequenceClassification about 1 year ago
  • model.safetensors
    499 MB
    xet
    Upload RobertaForSequenceClassification about 1 year ago