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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
fbefe7b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:90b017115ddd426da5656a6e29eb7b8f6d845f08abdf6dfb2a9ae22c549a6dbe
size 559345203
|