Instructions to use azherali/CodeGenDetect-BERT_Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use azherali/CodeGenDetect-BERT_Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="azherali/CodeGenDetect-BERT_Classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("azherali/CodeGenDetect-BERT_Classifier") model = AutoModelForSequenceClassification.from_pretrained("azherali/CodeGenDetect-BERT_Classifier") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
f792d4e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:d54cbc4d597c6e00be453e2761859d2546590f8bb967a231fdea502ac5eaccf7
size 5176
|