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