Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
tags:
|
| 3 |
+
- sklearn
|
| 4 |
+
- SVM
|
| 5 |
+
- sentence-transformers
|
| 6 |
+
- defect-classification
|
| 7 |
+
- text-classification
|
| 8 |
+
- pickle
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# 🛠 SVM Defect Classifier (Text-based)
|
| 12 |
+
|
| 13 |
+
This model is trained using **Sentence-BERT (MiniLM)** embeddings and a **Support Vector Machine (SVM)** classifier.
|
| 14 |
+
It predicts **defect types** from text descriptions.
|
| 15 |
+
|
| 16 |
+
## 🏗 Model Details
|
| 17 |
+
- **Text Embeddings**: `all-MiniLM-L6-v2` (from `sentence-transformers`)
|
| 18 |
+
- **Classifier**: SVM with RBF Kernel
|
| 19 |
+
- **Format**: `.pkl` (Pickle)
|
| 20 |
+
|
| 21 |
+
## 🔍 How to Use the Model
|
| 22 |
+
First, install dependencies:
|
| 23 |
+
```bash
|
| 24 |
+
pip install sentence-transformers scikit-learn joblib huggingface_hub
|