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

mohamed-laid
/
codebert-python-vuln

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

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

  • Libraries
  • Transformers

    How to use mohamed-laid/codebert-python-vuln with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="mohamed-laid/codebert-python-vuln")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("mohamed-laid/codebert-python-vuln")
    model = AutoModelForSequenceClassification.from_pretrained("mohamed-laid/codebert-python-vuln", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
codebert-python-vuln
502 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
mohamed-laid's picture
mohamed-laid
Upload tokenizer
64c015f verified 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    5.17 kB
    CodeBERT C/C++ fine-tuned on CodeXGLUE defect detection 4 months ago
  • config.json
    918 Bytes
    CodeBERT C/C++ fine-tuned on CodeXGLUE defect detection 4 months ago
  • model.safetensors
    499 MB
    xet
    CodeBERT C/C++ fine-tuned on CodeXGLUE defect detection 4 months ago
  • tokenizer.json
    3.56 MB
    Upload tokenizer 4 months ago
  • tokenizer_config.json
    405 Bytes
    Upload tokenizer 4 months ago