Skip to content

Commit 97257ad

Browse files
committed
feat(llm): add repetition penalty to generation configuration for Qwen 3.5 VL 0.8B and 2B models
1 parent c04c27b commit 97257ad

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/react-native-executorch/src/constants/modelUrls.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ const QWEN3_5_VL_0_8B_TOKENIZER_CONFIG = `${URL_PREFIX}-qwen-3.5/${NEXT_VERSION_
587587
const QWEN3_5_VL_0_8B_GENERATION_CONFIG = {
588588
temperature: 0.6,
589589
topP: 0.95,
590+
repetitionPenalty: 1.2,
590591
} as const;
591592

592593
/**
@@ -608,6 +609,7 @@ const QWEN3_5_VL_2B_TOKENIZER_CONFIG = `${URL_PREFIX}-qwen-3.5/${NEXT_VERSION_TA
608609
const QWEN3_5_VL_2B_GENERATION_CONFIG = {
609610
temperature: 0.6,
610611
topP: 0.95,
612+
repetitionPenalty: 1.2,
611613
} as const;
612614

613615
/**

0 commit comments

Comments
 (0)