Update README.md
Browse files
README.md
CHANGED
|
@@ -7,6 +7,7 @@ language:
|
|
| 7 |
# Refusal Classifier Model
|
| 8 |
|
| 9 |
A simple NLP model for classifying text responses as either `refusal` or `valid`.
|
|
|
|
| 10 |
|
| 11 |
## 🧠 What It Does
|
| 12 |
|
|
@@ -21,7 +22,7 @@ Useful for detecting AI refusals and filtering them during generation.
|
|
| 21 |
- Built using **scikit-learn** with:
|
| 22 |
- `TfidfVectorizer` (1–2 n-grams, lowercase)
|
| 23 |
- `LogisticRegression`
|
| 24 |
-
- Trained on a small dataset of
|
| 25 |
- Dataset stored in `dataset.jsonl` with format:
|
| 26 |
```json
|
| 27 |
{"text": "The capital of France is Paris.", "label": "valid"}
|
|
|
|
| 7 |
# Refusal Classifier Model
|
| 8 |
|
| 9 |
A simple NLP model for classifying text responses as either `refusal` or `valid`.
|
| 10 |
+
Works on 90% of test cases.
|
| 11 |
|
| 12 |
## 🧠 What It Does
|
| 13 |
|
|
|
|
| 22 |
- Built using **scikit-learn** with:
|
| 23 |
- `TfidfVectorizer` (1–2 n-grams, lowercase)
|
| 24 |
- `LogisticRegression`
|
| 25 |
+
- Trained on a small dataset of synthetic labeled examples (1175/1517 refusal/valid pairs)
|
| 26 |
- Dataset stored in `dataset.jsonl` with format:
|
| 27 |
```json
|
| 28 |
{"text": "The capital of France is Paris.", "label": "valid"}
|