Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion llama_adapter_v2_multimodal7b/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
llama_dir = "/path/to/LLaMA/"

# choose from BIAS-7B, LORA-BIAS-7B, CAPTION-7B.pth
model, preprocess = llama.load("BIAS-7B", llama_dir, device)
model, preprocess = llama.load("BIAS-7B", llama_dir, device=device)
model.eval()

prompt = llama.format_prompt('Please introduce this painting.')
Expand Down