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 0_StaticEmbedding/model.safetensors from cbpuschmann/klimacoder2_v0.1: direct link, hf CLI and curl.
- Browser
- Download file 434 MB
-
https://huggingface.co/cbpuschmann/klimacoder2_v0.1/resolve/main/0_StaticEmbedding/model.safetensors
- Command line
-
hf download hf://cbpuschmann/klimacoder2_v0.1/0_StaticEmbedding/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/cbpuschmann/klimacoder2_v0.1/resolve/main/0_StaticEmbedding/model.safetensors
434 MB
- Xet hash:
- a5c75d31e7f0513bd48cc7549978fc5c4110748bc08021fc2b9718d2e285a8a4
- Size of remote file:
- 434 MB
- SHA256:
- 879fb48d79dbb0425aba2b03db6e64f59e4a457bc6f0d28398c406f9fa410e2b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.