Skip to content

Commit

Permalink
Update greedy_causal_lm.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
iefode authored Dec 20, 2024
1 parent d2acb39 commit 4b7a767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/cpp/text_generation/greedy_causal_lm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ int main(int argc, char* argv[]) try {

ov::genai::LLMPipeline pipe(models_path, device);
ov::genai::GenerationConfig config;
config.max_new_tokens = 100;
config.max_new_tokens = 100;
std::string result = pipe.generate(prompt, config);
std::cout << result << std::endl;
} catch (const std::exception& error) {
Expand Down

0 comments on commit 4b7a767

Please sign in to comment.