Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Open question transformer #204

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

davesavedaday
Copy link

@davesavedaday davesavedaday commented Dec 11, 2023

Description

Feature: This PR introduces a new transformer that scores utterances with questions (0 otherwise).

The BERT similarity method computes the degree of openness of a given question by analyzing how "diverse" the reply can be, given the question. It uses BM25 method to look for 10 different questions that are the most similar to the question at hand. Then, it will compute the cosine similarity of the responses that these 10 questions received. It hinges upon the idea that the more open a question is, there is a multiple ways to answer the question; the more closed a question is, there is a fixed way that a respondent can reply -- A high similarity score will indicate closedness of the question.
The PR introduces the new transformer that accomplishes this task.

Motivation and Context

This new transformer aims to capture and score the openness of questions.

How has this been tested?

It has been tested locally through the demo.

Other information

This was made in part of the requirement of A8 of INFO 4350.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant