Instructions to use azherali/CodeDetect-BERT-T2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use azherali/CodeDetect-BERT-T2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="azherali/CodeDetect-BERT-T2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("azherali/CodeDetect-BERT-T2") model = AutoModelForSequenceClassification.from_pretrained("azherali/CodeDetect-BERT-T2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
27 days ago
-
Training in progress, epoch 5
Verified signature22c50d7 -
Training in progress, epoch 4
Verified signaturefd28bfc -
Training in progress, epoch 3
Verified signature4b095a2 -
Training in progress, epoch 2
Verified signature81d47f2 -
Training in progress, epoch 1
Verified signaturec274240