Image-to-Text
Transformers
PyTorch
Safetensors
vision-encoder-decoder
image-text-to-text
image-captioning
Instructions to use bipin/image-caption-generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bipin/image-caption-generator 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="bipin/image-caption-generator")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("bipin/image-caption-generator") model = AutoModelForMultimodalLM.from_pretrained("bipin/image-caption-generator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.00297d5
-
Update README.md
b8403b2
-
Update README.md
fb824de
-
Update README.md
e1d250c -
Update README.md
5fb98a7 -
update model card README.md
4a901bc -
trained for 5 epochs with 4 beams
cf7b65d -
Training in progress, step 3500
a74aa22 -
Training in progress, step 3000
9f3a734 -
Training in progress, step 2500
5e76744 -
Training in progress, step 2000
3d21d91 -
Training in progress, step 1500
df8c086 -
Training in progress, step 1000
f3e6487 -
Training in progress, step 500
16cee9e -
Training in progress, step 2000
805ddc6 -
Training in progress, step 1500
e19865e -
Training in progress, step 1000
3c2760f -
Training in progress, step 500
df2d240 -
update model card README.md
d171482 -
added parameters for beams
b575986 -
Training in progress, step 2000
e7a698c -
Training in progress, step 1500
51fc721 -
Training in progress, step 1000
919e0e8 -
Training in progress, step 500
a2e1774
-
Training in progress, step 2000
48c5e54 -
Training in progress, step 1500
3c2dba1 -
Training in progress, step 1000
74206a1 -
Training in progress, step 500
73a0af2 -
update model card README.md
48f495b -
training with new dataset complete
c6b0b63 -
Training in progress, step 2000
3f6c845 -
Training in progress, step 1500
afa7805 -
Training in progress, step 1000
3537482 -
Training in progress, step 500
b43dbcc -
Training in progress, epoch 5
985bf28 -
Training in progress, epoch 1
657cb52 -
Training in progress, epoch 4
2c24a19 -
Training in progress, epoch 1
fa4daf3
-
Training in progress, step 1000
5e345cc -
Training in progress, step 500
261ba2f -
Training in progress, step 500
1c56026 -
Training in progress, step 500
5651276
-
update model card README.md
54d3444 -
training complete
a705855 -
Training in progress, step 500
7843676 -
initial commit
1c49940