Instructions to use Mihir1108/demo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mihir1108/demo 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="Mihir1108/demo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("Mihir1108/demo") model = AutoModelForMultimodalLM.from_pretrained("Mihir1108/demo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Training in progress, epoch 8
576d2f6 -
Training in progress, epoch 7
1ce4adf -
Training in progress, epoch 6
1328238 -
Training in progress, epoch 5
11148f5 -
Training in progress, epoch 4
fdc7c34 -
Training in progress, epoch 3
d67827b -
Training in progress, epoch 2
b5f85fe -
Training in progress, epoch 1
c92f7bf -
Training in progress, epoch 0
14b50e1
-
Update README.md
4fc0446 -
demo
77c48d5 -
Upload 11 files
63ee5f9 -
initial commit
9f25650