Skip to content

Commit 74b5269

Browse files
committed
fix: eos->bos
1 parent 4a736a5 commit 74b5269

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/constants/sttDefaults.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export interface ModelConfig {
1818
};
1919
tokenizer: {
2020
source: string;
21-
sos: number;
21+
bos: number;
2222
eos: number;
2323
special_char: string;
2424
};
@@ -33,7 +33,7 @@ export const MODEL_CONFIGS: { [key in 'moonshine' | 'whisper']: ModelConfig } =
3333
},
3434
tokenizer: {
3535
source: MOONSHINE_TOKENIZER,
36-
sos: 1,
36+
bos: 1,
3737
eos: 2,
3838
special_char: '\u2581',
3939
},
@@ -45,7 +45,7 @@ export const MODEL_CONFIGS: { [key in 'moonshine' | 'whisper']: ModelConfig } =
4545
},
4646
tokenizer: {
4747
source: WHISPER_TOKENIZER,
48-
sos: 50257,
48+
bos: 50257,
4949
eos: 50256,
5050
special_char: 'Ġ',
5151
},

0 commit comments

Comments
 (0)