kricko commited on
Commit
6cd9f20
·
verified ·
1 Parent(s): 58d6645

Add auditor_inference helper script

Browse files
Files changed (1) hide show
  1. auditor_inference.py +1 -1
auditor_inference.py CHANGED
@@ -283,7 +283,7 @@ def inference(model, tokenizer, image, prompt=""):
283
  # =============================================================================
284
  if __name__ == "__main__":
285
  print("[+] Loading Standalone Modular Auditor Architecture...")
286
- # Initialize tokenizer (Usually, you'd load the state dict or recreate it with vocab)
287
  tokenizer = SimpleTokenizer(vocab_size=50000, max_length=MAX_PROMPT_LENGTH)
288
 
289
  # Initialize the model instance
 
283
  # =============================================================================
284
  if __name__ == "__main__":
285
  print("[+] Loading Standalone Modular Auditor Architecture...")
286
+ # Initialize tokenizer
287
  tokenizer = SimpleTokenizer(vocab_size=50000, max_length=MAX_PROMPT_LENGTH)
288
 
289
  # Initialize the model instance