CohereCommand模型自訂超參數 - Amazon Bedrock

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

CohereCommand模型自訂超參數

CohereCommand和模CohereCommand Light型支援下列模型自訂的超參數。如需詳細資訊,請參閱 自訂模型

如需微調Cohere模型的相關資訊,請參閱 https://docs.cohere.com/docs/fine-tuning 上的Cohere文件。

注意

epochCount配額是可調的。

超參數 (主控台) 超參數 (API) 定義 Type 下限 最大 預設
Epoch epochCount 整個訓練資料集的重複次數 integer 1 100 1
批次大小 batchSize 更新模型參數前處理的樣本數 integer 8 8 (指令)

32 個(輕量級)

8
學習速率 learningRate 每個批次後更新模型參數的比率。如果您使用驗證資料集,建議您不要提供learningRate. float 5.00E-6 0.1 1.00E-5
提前停止閾值 earlyStoppingThreshold 為了防止過早終止培訓過程所需的損失的最小改善 float 0 0.1 0.01
儘早停止耐心 earlyStoppingPatience 停止訓練程序之前損失指標中停滯的容忍度 integer 1 10 6
評估百分比 evalPercentage

分配給模型評估的資料集百分比 (如果您未提供個別的驗證資料集)

float 5 50 20