Educational sentences classification

Hi,

I am thinking of using a hugging face model for my text classification task.
for Example: " What is Addition in Math " and the Second sentence " “What is Addition in Physics?” So when I fed these 2 sentences to the model, the model should give a positive response( high score) to the Math sentence because it’s valid and a negative response(low score) to the physics sentence, this is my requirement.

All my questions will be regarding the topics covered in different subjects from Grade 1 to Grade 10.

Could someone help me with which model will be a right fit and also which dataset will be useful, I am new to this ML stuff, so any inputs will be quite helpful

Thank you in advance, peace✌