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