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