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