Downloads · 30 days
13
4% of all-time downloads
kgourgou/bert-base-uncased-QA-classification
bert-base-uncased-QA-classification is a text classification model from kgourgou. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
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 model could help with RAG. For a stronger model, check this one by vectara.
Downloads · 30 days
13
4% of all-time downloads
All-time downloads
364
Public
Parameters
109M
438 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
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 model could help with RAG. For a stronger model, check this one by vectara.
Input must be formatted as
question: {your query}? answer: {your possible answer}
The output probabilities are for
"Could be" should be interpreted as a type match, e.g., if the question requires the answer to be a person or a number or a date.
Examples:
The base model is bert-base-uncased. For this experiment, I only use the "squad" dataset after preprocessing it to bring it to the required format.