Instructions to use moxeeeem/pubmedclip-gpt2-captioner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use moxeeeem/pubmedclip-gpt2-captioner 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="moxeeeem/pubmedclip-gpt2-captioner")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("moxeeeem/pubmedclip-gpt2-captioner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 016a0430cf254f27255a40dd6df31dfdcbc50f7076f1c39726e7581d03110c9c
- Size of remote file:
- 1.69 GB
- SHA256:
- 2fbf3c44b3a2620f42ec2357721df197bda751cfed60dcd0225b196ee3610778
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.