Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use azherali/CodeDetect-GraphCodeBERT-T1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use azherali/CodeDetect-GraphCodeBERT-T1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="azherali/CodeDetect-GraphCodeBERT-T1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("azherali/CodeDetect-GraphCodeBERT-T1") model = AutoModelForSequenceClassification.from_pretrained("azherali/CodeDetect-GraphCodeBERT-T1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 325 Bytes
71aa10f 22a966d | 1 2 3 4 | model_name,split,accuracy,precision,recall,macro_f1,weighted_f1
microsoft/graphcodebert-base,validation,0.9760778094251684,0.97613794654941,0.9759429272373402,0.9760347315702568,0.9760753593906688
microsoft/graphcodebert-base,test,0.9762037312756509,0.976278281933328,0.9760567623346739,0.9761602673049433,0.9762009637092929
|