-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
83 lines (79 loc) · 2.7 KB
/
setup.py
File metadata and controls
83 lines (79 loc) · 2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/usr/bin/env python3
"""
Unit420 GPT-OSS-20B Red-Teaming Submission
Setup script for package installation
"""
from setuptools import setup, find_packages
import os
# Read the README file
def read_readme():
with open("README.md", "r", encoding="utf-8") as fh:
return fh.read()
# Read requirements
def read_requirements():
with open("requirements.txt", "r", encoding="utf-8") as fh:
return [line.strip() for line in fh if line.strip() and not line.startswith("#")]
setup(
name="unit420-gpt-oss-20b-redteam",
version="1.0.0",
author="Yad Konrad",
author_email="yad.konrad@gmail.com",
description="Precision-focused red-teaming framework for GPT-OSS-20B with validated refusal detection",
long_description=read_readme(),
long_description_content_type="text/markdown",
url="https://github.com/0bserver07/unit420-gpt-oss-20b-redteam",
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Security",
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
install_requires=read_requirements(),
extras_require={
"dev": [
"pytest>=7.0.0",
"black>=22.0.0",
"flake8>=5.0.0",
],
"jupyter": [
"jupyter>=1.0.0",
"notebook>=6.4.0",
"ipykernel>=6.15.0",
],
},
entry_points={
"console_scripts": [
"unit420-assess=scripts.proper_enhanced_severity_targeting:main",
"unit420-validate=scripts.proper_best_results_validator:main",
],
},
include_package_data=True,
package_data={
"": ["*.md", "*.txt", "*.json", "*.csv"],
},
keywords=[
"ai-safety",
"red-teaming",
"gpt-oss-20b",
"vulnerability-assessment",
"llm-security",
"openai-competition",
"refusal-detection",
],
project_urls={
"Bug Reports": "https://github.com/0bserver07/unit420-gpt-oss-20b-redteam/issues",
"Source": "https://github.com/0bserver07/unit420-gpt-oss-20b-redteam",
"Competition": "https://www.kaggle.com/competitions/gpt-oss-20b-red-teaming",
},
)