/content/model
This model is used for binary classification of racially/culturally exclusive or exclusive sentences in French and English languages.
It is a fine-tuned model of morit/french_xlm_xnli
on this dataset
with SetFit model
This model generalizes exclusivity well which is shown by the ability to detect exclusivity even to fictional races.
All code for entire experiments is in my gitrepo
Usage
Use example Google Collab notebook
Use this model in your own code:
python -m pip install setfit
You can then run predictions with the model:
from setfit import SetFitModel
# Download from Hub and run inference
model = SetFitModel.from_pretrained("/content/model")
# Run inclusive or exclusive binary classification.
predictions = model(["Elves are all snobs", "Elves are known for their high intelligence and wealth"])
predictions