How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="luodian/OTTER-Image-MPT7B")
# Load model directly
from transformers import AutoModelForSeq2SeqLM
model = AutoModelForSeq2SeqLM.from_pretrained("luodian/OTTER-Image-MPT7B", dtype="auto")
Quick Links

1S-Lab, Nanyang Technological Universityโ€ƒ 2Microsoft Research, Redmond

You can refer the code to start evaluation and demo on your local machine. https://github.com/Luodian/Otter/blob/8b386816ec67b15833cde3dcd1d7ca6a752d2451/pipeline/demos/demo_models.py#L35

Downloads last month
777
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Space using luodian/OTTER-Image-MPT7B 1