Add auditor_inference helper script
Browse files- 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
|
| 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
|