Skip to content

Commit

Permalink
[Inference]Fix example in readme (#6178)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuangyaoZhang authored Jan 8, 2025
1 parent ee81366 commit 5b094a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colossalai/inference/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ engine = InferenceEngine(model, tokenizer, inference_config, verbose=True)

# Step 4: try inference
prompts = ['Who is the best player in the history of NBA?']
response = engine.generate(prompts)
response = engine.generate(prompts=prompts)
pprint(response)
```

Expand Down

0 comments on commit 5b094a8

Please sign in to comment.