Instructions to use SlipStream33/phi3-binary-query-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SlipStream33/phi3-binary-query-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="SlipStream33/phi3-binary-query-classifier", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("SlipStream33/phi3-binary-query-classifier", trust_remote_code=True) model = AutoModel.from_pretrained("SlipStream33/phi3-binary-query-classifier", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Tokenizer for binary classifier
Verified signature2c1755d -
Binary classification: semantic vs entity (batch_size=128)
Verified signature2bc1998 -
initial commit
Verified signature08e8606