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
Update README.md
Browse files
README.md
CHANGED
|
@@ -165,8 +165,8 @@ The following output is illustrative. Actual predictions and scores depend on th
|
|
| 165 |
|
| 166 |
| Field | Description |
|
| 167 |
|---|---|
|
| 168 |
-
| `predicted_class_id` | Predicted class index: `0`
|
| 169 |
-
| `predicted_label` | Predicted class: `Human`
|
| 170 |
| `class_probabilities` | Softmax scores for each class. |
|
| 171 |
|
| 172 |
|
|
|
|
| 165 |
|
| 166 |
| Field | Description |
|
| 167 |
|---|---|
|
| 168 |
+
| `predicted_class_id` | Predicted class index: `0`-->`110`. |
|
| 169 |
+
| `predicted_label` | Predicted class: `Human` `qwen`, `phi` etc. |
|
| 170 |
| `class_probabilities` | Softmax scores for each class. |
|
| 171 |
|
| 172 |
|