jykoh commited on
Commit
5a8add4
Β·
1 Parent(s): 9b4dd2e

Add debug flag to test

Browse files
Files changed (1) hide show
  1. gill/models.py +1 -1
gill/models.py CHANGED
@@ -866,7 +866,7 @@ def load_gill(embeddings_dir: str, model_args_path: str, model_ckpt_path: str, d
866
  # Use the same RET tokens for generation.
867
  model_kwargs['gen_token_idx'] = model_kwargs['retrieval_token_idx']
868
 
869
- debug = False
870
  if debug:
871
  model_kwargs['opt_version'] = 'facebook/opt-125m'
872
  model_kwargs['visual_encoder'] = 'openai/clip-vit-base-patch32'
 
866
  # Use the same RET tokens for generation.
867
  model_kwargs['gen_token_idx'] = model_kwargs['retrieval_token_idx']
868
 
869
+ debug = True
870
  if debug:
871
  model_kwargs['opt_version'] = 'facebook/opt-125m'
872
  model_kwargs['visual_encoder'] = 'openai/clip-vit-base-patch32'