Update refusalbench_environment.py

This commit is contained in:
VolodymyrBg 2026-01-29 12:43:15 +02:00 committed by GitHub
parent 94f29eac18
commit f285bbd417
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
)