Instructions to use OrSabbach/food-support-copilot-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use OrSabbach/food-support-copilot-classifier with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("OrSabbach/food-support-copilot-classifier", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
| { | |
| "sklearn_version": "1.9.0", | |
| "embed_model_id": "BAAI/bge-small-en-v1.5", | |
| "features": "L2-normalized sentence embeddings of customer_message", | |
| "targets": { | |
| "category": { | |
| "accuracy": 0.9882, | |
| "macro_f1": 0.9882, | |
| "classes": [ | |
| "cancellation", | |
| "cold_food", | |
| "courier_problem", | |
| "late_delivery", | |
| "missing_item", | |
| "payment_issue", | |
| "refund_request", | |
| "wrong_order" | |
| ], | |
| "majority_baseline_accuracy": 0.129, | |
| "beats_baseline": true | |
| }, | |
| "urgency": { | |
| "accuracy": 0.4471, | |
| "macro_f1": 0.3061, | |
| "classes": [ | |
| "high", | |
| "low", | |
| "medium" | |
| ], | |
| "majority_baseline_accuracy": 0.4584, | |
| "beats_baseline": false | |
| } | |
| } | |
| } |