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