We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f67f7e3 commit 14ebe59Copy full SHA for 14ebe59
mobile/examples/phi-3/android/app/src/main/java/ai/onnxruntime/genai/demo/MainActivity.java
@@ -140,6 +140,7 @@ public void run() {
140
141
generatorParams = model.createGeneratorParams();
142
//examples for optional parameters to format AI response
143
+ // https://onnxruntime.ai/docs/genai/reference/config.html
144
generatorParams.setSearchOption("length_penalty", lengthPenalty);
145
generatorParams.setSearchOption("max_length", maxLength);
146
0 commit comments