Instructions to use wangjin2000/git-base-finetune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wangjin2000/git-base-finetune 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="wangjin2000/git-base-finetune")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("wangjin2000/git-base-finetune") model = AutoModelForMultimodalLM.from_pretrained("wangjin2000/git-base-finetune", 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.dde56db -
Delete model.safetensors
94020ec -
copy from microsoft/git-base
5998918 -
copy from microsoft/git-base
f6f8e8f -
copy from microsoft/git-base
0661f80 -
copy from microsoft/git-base
cb1c973 -
copy from microsoft/git-base
34c05b7 -
copy from microsoft/git-base
1cba073 -
Copy over this file from microsoft/git-base
3e11193
-
Training in progress, step 900
cdeb9a5 -
Training in progress, step 850
1aa92bc -
Training in progress, step 800
3e90449 -
Training in progress, step 750
860a158 -
Training in progress, step 700
2f924cf -
Training in progress, step 650
d323bdb -
Training in progress, step 600
b340b5e -
Training in progress, step 550
df58b23 -
Training in progress, step 500
05ed096 -
Training in progress, step 450
3013c1e -
Training in progress, step 400
bc0949e -
Training in progress, step 350
97b457f -
Training in progress, step 300
567db28 -
Training in progress, step 250
616bddc -
Training in progress, step 200
e965468 -
Training in progress, step 150
5100738 -
Training in progress, step 100
4ad59f0 -
Training in progress, step 50
89529b6
-
initial commit
a119cf8