Skip to content

Commit

Permalink
Apply code style, again
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Nov 6, 2023
1 parent a4b5451 commit 1227f01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inference-mistral.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ def main(args):

if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Fine-tuned Model Inference')
parser.add_argument("--base_mistral_model", type=str, default="mistralai/Mistral-7B-v0.1", help="Base mistral from hugging face")
# fmt: off
parser.add_argument('--base_mistral_model', type=str, default='mistralai/Mistral-7B-v0.1', help='Base mistral from hugging face')
parser.add_argument('--prompt', type=str, help='Input prompt for text generation')
parser.add_argument('--max_tokens', type=int, default=50, help='Maximum number of tokens in the generated response')
# fmt: on

args = parser.parse_args()
main(args)

0 comments on commit 1227f01

Please sign in to comment.