CoolFace
Modelpublic

BeToast/xml_xnli__inclusiveORexclusive__binary_classification__frenchANDenglish

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
1likes17downloads
Model Card

/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:
bash
python -m pip install setfit

You can then run predictions with the model:

python
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