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
File size: 765 Bytes
d716d43 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | {
"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
}
}
} |