license: apache-2.0 | |
``` | |
pip install git+https://github.com/haotian-liu/LLaVA.git --no-deps | |
pip install lmdeploy | |
``` | |
```python | |
from lmdeploy import pipeline | |
from lmdeploy.vl import load_image | |
pipe = pipeline('gokaygokay/llava-llama3-docci') | |
image = load_image('https://raw.githubusercontent.com/open-mmlab/mmdeploy/main/tests/data/tiger.jpeg') | |
response = pipe(('describe this image', image)) | |
print(response) | |
``` |