Download artifacts/classifier_comparison.json from Estarcode/campusdesk-ai: direct link, hf CLI and curl.
- Browser
- Download file 5.74 kB
-
https://huggingface.co/Estarcode/campusdesk-ai/resolve/main/artifacts/classifier_comparison.json
- Command line
-
hf download hf://Estarcode/campusdesk-ai/artifacts/classifier_comparison.json
-
curl -L -o classifier_comparison.json https://huggingface.co/Estarcode/campusdesk-ai/resolve/main/artifacts/classifier_comparison.json
5.74 kB
| { | |
| "dataset_path": "intent_requests.csv", | |
| "split_counts": { | |
| "train": 88, | |
| "val": 24, | |
| "test": 24 | |
| }, | |
| "test_counts_per_intent": { | |
| "deadlines": 6, | |
| "eligibility": 6, | |
| "required_documents": 6, | |
| "fees": 6 | |
| }, | |
| "family_overlap_across_splits": 0, | |
| "baseline": { | |
| "model_name": "TF-IDF + LogisticRegression", | |
| "selected_settings": { | |
| "feature_mode": "char_wb", | |
| "C": 2.0 | |
| }, | |
| "validation_trials": [ | |
| { | |
| "mode": "word", | |
| "C": 0.5, | |
| "val_macro_f1": 0.7037 | |
| }, | |
| { | |
| "mode": "word", | |
| "C": 1.0, | |
| "val_macro_f1": 0.7037 | |
| }, | |
| { | |
| "mode": "word", | |
| "C": 2.0, | |
| "val_macro_f1": 0.7037 | |
| }, | |
| { | |
| "mode": "word", | |
| "C": 5.0, | |
| "val_macro_f1": 0.7037 | |
| }, | |
| { | |
| "mode": "char_wb", | |
| "C": 0.5, | |
| "val_macro_f1": 0.7384 | |
| }, | |
| { | |
| "mode": "char_wb", | |
| "C": 1.0, | |
| "val_macro_f1": 0.7867 | |
| }, | |
| { | |
| "mode": "char_wb", | |
| "C": 2.0, | |
| "val_macro_f1": 0.8325 | |
| }, | |
| { | |
| "mode": "char_wb", | |
| "C": 5.0, | |
| "val_macro_f1": 0.7867 | |
| }, | |
| { | |
| "mode": "word+char", | |
| "C": 0.5, | |
| "val_macro_f1": 0.7397 | |
| }, | |
| { | |
| "mode": "word+char", | |
| "C": 1.0, | |
| "val_macro_f1": 0.7397 | |
| }, | |
| { | |
| "mode": "word+char", | |
| "C": 2.0, | |
| "val_macro_f1": 0.7897 | |
| }, | |
| { | |
| "mode": "word+char", | |
| "C": 5.0, | |
| "val_macro_f1": 0.7897 | |
| } | |
| ], | |
| "val_macro_f1": 0.8325, | |
| "test_macro_f1": 0.9143, | |
| "test_latency_ms_per_query": 0.096, | |
| "confusion_matrix_labels": [ | |
| "deadlines", | |
| "eligibility", | |
| "required_documents", | |
| "fees" | |
| ], | |
| "confusion_matrix": [ | |
| [ | |
| 4, | |
| 0, | |
| 2, | |
| 0 | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| 0, | |
| 0 | |
| ], | |
| [ | |
| 0, | |
| 0, | |
| 6, | |
| 0 | |
| ], | |
| [ | |
| 0, | |
| 0, | |
| 0, | |
| 6 | |
| ] | |
| ], | |
| "classification_report": { | |
| "deadlines": { | |
| "precision": 1.0, | |
| "recall": 0.6666666666666666, | |
| "f1-score": 0.8, | |
| "support": 6.0 | |
| }, | |
| "eligibility": { | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "f1-score": 1.0, | |
| "support": 6.0 | |
| }, | |
| "required_documents": { | |
| "precision": 0.75, | |
| "recall": 1.0, | |
| "f1-score": 0.8571428571428571, | |
| "support": 6.0 | |
| }, | |
| "fees": { | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "f1-score": 1.0, | |
| "support": 6.0 | |
| }, | |
| "accuracy": 0.9166666666666666, | |
| "macro avg": { | |
| "precision": 0.9375, | |
| "recall": 0.9166666666666666, | |
| "f1-score": 0.9142857142857143, | |
| "support": 24.0 | |
| }, | |
| "weighted avg": { | |
| "precision": 0.9375, | |
| "recall": 0.9166666666666666, | |
| "f1-score": 0.9142857142857143, | |
| "support": 24.0 | |
| } | |
| }, | |
| "confused_examples": [ | |
| { | |
| "request_id": "REQ-031", | |
| "language": "English", | |
| "text": "How recent must an LGA indigency letter be before submission?", | |
| "true_intent": "deadlines", | |
| "predicted_intent": "required_documents" | |
| }, | |
| { | |
| "request_id": "REQ-032", | |
| "language": "Nigerian Pidgin", | |
| "text": "LGA indigency letter gats be within how many months before I upload am?", | |
| "true_intent": "deadlines", | |
| "predicted_intent": "required_documents" | |
| } | |
| ] | |
| }, | |
| "fine_tuned_encoder": { | |
| "model_name": "Davlan/afro-xlmr-small", | |
| "model_revision": "main", | |
| "seed": 42, | |
| "selected_settings": { | |
| "learning_rate": 5e-05, | |
| "epochs": 8, | |
| "batch_size": 8, | |
| "max_length": 96, | |
| "weight_decay": 0.01, | |
| "warmup_steps": 5 | |
| }, | |
| "validation_trials": [ | |
| { | |
| "learning_rate": 3e-05, | |
| "epochs": 8, | |
| "val_macro_f1": 0.958 | |
| }, | |
| { | |
| "learning_rate": 5e-05, | |
| "epochs": 8, | |
| "val_macro_f1": 1.0 | |
| } | |
| ], | |
| "val_macro_f1": 1.0, | |
| "test_macro_f1": 1.0, | |
| "test_latency_ms_per_query": 55.436, | |
| "confusion_matrix_labels": [ | |
| "deadlines", | |
| "eligibility", | |
| "required_documents", | |
| "fees" | |
| ], | |
| "confusion_matrix": [ | |
| [ | |
| 6, | |
| 0, | |
| 0, | |
| 0 | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| 0, | |
| 0 | |
| ], | |
| [ | |
| 0, | |
| 0, | |
| 6, | |
| 0 | |
| ], | |
| [ | |
| 0, | |
| 0, | |
| 0, | |
| 6 | |
| ] | |
| ], | |
| "classification_report": { | |
| "deadlines": { | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "f1-score": 1.0, | |
| "support": 6.0 | |
| }, | |
| "eligibility": { | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "f1-score": 1.0, | |
| "support": 6.0 | |
| }, | |
| "required_documents": { | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "f1-score": 1.0, | |
| "support": 6.0 | |
| }, | |
| "fees": { | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "f1-score": 1.0, | |
| "support": 6.0 | |
| }, | |
| "accuracy": 1.0, | |
| "macro avg": { | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "f1-score": 1.0, | |
| "support": 24.0 | |
| }, | |
| "weighted avg": { | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "f1-score": 1.0, | |
| "support": 24.0 | |
| } | |
| }, | |
| "confused_examples": [], | |
| "checkpoint_reloaded_verified": true | |
| } | |
| } |