jailbreakbench

View on PyPIReverse Dependencies (0)

1.0.0 jailbreakbench-1.0.0-py3-none-any.whl

Wheel Details

Project: jailbreakbench
Version: 1.0.0
Filename: jailbreakbench-1.0.0-py3-none-any.whl
Download: [link]
Size: 39377
MD5: 9e0e493e6a786ce4e742d513c8da52a6
SHA256: b6ea9243e5ad91fded7026fd938d195cda00f65bc7f7afb92f675c55a41f7a54
Uploaded: 2024-06-13 09:05:40 +0000

dist-info

METADATA

Metadata-Version: 2.3
Name: jailbreakbench
Version: 1.0.0
Summary: An Open Robustness Benchmark for Jailbreaking Language Models
Project-Url: Homepage, https://jailbreakbench.github.io
Project-Url: Repository, https://github.com/JailbreakBench/jailbreakbench.git
Project-Url: Issues, https://github.com/JailbreakBench/jailbreakbench/issues
License: MIT License Copyright (c) 2023 JailbreakBench Team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Keywords: benchmark,jailbreak,jailbreakbench,llms,machine learning,security
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: GPU
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Security
Requires-Python: <3.12,>=3.10
Requires-Dist: datasets (>=2.19.2)
Requires-Dist: litellm (>=1.20.0)
Requires-Dist: nltk (>=3.8.1)
Requires-Dist: pandas (<3.0.0,>=2.2.0)
Requires-Dist: protobuf (<5.0.0,>=4.25.3)
Requires-Dist: pydantic (<3.0.0,>=2.6.1)
Requires-Dist: requests (<3.0.0,>=2.31.0)
Requires-Dist: sentencepiece (<1.0.0,>=0.2.0)
Requires-Dist: setuptools (>=61.0)
Requires-Dist: tenacity (<9.0.0,>=8.2.3)
Requires-Dist: torch (<3.0.0,>=2.0.0)
Requires-Dist: tqdm (>=4.66.2)
Requires-Dist: transformers (<5.0.0,>=4.38.0)
Requires-Dist: types-requests (<3.0.0,>=2.31.0)
Requires-Dist: wordfreq (>=3.1.1)
Requires-Dist: accelerate (<1.0.0,>=0.27.2); extra == "vllm"
Requires-Dist: click (<9.0.0,>=8.1.7); extra == "vllm"
Requires-Dist: vllm (~=0.3.2); extra == "vllm"
Provides-Extra: vllm
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 22525 characters]

WHEEL

Wheel-Version: 1.0
Generator: hatchling 1.24.2
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
jailbreakbench/__init__.py sha256=bJ3zNu3YfmU1ST6f3yV1KDE4Xhr-56joCdrJ-Kbkl2M 724
jailbreakbench/artifact.py sha256=HeBaU0tBS0nKbSjr6qQEMpRwaPg3-EWo-Bpq965ffjY 5849
jailbreakbench/classifier.py sha256=yY_t0s0OlL-sSfKXsfCO6_QfqR7wy7RrvIl9n9-h3E0 11174
jailbreakbench/config.py sha256=HDOVr3Z-aZiE2_35d9H63gGHX-kFqyxmxqXPn0CkQhE 3897
jailbreakbench/dataset.py sha256=u7XEkrOulXUujh3iCWmZ2cMgNd9Mz1LgFrxir9BIFPM 1635
jailbreakbench/submission.py sha256=0xbCi7_45mYDMIhCJEONaiz28P440hbhTqw4Xx-CCgk 15140
jailbreakbench/vllm_server.py sha256=b9TSrciPIxhBUtFU5BlO5NE39BRXN4cEq4Dwe4BRb08 88
jailbreakbench/defenses/__init__.py sha256=JBJqAiTSie4g27x1KkyetQ1AkcXR29THrRriF1XBK5g 470
jailbreakbench/defenses/base_defense.py sha256=7--w7xn-x6yAMBFixqfUBtBWLQ4zi6Xr6enzSTn6M2g 2067
jailbreakbench/defenses/defenses_registry.py sha256=XGGvSksja7drxAvwkdEvsoMxkIktX8cpDvRSzuBMCMc 448
jailbreakbench/defenses/erase_and_check.py sha256=FtsywCQWKBoaCbvvQ8BfrkmIExgkjVvELOhEHXcF35M 2793
jailbreakbench/defenses/perplexity_filter.py sha256=tErbdCcW1XlsB_c9tQK0dxUS67giiNxG8wuc1ORmAkc 3374
jailbreakbench/defenses/remove_non_dictionary.py sha256=0n7MrqE44FzYxWtgtK7-mPi2MdCj8h7t2CbiEwtcVVQ 1685
jailbreakbench/defenses/smooth_llm.py sha256=RurDBuJM9tde4qYOr-QduwizbUOD14c_-2JMM_g_7lA 2378
jailbreakbench/defenses/synonym_substitution.py sha256=gTwTd6SkHZWPeBojvl4e1eYkeOX_pY9gQePoWeXfwCI 1296
jailbreakbench/defenses/defenselib/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
jailbreakbench/defenses/defenselib/defense_hparams.py sha256=hvcKcyoEGETDUuJpn3T3PzTTgnqXbbU6DIdbTm_OvxE 1540
jailbreakbench/defenses/defenselib/perturbations.py sha256=aWH-RbDlUuduFJQF223zSZigm9VsiEUoyJaV5YU0Z3A 1812
jailbreakbench/llm/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
jailbreakbench/llm/dummy_vllm.py sha256=WCjq-IPtVhU0EfoOrlCsZgI3p0snzJmr-QwUpqFzZFs 553
jailbreakbench/llm/litellm.py sha256=QoZY8BSGHt9E6PbS9ZOEGQVvbOh2ZIS5P7SkrwJ-euU 3202
jailbreakbench/llm/llm_output.py sha256=AuGzFjlRO1Y7l90Bf-tDb96XqBzO6h4tRWkDpcMuj9s 747
jailbreakbench/llm/llm_wrapper.py sha256=56LpMult949SQbc4FuduNvwc7HvWiOQJNqEUr0S4VWE 6268
jailbreakbench/llm/vllm.py sha256=H2Z4Z5u8YkyDcvzu8UdRFZVmgonmmpIqVlHatArK1Fs 2250
jailbreakbench/plotting/plot_source_breakdown.py sha256=W1H5_xI_3pNp_ZNpcoDkGPNXiepV69J_IGRnMDRguxI 2458
jailbreakbench-1.0.0.dist-info/METADATA sha256=FgJlgv1IBp0peRlT8aSTTrix8IBNF-TUZG2Chdw5SQ8 25514
jailbreakbench-1.0.0.dist-info/WHEEL sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU 87
jailbreakbench-1.0.0.dist-info/licenses/LICENSE sha256=fhro82dvOf9uYq8XQzhcF2qUdrEVfzW7nQW05sZbfZQ 1076
jailbreakbench-1.0.0.dist-info/RECORD