Views
No views yet
python -m pip install setfit1from setfit import SetFitModel
2
3# Download from Hub and run inference
4model = SetFitModel.from_pretrained("/var/folders/lm/k69sycyx5538ldsk5n0ln5000000gn/T/tmp7vmgfud9/killshot977/intents-setfit-model")
5# Run inference
6preds = model(["I want to tour this community","do you have a 1 bedroom", "what is your availability", "can i visit this place?", "you really did me a solid!"])
7print(preds)