Fix type error in tsc

This commit is contained in:
Brandon Rising 2024-08-26 13:12:45 -04:00 committed by Brandon
parent 849da67cc7
commit 2ba9b02932

View File

@ -14,7 +14,7 @@ const FORMAT_NAME_MAP: Record<AnyModelConfig['format'], string> = {
embedding_file: 'embedding',
embedding_folder: 'embedding',
t5_encoder: 't5_encoder',
t5_encoder_8b: 't5_encoder_8b',
bnb_quantized_int8b: 'bnb_quantized_int8b',
bnb_quantized_nf4b: 'quantized',
};
@ -26,7 +26,7 @@ const FORMAT_COLOR_MAP: Record<AnyModelConfig['format'], string> = {
embedding_file: 'base',
embedding_folder: 'base',
t5_encoder: 'base',
t5_encoder_8b: 'base',
bnb_quantized_int8b: 'base',
bnb_quantized_nf4b: 'base',
};