diff options
Diffstat (limited to 'classification/classifier.py')
| -rwxr-xr-x | classification/classifier.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classification/classifier.py b/classification/classifier.py index d29d385a..5c81f181 100755 --- a/classification/classifier.py +++ b/classification/classifier.py @@ -11,8 +11,8 @@ parser.add_argument('--model', default="facebook/bart-large-mnli", type=str, hel parser.add_argument('--compare', nargs='?', const="MoritzLaurer/deberta-v3-large-zeroshot-v2.0", type=str, help="second model for comparison") args = parser.parse_args() -positive_categories = ['semantic'] -negative_categories = ['other', 'boot', 'network', 'KVM', 'vnc', 'graphic', 'device', 'socket', 'debug', 'files', 'PID', 'permissions', 'performance'] +positive_categories = ['semantic', 'TCG', 'assembly', 'architecture', 'mistranslation', 'register', 'x86', 'arm', 'risc-v'] +negative_categories = ['other', 'boot', 'network', 'kernel virtual machine', 'vnc', 'graphic', 'device', 'socket', 'debug', 'files', 'PID', 'permissions', 'performance'] categories = positive_categories + negative_categories def list_files_recursive(directory): |