Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

jacpacd
/
vuln-detector-codebert

Text Classification
Transformers
Safetensors
code
roberta
code-classification
vulnerability-detection
automatic-vulnerability-detection
secure-coding
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use jacpacd/vuln-detector-codebert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use jacpacd/vuln-detector-codebert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="jacpacd/vuln-detector-codebert")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("jacpacd/vuln-detector-codebert")
    model = AutoModelForSequenceClassification.from_pretrained("jacpacd/vuln-detector-codebert", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
vuln-detector-codebert
503 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
jacpacd's picture
jacpacd
Update README.md
122b7d0 verified 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    2.79 kB
    Update README.md 11 months ago
  • config.json
    717 Bytes
    End of training for vulnerability detector 11 months ago
  • merges.txt
    456 kB
    End of training for vulnerability detector 11 months ago
  • model.safetensors
    499 MB
    xet
    End of training for vulnerability detector 11 months ago
  • special_tokens_map.json
    958 Bytes
    End of training for vulnerability detector 11 months ago
  • tokenizer.json
    3.56 MB
    End of training for vulnerability detector 11 months ago
  • tokenizer_config.json
    1.25 kB
    End of training for vulnerability detector 11 months ago
  • training_args.bin
    5.71 kB
    xet
    End of training for vulnerability detector 11 months ago
  • vocab.json
    798 kB
    End of training for vulnerability detector 11 months ago