mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
Update refusalbench_environment.py
This commit is contained in:
parent
94f29eac18
commit
f285bbd417
1 changed files with 1 additions and 1 deletions
|
|
@ -447,7 +447,7 @@ class RefusalBenchEnv(BaseEnv):
|
|||
total_train_items += 1
|
||||
category = item.get(
|
||||
"overarching_category", "Unknown"
|
||||
) # The category needs to be called overarching_category. Otherwise it wont work
|
||||
) # The category needs to be called overarching_category. Otherwise it won't work
|
||||
train_category_counts[category] = (
|
||||
train_category_counts.get(category, 0) + 1
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue