Instructions to use jiayanli/credit_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use jiayanli/credit_classifier with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("jiayanli/credit_classifier") 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] - setfit
How to use jiayanli/credit_classifier with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("jiayanli/credit_classifier") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from jiayanli/credit_classifier: direct link, hf CLI and curl.
- Browser
- Download file 134 MB
-
https://huggingface.co/jiayanli/credit_classifier/resolve/refs%2Fpr%2F1/pytorch_model.bin
- Command line
-
hf download hf://jiayanli/credit_classifier@refs/pr/1/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/jiayanli/credit_classifier/resolve/refs%2Fpr%2F1/pytorch_model.bin
134 MB
- Xet hash:
- b6c66293ca08725c412f39c176573a7e6bc796162fffa69fe86d56b236d6b0cf
- Size of remote file:
- 134 MB
- SHA256:
- 594fa0a7b6b0b309d75817cadad371df11628f4fbdc611cb76c17d7369e245cb
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.