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

Subscores in neural ranking GAM #346

Open
lauragalera opened this issue May 19, 2023 · 0 comments
Open

Subscores in neural ranking GAM #346

lauragalera opened this issue May 19, 2023 · 0 comments

Comments

@lauragalera
Copy link

Hello there,

Following announcement #202:

I've successfully trained a neural GAM model following this tutorial, but using GAMScorer instead.

I've been able to predict the ranking of a test query using the saved model:

tf_example_predictor = loaded_model.signatures[tf.saved_model.REGRESS_METHOD_NAME]
scores = tf_example_predictor(tf.convert_to_tensor(instances))[tf.saved_model.REGRESS_OUTPUTS]

Nevertheless, I'd like to understand the logic behind these scores, which should be possible since GAM is interpretable. The API mentions that GAM layers retrieve the subscore of each feature per each document.

Could you provide some support?

Thank you

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

No branches or pull requests

1 participant