|
@@ -35,6 +35,15 @@ parameter_rules:
|
|
|
help:
|
|
|
zh_Hans: 控制生成结果的随机性。数值越小,随机性越弱;数值越大,随机性越强。一般而言,top_p 和 temperature 两个参数选择一个进行调整即可。
|
|
|
en_US: Control the randomness of generated results. The smaller the value, the weaker the randomness; the larger the value, the stronger the randomness. Generally speaking, you can adjust one of the two parameters top_p and temperature.
|
|
|
+ - name: top_k
|
|
|
+ label:
|
|
|
+ zh_Hans: 取样数量
|
|
|
+ en_US: Top k
|
|
|
+ type: int
|
|
|
+ help:
|
|
|
+ zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
|
|
|
+ en_US: Only sample from the top K options for each subsequent token.
|
|
|
+ required: false
|
|
|
- name: frequency_penalty
|
|
|
use_template: frequency_penalty
|
|
|
default: 0
|