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
Upload best_stageA.pt with huggingface_hub
Browse files- best_stageA.pt +2 -2
best_stageA.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3371ed6284c7ec6c10ad35a3dfdc47d33719c70b48e7125f3614c99bd6f118b
|
| 3 |
+
size 1693240765
|