Instructions to use danielpolok/h-chatbot-intent-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use danielpolok/h-chatbot-intent-classifier with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("danielpolok/h-chatbot-intent-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 danielpolok/h-chatbot-intent-classifier with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("danielpolok/h-chatbot-intent-classifier") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
Download model_head.pkl from danielpolok/h-chatbot-intent-classifier: direct link, hf CLI and curl.
- Browser
- Download file 56.1 kB
-
https://huggingface.co/danielpolok/h-chatbot-intent-classifier/resolve/main/model_head.pkl
- Command line
-
hf download hf://danielpolok/h-chatbot-intent-classifier/model_head.pkl
-
curl -L -o model_head.pkl https://huggingface.co/danielpolok/h-chatbot-intent-classifier/resolve/main/model_head.pkl
56.1 kB
- Xet hash:
- 65553ac66f82ba23b8c3737fe79a0bc7f14ef121558d03cd270676673133fb62
- Size of remote file:
- 56.1 kB
- SHA256:
- 96fdd95272553089a73e80d658217c8b3e6b0ea8e9df7b19d8a5a2229fb05c8f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.