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
Upload model evaluation results
Browse files- A_results.csv +2 -1
A_results.csv
CHANGED
|
@@ -1,2 +1,3 @@
|
|
| 1 |
model_name,split,accuracy,precision,recall,macro_f1,weighted_f1
|
| 2 |
-
microsoft/graphcodebert-base,validation,0.
|
|
|
|
|
|
| 1 |
model_name,split,accuracy,precision,recall,macro_f1,weighted_f1
|
| 2 |
+
microsoft/graphcodebert-base,validation,0.9760778094251684,0.97613794654941,0.9759429272373402,0.9760347315702568,0.9760753593906688
|
| 3 |
+
microsoft/graphcodebert-base,test,0.9762037312756509,0.976278281933328,0.9760567623346739,0.9761602673049433,0.9762009637092929
|