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