Files
redteam/main.py

20 lines
436 B
Python

import json
import dspy
from tqdm import tqdm
from program import AttackProgram, AttackProgramConfig
from dspy.teleprompt import MIPROv2
attack_program = AttackProgram(AttackProgramConfig())
def main():
# push to hub
attack_program.push_to_hub(
"farouk1/redteam", commit_message="use new modaic nomenclature", with_code=True
)
print("---------Pushed to hub!---------")
if __name__ == "__main__":
main()