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