Instructions to use MAGAer13/mplug-owl-llama-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MAGAer13/mplug-owl-llama-7b 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="MAGAer13/mplug-owl-llama-7b")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("MAGAer13/mplug-owl-llama-7b", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Is there a way to quantize this model
#2
by ParisNeo - opened
Hi there.
Your model is really cool. I have added it to lollms so that people can use it to interact with images.
But I don't have a big GPU and it is making my GPU suffer.
I wonder if it is in anysense possible to quantize the model to 4bits using GPTQ? I know it is possible with llama models.
Best regards