Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use azherali/CodeDetect-GraphCodeBERT-T2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use azherali/CodeDetect-GraphCodeBERT-T2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="azherali/CodeDetect-GraphCodeBERT-T2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("azherali/CodeDetect-GraphCodeBERT-T2") model = AutoModelForSequenceClassification.from_pretrained("azherali/CodeDetect-GraphCodeBERT-T2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload model evaluation results
Browse files- B_results.csv +1 -0
B_results.csv
CHANGED
|
@@ -1,2 +1,3 @@
|
|
| 1 |
model_name,split,accuracy,precision,recall,macro_f1,weighted_f1
|
| 2 |
microsoft/graphcodebert-base,validation,0.639861567476134,0.5928929455142122,0.6064985570372149,0.5977424927754723,0.6425900404911722
|
|
|
|
|
|
| 1 |
model_name,split,accuracy,precision,recall,macro_f1,weighted_f1
|
| 2 |
microsoft/graphcodebert-base,validation,0.639861567476134,0.5928929455142122,0.6064985570372149,0.5977424927754723,0.6425900404911722
|
| 3 |
+
microsoft/graphcodebert-base,test,0.6380816591056384,0.590262377854302,0.6034767545047094,0.5949197629919633,0.6407116348266371
|