| # COLAS_CLASSIFIER (Supervised + Semantic fallback) | |
| This repository contains: | |
| - A supervised Transformer classifier (`./supervised_final`) | |
| - A FAISS semantic retrieval fallback (`faiss_labels.index` + `label_table.csv`) | |
| - A custom `handler.py` for Hugging Face Inference Endpoints. | |
| ## Payload | |
| POST JSON: | |
| ```json | |
| { | |
| "inputs": "YOUR ITEM DESCRIPTION", | |
| "top_k": 20, | |
| "threshold": 0.80, | |
| "use_rerank": true | |
| } | |