Update README.md
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ widget:
|
|
| 14 |
# kgourgou/bert-base-uncased-QA-classification
|
| 15 |
|
| 16 |
An experiment into classifying whether a pair of (question, answer) is valid. This is not a very good model at this point, but eventually such a
|
| 17 |
-
model could help with RAG. For a
|
| 18 |
|
| 19 |
Input must be formatted as
|
| 20 |
|
|
@@ -31,8 +31,8 @@ The output probabilities are for
|
|
| 31 |
|
| 32 |
Examples:
|
| 33 |
|
| 34 |
-
- "question: What number comes after five? answer: four"
|
| 35 |
-
- "question: Which person is associated with Kanye West? answer: a tree"
|
| 36 |
|
| 37 |
|
| 38 |
## Base model details
|
|
|
|
| 14 |
# kgourgou/bert-base-uncased-QA-classification
|
| 15 |
|
| 16 |
An experiment into classifying whether a pair of (question, answer) is valid. This is not a very good model at this point, but eventually such a
|
| 17 |
+
model could help with RAG. For a stronger model, check this one by [vectara](https://huggingface.co/vectara/hallucination_evaluation_model).
|
| 18 |
|
| 19 |
Input must be formatted as
|
| 20 |
|
|
|
|
| 31 |
|
| 32 |
Examples:
|
| 33 |
|
| 34 |
+
- "question: What number comes after five? answer: four" → this should be class 1 as the answer is a number (even if it's not the right number).
|
| 35 |
+
- "question: Which person is associated with Kanye West? answer: a tree" → this should be class 0 as a tree is not a person.
|
| 36 |
|
| 37 |
|
| 38 |
## Base model details
|