LanguageBind commited on
Commit
ccd1b1b
1 Parent(s): cbfb9b8

Update llava/model/builder.py

Browse files
Files changed (1) hide show
  1. llava/model/builder.py +1 -1
llava/model/builder.py CHANGED
@@ -149,7 +149,7 @@ def load_pretrained_model(model_path, model_base, model_name, load_8bit=False, l
149
  tokenizer.add_tokens([DEFAULT_X_START_TOKEN[x.upper()], DEFAULT_X_END_TOKEN[x.upper()]], special_tokens=True)
150
  '''
151
  model.resize_token_embeddings(len(tokenizer))
152
- print(X)
153
  #if 'Image' in X:
154
  image_tower = model.get_image_tower()
155
  if not image_tower.is_loaded:
 
149
  tokenizer.add_tokens([DEFAULT_X_START_TOKEN[x.upper()], DEFAULT_X_END_TOKEN[x.upper()]], special_tokens=True)
150
  '''
151
  model.resize_token_embeddings(len(tokenizer))
152
+ #print(X)
153
  #if 'Image' in X:
154
  image_tower = model.get_image_tower()
155
  if not image_tower.is_loaded: