| { | |
| "model_type": "rule-based-classifier", | |
| "task": "text-classification", | |
| "language": ["ms", "en"], | |
| "categories": ["Government", "Economic", "Law", "Danger"], | |
| "num_labels": 4, | |
| "created_date": "2025-06-22", | |
| "version": "1.0.0", | |
| "training_data_size": 5707, | |
| "test_data_size": 1427, | |
| "performance_metrics": { | |
| "accuracy": 0.91, | |
| "precision_macro": 0.892, | |
| "recall_macro": 0.885, | |
| "f1_macro": 0.888 | |
| }, | |
| "per_category_metrics": { | |
| "Government": { | |
| "precision": 0.921, | |
| "recall": 0.893, | |
| "f1_score": 0.907, | |
| "support": 1409 | |
| }, | |
| "Economic": { | |
| "precision": 0.887, | |
| "recall": 0.912, | |
| "f1_score": 0.899, | |
| "support": 1412 | |
| }, | |
| "Law": { | |
| "precision": 0.879, | |
| "recall": 0.868, | |
| "f1_score": 0.873, | |
| "support": 1560 | |
| }, | |
| "Danger": { | |
| "precision": 0.881, | |
| "recall": 0.877, | |
| "f1_score": 0.879, | |
| "support": 1326 | |
| } | |
| }, | |
| "framework": "rule-based", | |
| "keywords_per_category": { | |
| "Government": 50, | |
| "Economic": 80, | |
| "Law": 60, | |
| "Danger": 70 | |
| }, | |
| "total_keywords": 260, | |
| "inference_speed_ms": 95, | |
| "model_size_mb": 1.1, | |
| "supported_platforms": ["macOS", "Linux", "Windows"], | |
| "dependencies": [], | |
| "license": "MIT", | |
| "author": "rmtariq", | |
| "repository": "https://huggingface.co/rmtariq/malaysian-priority-classifier", | |
| "use_cases": [ | |
| "Content moderation", | |
| "News categorization", | |
| "Social media monitoring", | |
| "Priority-based content routing", | |
| "Malaysian government applications" | |
| ], | |
| "limitations": [ | |
| "Designed specifically for Malaysian Bahasa Malaysia content", | |
| "Rule-based approach may miss nuanced classifications", | |
| "Best performance on formal/news-style text", | |
| "May require updates for new terminology" | |
| ] | |
| } | |