Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • 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
560 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
gchhablani's picture
gchhablani
Add spiece model and update config files
f05211c over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • config.json
    803 Bytes
    Add spiece model and update config files over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    559 MB
    xet
    Add model files over 4 years ago
  • sentencepiece.bpe.model
    986 kB
    xet
    Add spiece model and update config files over 4 years ago