Text Classification
setfit
Safetensors
sentence-transformers
bert
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use AlexBayer/GIST_SetFit_HIPs_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use AlexBayer/GIST_SetFit_HIPs_v1 with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("AlexBayer/GIST_SetFit_HIPs_v1") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use AlexBayer/GIST_SetFit_HIPs_v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("AlexBayer/GIST_SetFit_HIPs_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 model_head.pkl from AlexBayer/GIST_SetFit_HIPs_v1: direct link, hf CLI and curl.
- Browser
- Download file 44.2 kB
-
https://huggingface.co/AlexBayer/GIST_SetFit_HIPs_v1/resolve/main/model_head.pkl
- Command line
-
hf download hf://AlexBayer/GIST_SetFit_HIPs_v1/model_head.pkl
-
curl -L -o model_head.pkl https://huggingface.co/AlexBayer/GIST_SetFit_HIPs_v1/resolve/main/model_head.pkl
44.2 kB
- Xet hash:
- 71c5b6e22648d5594960330b05c91a1fef93da0a843dbe95982dfa93b1337fa4
- Size of remote file:
- 44.2 kB
- SHA256:
- 119c27b0b67397506ce937d3e852b846b2742b867c7f0f8d0fbbe773aeef8412
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.