Text Classification
Transformers
Safetensors
English
roberta
data-classification
sensitivity
data-governance
Synthetic
text-embeddings-inference
Instructions to use aitrainingdatabroker/document-sensitivity-tier-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aitrainingdatabroker/document-sensitivity-tier-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aitrainingdatabroker/document-sensitivity-tier-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aitrainingdatabroker/document-sensitivity-tier-classifier") model = AutoModelForSequenceClassification.from_pretrained("aitrainingdatabroker/document-sensitivity-tier-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add scores.json
Browse files- scores.json +28 -0
scores.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metric": "accuracy and macro F1",
|
| 3 |
+
"accuracy": 0.831,
|
| 4 |
+
"macro_f1": 0.823,
|
| 5 |
+
"per_label": {
|
| 6 |
+
"confidential": {
|
| 7 |
+
"f1": 0.857,
|
| 8 |
+
"support": 19
|
| 9 |
+
},
|
| 10 |
+
"internal": {
|
| 11 |
+
"f1": 0.816,
|
| 12 |
+
"support": 20
|
| 13 |
+
},
|
| 14 |
+
"public": {
|
| 15 |
+
"f1": 0.974,
|
| 16 |
+
"support": 20
|
| 17 |
+
},
|
| 18 |
+
"restricted": {
|
| 19 |
+
"f1": 0.645,
|
| 20 |
+
"support": 18
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"base_model": "distilroberta-base",
|
| 24 |
+
"train_rows": 305,
|
| 25 |
+
"test_rows": 77,
|
| 26 |
+
"epochs": 6,
|
| 27 |
+
"device": "cuda"
|
| 28 |
+
}
|