Instructions to use roborovski/phi-2-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use roborovski/phi-2-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="roborovski/phi-2-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("roborovski/phi-2-classifier") model = AutoModelForSequenceClassification.from_pretrained("roborovski/phi-2-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from roborovski/phi-2-classifier: direct link, hf CLI and curl.
- Browser
- Download file 497 MB
-
https://huggingface.co/roborovski/phi-2-classifier/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://roborovski/phi-2-classifier/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/roborovski/phi-2-classifier/resolve/main/pytorch_model.bin
497 MB
- Xet hash:
- e7e1db0973aada231367703875a180f0436d4291de9ae89cade500eb6c38409b
- Size of remote file:
- 497 MB
- SHA256:
- dcb0dd1e66a0a12f0873d559f699b7308b3d766a833e21e45ef8d843b94b44b9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.