Commit 7678885
🐛 Fix llama guard adapter breaking because of metadata for different choice responses (#43)
* 🐛 Fix llama guard adapter breaking because of metadata for different choice responses
Signed-off-by: Gaurav-Kumbhat <[email protected]>
* Update tests/generative_detectors/test_llama_guard.py
Co-authored-by: Evaline Ju <[email protected]>
Signed-off-by: Gaurav Kumbhat <[email protected]>
---------
Signed-off-by: Gaurav-Kumbhat <[email protected]>
Signed-off-by: Gaurav Kumbhat <[email protected]>
Co-authored-by: Evaline Ju <[email protected]>1 parent f6e5d5a commit 7678885
File tree
2 files changed
+47
-2
lines changed- tests/generative_detectors
- vllm_detector_adapter/generative_detectors
2 files changed
+47
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
235 | 280 | | |
236 | 281 | | |
237 | 282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
0 commit comments