llava-llama3-docci / README.md
gokaygokay's picture
Update README.md
d6f21f4 verified
|
raw
history blame contribute delete
No virus
817 Bytes
metadata
license: apache-2.0
datasets:
  - gokaygokay/random_instruct_docci
language:
  - en
pipeline_tag: image-text-to-text

Fine tuned version of xtuner/llava-llama-3-8b-v1_1 on gokaygokay/random_instruct_docci dataset.

pip install git+https://github.com/haotian-liu/LLaVA.git --no-deps
pip install lmdeploy
# Google Colab Error Fix
import nest_asyncio
nest_asyncio.apply()
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)