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