Views
No views yet
python -m pip install setfit1from setfit import SetFitModel
2
3# Download from Hub and run inference
4model = SetFitModel.from_pretrained("/content/model")
5
6# Run inclusive or exclusive binary classification.
7predictions = model(["Elves are all snobs", "Elves are known for their high intelligence and wealth"])
8predictions