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

  • Log In
  • Sign Up

uclanlp
/
plbart-c-cpp-defect-detection

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

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

  • Libraries
  • Transformers

    How to use uclanlp/plbart-c-cpp-defect-detection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="uclanlp/plbart-c-cpp-defect-detection")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("uclanlp/plbart-c-cpp-defect-detection")
    model = AutoModelForSequenceClassification.from_pretrained("uclanlp/plbart-c-cpp-defect-detection")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Adds missing tokenizer configuration file

#4 opened about 2 years ago by
lysandre

There is a problem bewteen the pre-training model and PLBartForSequenceClassification architecture?

#3 opened over 2 years ago by
hrshy0629

Adding `safetensors` variant of this model

#2 opened about 3 years ago by
SFconvertbot

How to use this model

#1 opened almost 4 years ago by
Zaib
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs