Datasets:
Duplicate from bench-llm/or-bench
Browse filesCo-authored-by: Bench LLM <bench-llm@users.noreply.huggingface.co>
Files changed (34)
- .gitattributesAdded+2
- .gitignoreAdded+1
- README.mdAdded+210
- images/Claude-2.1.pngAdded
- images/Claude-3-haiku.pngAdded
- images/Claude-3-opus.pngAdded
- images/Claude-3-sonnet.pngAdded
- images/GPT-3.5-turbo-0125.pngAdded
- images/GPT-3.5-turbo-0301.pngAdded
- images/GPT-3.5-turbo-0613.pngAdded
- images/GPT-4-0125-preview.pngAdded
- images/GPT-4-1106-preview.pngAdded
- images/GPT-4-turbo-2024-04-09.pngAdded
- images/GPT-4o.pngAdded
- images/Gemini-1.0-pro.pngAdded
- images/Gemini-1.5-flash-latest.pngAdded
- images/Gemini-1.5-pro-latest.pngAdded
- images/Gemma-7b.pngAdded
- images/Llama-2-13b.pngAdded
- images/Llama-2-70b.pngAdded
- images/Llama-2-7b.pngAdded
- images/Llama-3-70b.pngAdded
- images/Llama-3-8b.pngAdded
- images/Mistral-large-latest.pngAdded
- images/Mistral-medium-latest.pngAdded
- images/Mistral-small-latest.pngAdded
- images/Qwen-1.5-32B.pngAdded
- images/Qwen-1.5-72B.pngAdded
- images/Qwen-1.5-7B.pngAdded
- images/overall_workflow.pngAdded
- images/overall_x_y_plot.pngAdded
- or-bench-80k.csvAdded+3
- or-bench-hard-1k.csvAdded+3
- or-bench-toxic.csvAdded+3
12*.png filter=lfs diff=lfs merge=lfs -text*.csv filter=lfs diff=lfs merge=lfs -text1.DS_Store123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210---language: - enpretty_name: "OR-Bench"viewer: truetags:- llm- alignment- over-alignmentlicense: "cc-by-4.0"dataset_info: - config_name: or-bench-80k features: - name: prompt dtype: string - name: category dtype: string - config_name: or-bench-hard-1k features: - name: prompt dtype: string - name: category dtype: string - config_name: or-bench-toxic features: - name: prompt dtype: string - name: category dtype: stringconfigs: - config_name: or-bench-80k data_files: - split: train path: or-bench-80k.csv - config_name: or-bench-hard-1k data_files: - split: train path: or-bench-hard-1k.csv - config_name: or-bench-toxic data_files: - split: train path: or-bench-toxic.csvtask_categories:- text-generation- question-answering---# OR-Bench: An Over-Refusal Benchmark for Large Language Models
Please see our **demo** at [HuggingFace Spaces](https://huggingface.co/spaces/bench-llm/or-bench).
## Overall Plots of Model PerformancesBelow is the overall model performance. X axis shows the rejection rate on OR-Bench-Hard-1K and Y axis shows the rejection rate on OR-Bench-Toxic. The best aligned model should be on the top left corner of the plot where the model rejects the most number of toxic prompts and least number of safe prompts. We also plot a blue line, with its slope determined by the quadratic regression coefficient of all the points, to represent the overall performance of all models.
<img src="images/overall_x_y_plot.png" alt="Image 1" style="width: 100%;"/>
## Overall WorkflowBelow is the overall workflow of our pipeline. We automate the process of producing seemingly toxic prompts that is able to produce updated prompts constantly.<img src="images/overall_workflow.png" alt="Image 1" style="width: 100%;"/>
## Detailed Model PerformanceHere are the radar plots of different model performances. The <span style="color: red;">red</span> area indicates the rejection rate of seemingly toxic prompts and the <span style="color: blue;">blue</span> area indicates the acceptance rate of toxic prompts. In both cases, the plotted area is the smaller the better.### Claude-2.1<div style="display: flex; flex-direction: row; justify-content: flex-start;"> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Claude-2.1.png" alt="Image 3" style="width: 100%;"/> <div>Claude-2.1</div> </div></div>
### Claude-3 Model Family<div style="display: flex; flex-direction: row; justify-content: flex-start;"> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Claude-3-haiku.png" alt="Image 1" style="width: 100%;"/> <div>Claude-3-Haiku</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Claude-3-sonnet.png" alt="Image 2" style="width: 100%;"/> <div>Claude-3-Sonnet</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Claude-3-opus.png" alt="Image 3" style="width: 100%;"/> <div>Claude-3-Opus</div> </div></div>
### Gemini Model Family<div style="display: flex; flex-direction: row; justify-content: flex-start;"> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Gemma-7b.png" alt="Image 2" style="width: 100%;"/> <div>Gemma-7b</div> </div></div>
<div style="display: flex; flex-direction: row; justify-content: flex-start;"> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Gemini-1.0-pro.png"" alt="Image 1" style="width: 100%;"/> <div>Gemini-1.0-pro</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Gemini-1.5-flash-latest.png"" alt="Image 1" style="width: 100%;"/> <div>Gemini-1.5-flash</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Gemini-1.5-pro-latest.png"" alt="Image 1" style="width: 100%;"/> <div>Gemini-1.5-pro</div> </div></div>
### GPT-3.5-turbo Model Family<div style="display: flex; flex-direction: row; justify-content: flex-start;"> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/GPT-3.5-turbo-0301.png" alt="Image 1" style="width: 100%;"/> <div>GPT-3.5-turbo-0301</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/GPT-3.5-turbo-0613.png" alt="Image 2" style="width: 100%;"/> <div>GPT-3.5-turbo-0613</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/GPT-3.5-turbo-0125.png" alt="Image 3" style="width: 100%;"/> <div>GPT-3.5-turbo-0125</div> </div></div>
### GPT-4 Model Family<div style="display: flex; flex-direction: row; justify-content: flex-start;"> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/GPT-4-0125-preview.png" alt="Image 1" style="width: 100%;"/> <div>GPT-4-0125-preview</div> </div> <!-- <div style="flex: 0 0 31%; text-align: center;"> <img src="images/GPT-4-1106-preview.png" alt="Image 3" style="width: 100%;"/> <div>GPT-4-1106-preview</div> </div> --> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/GPT-4o.png" alt="Image 3" style="width: 100%;"/> <div>GPT-4o</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/GPT-4-turbo-2024-04-09.png" alt="Image 3" style="width: 100%;"/> <div>GPT-4-1106-preview</div> </div></div>
### Llama-2 Model Family<div style="display: flex; flex-direction: row; justify-content: flex-start;"> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Llama-2-7b.png" alt="Image 1" style="width: 100%;"/> <div>Llama-2-7b</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Llama-2-13b.png" alt="Image 2" style="width: 100%;"/> <div>Llama-2-13b</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Llama-2-70b.png" alt="Image 3" style="width: 100%;"/> <div>Llama-2-70b</div> </div></div>
### Llama-3 Model Family<div style="display: flex; flex-direction: row; justify-content: flex-start;"> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Llama-3-8b.png" alt="Image 1" style="width: 100%;"/> <div>Llama-3-8b</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Llama-3-70b.png" alt="Image 3" style="width: 100%;"/> <div>Llama-3-70b</div> </div></div>
### Mistral Model Family<div style="display: flex; flex-direction: row; justify-content: flex-start;"> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Mistral-small-latest.png" alt="Image 1" style="width: 100%;"/> <div>Mistral-small-latest</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Mistral-medium-latest.png" alt="Image 2" style="width: 100%;"/> <div>Mistral-medium-latest</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Mistral-large-latest.png" alt="Image 3" style="width: 100%;"/> <div>Mistral-large-latest</div> </div></div>
### QWen Model Family<div style="display: flex; flex-direction: row; justify-content: flex-start;"> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Qwen-1.5-7B.png" alt="Image 1" style="width: 100%;"/> <div>Qwen-1.5-7B</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Qwen-1.5-32B.png" alt="Image 2" style="width: 100%;"/> <div>Qwen-1.5-32B</div> </div> <div style="flex: 0 0 31%; text-align: center;"> <img src="images/Qwen-1.5-72B.png" alt="Image 3" style="width: 100%;"/> <div>Qwen-1.5-72B</div> </div></div>
123version https://git-lfs.github.com/spec/v1oid sha256:22e956020cdfdd43c328f02441f003c933ee4e7083d02d9d24e414e4b42ae2e6size 11108548123version https://git-lfs.github.com/spec/v1oid sha256:a6e2f1166416efe5901f3bb05c47dc92ab3aca3acfe143693d38b8057d841e6dsize 169255123version https://git-lfs.github.com/spec/v1oid sha256:3be45901faae3b4b2b51bf7f8a2784c1650a1cc8c631dbc8b171d5312d4e0057size 64721.gitattributesAdded+2
.gitignoreAdded+1
README.mdAdded+210
images/Claude-2.1.pngAdded

Large File Pointer Details
- SHA256: 439db75f524ac8b54846b4424caff64aec9a7e6e114929f2bfdac3ef10590564
- Pointer size: 131 Bytes
- Size of remote file: 814 kB
images/Claude-3-haiku.pngAdded

Large File Pointer Details
- SHA256: 78db925f43e059292367203ff81a0227579d4cb620448626a3d4220257c3e55d
- Pointer size: 131 Bytes
- Size of remote file: 820 kB
images/Claude-3-opus.pngAdded

Large File Pointer Details
- SHA256: 7dc2df8ca99f17c516b7b603aee1871ce7ae72eaeaf8ce09986dc06a2f8a811b
- Pointer size: 131 Bytes
- Size of remote file: 832 kB
images/Claude-3-sonnet.pngAdded

Large File Pointer Details
- SHA256: 24f8dc2cea436edbbe17354f1dd6b489669b4018eae027adb3047ae2dbf758d6
- Pointer size: 131 Bytes
- Size of remote file: 813 kB
images/GPT-3.5-turbo-0125.pngAdded

Large File Pointer Details
- SHA256: 450eda799ed35423197e71adf73c9af0e0d393904251e4d6d4b5614848a61d26
- Pointer size: 131 Bytes
- Size of remote file: 823 kB
images/GPT-3.5-turbo-0301.pngAdded

Large File Pointer Details
- SHA256: cd9a409760511213adc7ebd53459ba57f430ff79907eaa42fa181c728869f246
- Pointer size: 131 Bytes
- Size of remote file: 816 kB
images/GPT-3.5-turbo-0613.pngAdded

Large File Pointer Details
- SHA256: 023ac09bcdbf5e8a131ed2a8fea8f5fe637c7eba7cd213ffa08256e58bd713a5
- Pointer size: 131 Bytes
- Size of remote file: 814 kB
images/GPT-4-0125-preview.pngAdded

Large File Pointer Details
- SHA256: 8fcea6373b77fa04e466c801fcfc6dfda3a7245726bb083725f826000cbf9c33
- Pointer size: 131 Bytes
- Size of remote file: 779 kB
images/GPT-4-1106-preview.pngAdded

Large File Pointer Details
- SHA256: a08ffe0496a24f4400fdfb0d74acb6a0f291d829629df51a524bfc1f7381a2ae
- Pointer size: 131 Bytes
- Size of remote file: 781 kB
images/GPT-4-turbo-2024-04-09.pngAdded

Large File Pointer Details
- SHA256: 3fd8be4f865e2e134aa2c7131ec49042cfbfdf4de89a01e15e960b1bc74c744f
- Pointer size: 131 Bytes
- Size of remote file: 777 kB
images/GPT-4o.pngAdded

Large File Pointer Details
- SHA256: ba6b8bbe475575b2a417f14c683a718b514eec3e45593233f790a4eadf70fcf9
- Pointer size: 131 Bytes
- Size of remote file: 789 kB
images/Gemini-1.0-pro.pngAdded

Large File Pointer Details
- SHA256: 685d227d9808b9deedfe20c0ea9c76ac38c090b774d126cdf8ec108d545ff3df
- Pointer size: 131 Bytes
- Size of remote file: 816 kB
images/Gemini-1.5-flash-latest.pngAdded

Large File Pointer Details
- SHA256: 652719cc2a74cc6596635ea7968457f511139c2ad6a73c4d7facf2e408101a10
- Pointer size: 131 Bytes
- Size of remote file: 817 kB
images/Gemini-1.5-pro-latest.pngAdded

Large File Pointer Details
- SHA256: efcaa6fc5eeba6881f9628754d7d95ea27db6ce9e780b18448ee13a5dbfe26a8
- Pointer size: 131 Bytes
- Size of remote file: 809 kB
images/Gemma-7b.pngAdded

Large File Pointer Details
- SHA256: 30dad207b3521145c4a75b5b97481ce1e9bf02a97b5d52b2f1743accd85561ea
- Pointer size: 131 Bytes
- Size of remote file: 823 kB
images/Llama-2-13b.pngAdded

Large File Pointer Details
- SHA256: 607feec88e9e53bbde977f18005e52de959d3740ab4a3cf915735bd75ebe9d21
- Pointer size: 131 Bytes
- Size of remote file: 816 kB
images/Llama-2-70b.pngAdded

Large File Pointer Details
- SHA256: ddacbfbd473e76b3d4195f6b00f72974e746ad436db60b74f3afc9fa4c323f6b
- Pointer size: 131 Bytes
- Size of remote file: 817 kB
images/Llama-2-7b.pngAdded

Large File Pointer Details
- SHA256: 55d31393d2a5841c3cec3ed33eb0c66d42b641c2df99bf1b1c9747135d2a9c3f
- Pointer size: 131 Bytes
- Size of remote file: 818 kB
images/Llama-3-70b.pngAdded

Large File Pointer Details
- SHA256: 18d64f1169cf3f8e374c2a5d82a9142123b4039500f4365d676fe36910394ac2
- Pointer size: 131 Bytes
- Size of remote file: 829 kB
images/Llama-3-8b.pngAdded

Large File Pointer Details
- SHA256: 07fb2419e72382a25ea763a589c6f3f744cab4cb53fae4d7399aea8f8f032e02
- Pointer size: 131 Bytes
- Size of remote file: 831 kB
images/Mistral-large-latest.pngAdded

Large File Pointer Details
- SHA256: 212904c79150ae458ca31b82e6f23c0adbd7825b8459eb61deff500ce04325b8
- Pointer size: 131 Bytes
- Size of remote file: 808 kB
images/Mistral-medium-latest.pngAdded

Large File Pointer Details
- SHA256: f7534928db43ffabd62036a96aceb98c1a12113b2f84696d8bcbdca6f29a2d83
- Pointer size: 131 Bytes
- Size of remote file: 805 kB
images/Mistral-small-latest.pngAdded

Large File Pointer Details
- SHA256: 300ff1fb0b3a099b5a78b037779bba3b95afe120c830ced65cdf68a569e0b088
- Pointer size: 131 Bytes
- Size of remote file: 805 kB
images/Qwen-1.5-32B.pngAdded

Large File Pointer Details
- SHA256: 65f2fea357739cdbfea6a14083d8301d43e9e8c9b1d450806a34fa4adb87e27f
- Pointer size: 131 Bytes
- Size of remote file: 820 kB
images/Qwen-1.5-72B.pngAdded

Large File Pointer Details
- SHA256: 5d17eb01bb1cbb94d03ee834b0cff1ddeeaaac3efef8f87a675820b8d0c37ae8
- Pointer size: 131 Bytes
- Size of remote file: 814 kB
images/Qwen-1.5-7B.pngAdded

Large File Pointer Details
- SHA256: f8733ed3fc4f0b4c9de58d540b96c3f05d8c8d555cb279cf2cc1b9aa0945e8e8
- Pointer size: 131 Bytes
- Size of remote file: 838 kB
images/overall_workflow.pngAdded

Large File Pointer Details
- SHA256: 57ebdfcec589a1767e876da224b3b2f18808668c419151a5e0770edd5309c9ba
- Pointer size: 131 Bytes
- Size of remote file: 103 kB
images/overall_x_y_plot.pngAdded

Large File Pointer Details
- SHA256: 6a52243a97ae97961a577bdf28d98291251067d3836161dbc0eea686bd3bffb2
- Pointer size: 132 Bytes
- Size of remote file: 1.13 MB
or-bench-80k.csvAdded+3
or-bench-hard-1k.csvAdded+3
or-bench-toxic.csvAdded+3