Instructions to use nathansutton/generate-cxr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nathansutton/generate-cxr with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="nathansutton/generate-cxr")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("nathansutton/generate-cxr") model = AutoModelForMultimodalLM.from_pretrained("nathansutton/generate-cxr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- efe68aef0a1dbd3893843a92b3896a7cfb676a6f7dd199d4f59673804c1e3741
- Size of remote file:
- 1.88 GB
- SHA256:
- f86bb37f0af5019fcc56f1ed99b0abcd1fcc6b39dae786d5a1f8d17f8a45f7c9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.