Instructions to use ilhkn/AI_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ilhkn/AI_classifier with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ilhkn/AI_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 ilhkn/AI_classifier with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("ilhkn/AI_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 ilhkn/AI_classifier: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/ilhkn/AI_classifier/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://ilhkn/AI_classifier/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/ilhkn/AI_classifier/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- 40fcb7d7a79cb0269eb1bb27561e3b0dde24562f4ab80a286d1a80bc537628c8
- Size of remote file:
- 438 MB
- SHA256:
- 91a884aaecadba4cb34ef65cd88349b34807f879be4cbcf157a8bd6f00ffb922
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.