Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use azherali/CodeDetect-UniXCoder-T2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use azherali/CodeDetect-UniXCoder-T2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="azherali/CodeDetect-UniXCoder-T2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("azherali/CodeDetect-UniXCoder-T2") model = AutoModelForSequenceClassification.from_pretrained("azherali/CodeDetect-UniXCoder-T2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download B_results.csv from azherali/CodeDetect-UniXCoder-T2: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/azherali/CodeDetect-UniXCoder-T2/resolve/main/B_results.csv
- Command line
-
hf download hf://azherali/CodeDetect-UniXCoder-T2/B_results.csv
-
curl -L -o B_results.csv https://huggingface.co/azherali/CodeDetect-UniXCoder-T2/resolve/main/B_results.csv
320 Bytes
| model_name,split,accuracy,precision,recall,macro_f1,weighted_f1 | |
| microsoft/unixcoder-base,validation,0.6569323197169132,0.6119863072506935,0.6190815282050385,0.6142883273491443,0.6575588843743545 | |
| microsoft/unixcoder-base,test,0.6546208684381076,0.6086423138092217,0.6155246797230103,0.6108994563102698,0.6554135078725483 | |