Instructions to use eeahugs/query-intent-setfit-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use eeahugs/query-intent-setfit-v1 with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("eeahugs/query-intent-setfit-v1") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use eeahugs/query-intent-setfit-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("eeahugs/query-intent-setfit-v1") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from eeahugs/query-intent-setfit-v1: direct link, hf CLI and curl.
- Browser
- Download file 17.1 MB
-
https://huggingface.co/eeahugs/query-intent-setfit-v1/resolve/main/tokenizer.json
- Command line
-
hf download hf://eeahugs/query-intent-setfit-v1/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/eeahugs/query-intent-setfit-v1/resolve/main/tokenizer.json
17.1 MB
- Xet hash:
- a6ddfb21bbd4a40973f22a20de7ac7b3f2b795367b1e053663b3c7e407de318e
- Size of remote file:
- 17.1 MB
- SHA256:
- a58ef5663dc62ea993981dc8057867cba7f71179a4df85d12f507ad8991f54bd
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.