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:
- a88e10811aca3a48c95330e7d206e0e20fe106a9f462a799dde1539495dc845a
- Size of remote file:
- 1.88 GB
- SHA256:
- a5ce6df2b9a61dd6d04acf7e0caf5f051c4b8047a490ef2295061fd393a7d912
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.