Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniew committed Jun 20, 2024
1 parent 699d97a commit 669dd69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/llm/example/CPU/PyTorch-Models/Model/llava/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,9 @@ def get_stopping_criteria(conv, tokenizer, input_ids):

if __name__ == '__main__':
parser = argparse.ArgumentParser(


if __name__ == '__main__':
description='Predict Tokens using `generate()` API for LLaVA model')
parser.add_argument('--repo-id-or-model-path', type=str, default="liuhaotian/llava-v1.5-13b",
help='The huggingface repo id for the LLaVA model to be downloaded'
Expand Down

0 comments on commit 669dd69

Please sign in to comment.