model: baichuan2-53b
label:
  en_US: Baichuan2-53B
model_type: llm
features:
  - agent-thought
model_properties:
  mode: chat
  context_size: 4000
parameter_rules:
  - name: temperature
    use_template: temperature
  - name: top_p
    use_template: top_p
  - 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: max_tokens
    use_template: max_tokens
    required: true
    default: 1000
    min: 1
    max: 4000
  - name: presence_penalty
    use_template: presence_penalty
  - name: frequency_penalty
    use_template: frequency_penalty
    default: 1
    min: 1
    max: 2
  - name: with_search_enhance
    label:
      zh_Hans: 搜索增强
      en_US: Search Enhance
    type: boolean
    help:
      zh_Hans: 允许模型自行进行外部搜索，以增强生成结果。
      en_US: Allow the model to perform external search to enhance the generation results.
    required: false
