Instructions to use NeuronZero/CXR-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NeuronZero/CXR-Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="NeuronZero/CXR-Classifier") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("NeuronZero/CXR-Classifier") model = AutoModelForImageClassification.from_pretrained("NeuronZero/CXR-Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from NeuronZero/CXR-Classifier: direct link, hf CLI and curl.
- Browser
- Download file 343 MB
-
https://huggingface.co/NeuronZero/CXR-Classifier/resolve/main/model.safetensors
- Command line
-
hf download hf://NeuronZero/CXR-Classifier/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/NeuronZero/CXR-Classifier/resolve/main/model.safetensors
343 MB
- Xet hash:
- c15c9ff87ca0a9ec19966a7c4fd0e5e1d49f62a649b99c53ee5b1f4107d30372
- Size of remote file:
- 343 MB
- SHA256:
- 80584abcc67d75cd6b1bb645f5ea036d18ddcdef533578238eb8283f6cfc5f15
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.