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