Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use azherali/CodeDetect-UniXCoder-T1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use azherali/CodeDetect-UniXCoder-T1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="azherali/CodeDetect-UniXCoder-T1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("azherali/CodeDetect-UniXCoder-T1") model = AutoModelForSequenceClassification.from_pretrained("azherali/CodeDetect-UniXCoder-T1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 317 Bytes
1a5a374 072ad79 | 1 2 3 4 | model_name,split,accuracy,precision,recall,macro_f1,weighted_f1
microsoft/unixcoder-base,validation,0.97994238736406,0.9799524703703388,0.979866841375429,0.9799084980572532,0.9799414926585844
microsoft/unixcoder-base,test,0.9801784072812957,0.9802261198395685,0.9800683895484947,0.9801434891052986,0.9801767794194323
|