-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathattack_types.py
More file actions
13 lines (13 loc) · 861 Bytes
/
attack_types.py
File metadata and controls
13 lines (13 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
file_names = ["original_control", "naive_char", "char", "delete_char", "duplicate_char", "typo_char",
"homoglyph_char", "synonym_word", "homophone_word", "homophone_word_2"]
run_names = ["original-control", "naive-char", "char", "delete-char", "duplicate-char", "typo-char",
"homoglyph-char", "synonym-word", "homophone-word", "homophone-word-2"]
title_names = ['Original Control', 'Naive Char Permutation', 'Char Permutation', 'Delete Char Permutation',
'Duplicate Char Permutation', 'Typo Char Permutation', 'Homoglyph Char Permutation',
'Synonym Word Permutation', 'Homophone Word Permutation', 'Homophone Word 2 Permutation']
IMAGES_SAVED = 20
PROMPT_NUMBER = 10000
IMAGE_PATH = './image_outputs'
PROMPT_PATH = './permutations'
CAPTION_PATH = './image_captions'
DATA = './metrics/captions_10000.txt'