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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("azherali/CodeGenDetect-BERT_Classifier") model = AutoModelForSequenceClassification.from_pretrained("azherali/CodeGenDetect-BERT_Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Training in progress, step 24000
Verified signatured342043 -
Training in progress, step 21000
Verified signature08fd0be -
Training in progress, step 18000
Verified signature9b1773c -
Training in progress, step 15000
Verified signature4e0521d -
Training in progress, step 12000
Verified signature505959c -
Training in progress, step 9000
Verified signature52f3fdf -
Training in progress, step 6000
Verified signature7322627 -
Training in progress, step 3000
Verified signaturef792d4e -
initial commit
Verified signature922eb35