Separate checkpoints from code and resources 57061ec
Z. Gao commited on
How to use CNX-PathLLM/Llama-slideQA with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("visual-question-answering", model="CNX-PathLLM/Llama-slideQA") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("CNX-PathLLM/Llama-slideQA", device_map="auto")