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

uclanlp
/
plbart-java-clone-detection

Text Classification
Transformers
PyTorch
plbart
Model card Files Files and versions
xet
Community
2

Instructions to use uclanlp/plbart-java-clone-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use uclanlp/plbart-java-clone-detection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="uclanlp/plbart-java-clone-detection")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("uclanlp/plbart-java-clone-detection")
    model = AutoModelForSequenceClassification.from_pretrained("uclanlp/plbart-java-clone-detection")
  • Notebooks
  • Google Colab
  • Kaggle
plbart-java-clone-detection
1.18 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
system's picture
system HF Staff
initial commit
fb08d73 over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago