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
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 |
bert-base-uncased,validation,0.554825371518934,0.509984702639348,0.5203267267400704,0.511479326339123,0.5616017221995945
|
|
|
|
|
|
| 1 |
model_name,split,accuracy,precision,recall,macro_f1,weighted_f1
|
| 2 |
bert-base-uncased,validation,0.554825371518934,0.509984702639348,0.5203267267400704,0.511479326339123,0.5616017221995945
|
| 3 |
+
bert-base-uncased,test,0.5536876215165263,0.5075927158154199,0.5184341389133227,0.5091409861460865,0.5604418723691581
|