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

thealper2
/
graphcodebert-code-clone-detection

Text Classification
Transformers
Safetensors
code
roberta
clone-detection
graphcodebert
code-similarity
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use thealper2/graphcodebert-code-clone-detection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="thealper2/graphcodebert-code-clone-detection")
    # Load model directly
    from transformers import AutoTokenizer, GraphCodeBERTForCloneDetection
    
    tokenizer = AutoTokenizer.from_pretrained("thealper2/graphcodebert-code-clone-detection")
    model = GraphCodeBERTForCloneDetection.from_pretrained("thealper2/graphcodebert-code-clone-detection", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
graphcodebert-code-clone-detection
505 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
thealper2's picture
thealper2
Add GraphCodeBERT clone-detection model
2ef4ea4 verified about 21 hours ago
  • code
    Add GraphCodeBERT clone-detection model about 21 hours ago
  • .gitattributes
    1.52 kB
    initial commit about 21 hours ago
  • README.md
    6.67 kB
    Add GraphCodeBERT clone-detection model about 21 hours ago
  • config.json
    747 Bytes
    Add GraphCodeBERT clone-detection model about 21 hours ago
  • experiment_record.json
    8.6 kB
    Add GraphCodeBERT clone-detection model about 21 hours ago
  • model.safetensors
    501 MB
    xet
    Add GraphCodeBERT clone-detection model about 21 hours ago
  • tokenizer.json
    3.56 MB
    Add GraphCodeBERT clone-detection model about 21 hours ago
  • tokenizer_config.json
    388 Bytes
    Add GraphCodeBERT clone-detection model about 21 hours ago
  • training_args.bin
    5.2 kB
    xet
    Add GraphCodeBERT clone-detection model about 21 hours ago
  • training_config.json
    1.47 kB
    Add GraphCodeBERT clone-detection model about 21 hours ago