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

sumitp76
/
codeberta-vuln-detector

Text Classification
Transformers
Safetensors
roberta
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use sumitp76/codeberta-vuln-detector with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="sumitp76/codeberta-vuln-detector")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("sumitp76/codeberta-vuln-detector")
    model = AutoModelForSequenceClassification.from_pretrained("sumitp76/codeberta-vuln-detector")
  • Notebooks
  • Google Colab
  • Kaggle
codeberta-vuln-detector
338 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
sumitp76's picture
sumitp76
Upload tokenizer
8ae52f0 verified 27 days ago
  • .gitattributes
    1.52 kB
    initial commit 28 days ago
  • README.md
    5.17 kB
    Upload tokenizer 28 days ago
  • config.json
    807 Bytes
    CodeBERTa fine-tuned on CodeXGLUE defect detection (V1) 27 days ago
  • model.safetensors
    334 MB
    xet
    CodeBERTa fine-tuned on CodeXGLUE defect detection (V1) 27 days ago
  • tokenizer.json
    3.71 MB
    Upload tokenizer 27 days ago
  • tokenizer_config.json
    377 Bytes
    Upload tokenizer 28 days ago