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
Download A_results.csv from azherali/CodeDetect-UniXCoder-T1: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/azherali/CodeDetect-UniXCoder-T1/resolve/main/A_results.csv
- Command line
-
hf download hf://azherali/CodeDetect-UniXCoder-T1/A_results.csv
-
curl -L -o A_results.csv https://huggingface.co/azherali/CodeDetect-UniXCoder-T1/resolve/main/A_results.csv
317 Bytes
| 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 | |