This is a SetFit model that can be used for Text Classification on CPU.
The model has been trained using an efficient few-shot learning technique.
Usage
from setfit import SetFitModel
model = SetFitModel.from_pretrained("MODEL_ID")
outputs = model.predict(["This is a sentence to classify", "Another sentence"])
# tensor([1, 0])
References
This work was possible thanks to the SetFit library and the work of:
Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren (2022). Efficient Few-Shot Learning Without Prompts.
MODEL_ID huggingface.co is an AI model on huggingface.co that provides MODEL_ID's model effect (), which can be used instantly with this phospho-app MODEL_ID model. huggingface.co supports a free trial of the MODEL_ID model, and also provides paid use of the MODEL_ID. Support call MODEL_ID model through api, including Node.js, Python, http.
MODEL_ID huggingface.co is an online trial and call api platform, which integrates MODEL_ID's modeling effects, including api services, and provides a free online trial of MODEL_ID, you can try MODEL_ID online for free by clicking the link below.
phospho-app MODEL_ID online free url in huggingface.co:
MODEL_ID is an open source model from GitHub that offers a free installation service, and any user can find MODEL_ID on GitHub to install. At the same time, huggingface.co provides the effect of MODEL_ID install, users can directly use MODEL_ID installed effect in huggingface.co for debugging and trial. It also supports api for free installation.