Instructions to use nafew/blip2-chestxray with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nafew/blip2-chestxray with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nafew/blip2-chestxray", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from nafew/blip2-chestxray: direct link, hf CLI and curl.
- Browser
- Download file 70 Bytes
-
https://huggingface.co/nafew/blip2-chestxray/resolve/main/processor_config.json
- Command line
-
hf download hf://nafew/blip2-chestxray/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/nafew/blip2-chestxray/resolve/main/processor_config.json
70 Bytes
| { | |
| "num_query_tokens": null, | |
| "processor_class": "Blip2Processor" | |
| } | |