@@ -351,11 +351,11 @@ def __init__(self, *, vllm_config: VllmConfig, prefix: str = ""):
351
351
embed_std = 1 / torch .sqrt (
352
352
torch .tensor (self .projector_config .n_embed , dtype = torch .float32 ))
353
353
if self .tile_tag == "2D" :
354
- # <|view_separator |>, <|\n|>
354
+ # <|view_seperator |>, <|\n|>
355
355
self .image_newline = nn .Parameter (
356
356
torch .randn (self .projector_config .n_embed ) * embed_std )
357
357
# This is a typo in original implementation
358
- self .view_separator = nn .Parameter (
358
+ self .view_seperator = nn .Parameter (
359
359
torch .randn (self .projector_config .n_embed ) * embed_std )
360
360
else :
361
361
raise ValueError (
@@ -560,13 +560,13 @@ def _pixel_values_to_embedding(
560
560
if self .global_view_pos == "head" :
561
561
global_local_features = torch .cat ([
562
562
global_features ,
563
- self .view_separator [None , :],
563
+ self .view_seperator [None , :],
564
564
local_features ,
565
565
])
566
566
else :
567
567
global_local_features = torch .cat ([
568
568
local_features ,
569
- self .view_separator [None , :],
569
+ self .view_seperator [None , :],
570
570
global_features ,
571
571
])
572
572
0 commit comments