YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

from transformers import BlipProcessor, BlipModel

Load model & processor

processor = BlipProcessor.from_pretrained("Salesforce/blip-image-captioning-base") model = BlipModel.from_pretrained("Salesforce/blip-image-captioning-base")

from huggingface_hub import notebook_login

notebook_login()

processor.save_pretrained('blip-base') # safe_serialization=True model.save_pretrained('blip-base')

!hf repo create blip-base --repo-type model

from huggingface_hub import upload_folder

upload_folder( repo_id='DevJGraham/blip-base', folder_path = 'blip-base' )

Downloads last month
2
Safetensors
Model size
0.2B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support