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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

anyu205
/
codebert-code-detection

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

Instructions to use anyu205/codebert-code-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use anyu205/codebert-code-detection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="anyu205/codebert-code-detection")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("anyu205/codebert-code-detection")
    model = AutoModelForSequenceClassification.from_pretrained("anyu205/codebert-code-detection")
  • Notebooks
  • Google Colab
  • Kaggle
codebert-code-detection
3.57 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
anyu205's picture
anyu205
Upload tokenizer
097a943 verified 21 days ago
  • .gitattributes
    1.52 kB
    initial commit 21 days ago
  • README.md
    5.17 kB
    Upload tokenizer 21 days ago
  • tokenizer.json
    3.56 MB
    Upload tokenizer 21 days ago
  • tokenizer_config.json
    358 Bytes
    Upload tokenizer 21 days ago