Leyo commited on
Commit
7cae97c
1 Parent(s): 6c67beb
Files changed (1) hide show
  1. app_dialogue.py +2 -2
app_dialogue.py CHANGED
@@ -285,12 +285,12 @@ def flag_dope(
285
  "top_p": [top_p],
286
  }
287
  try:
288
- ds = datasets.load_dataset("HuggingFaceM4/problematic-dataset-red-teaming", split="train", token=HF_WRITE_TOKEN)
289
  new_data = datasets.Dataset.from_dict(data, features=FEATURES)
290
  hf_dataset = datasets.concatenate_datasets([ds,new_data])
291
  except Exception:
292
  hf_dataset = datasets.Dataset.from_dict(data, features=FEATURES)
293
- hf_dataset.push_to_hub( "HuggingFaceM4/problematic-dataset-red-teaming", split="train", token=HF_WRITE_TOKEN, private=True)
294
 
295
 
296
  def flag_problematic(
 
285
  "top_p": [top_p],
286
  }
287
  try:
288
+ ds = datasets.load_dataset("HuggingFaceM4/dope-dataset-red-teaming", split="train", token=HF_WRITE_TOKEN)
289
  new_data = datasets.Dataset.from_dict(data, features=FEATURES)
290
  hf_dataset = datasets.concatenate_datasets([ds,new_data])
291
  except Exception:
292
  hf_dataset = datasets.Dataset.from_dict(data, features=FEATURES)
293
+ hf_dataset.push_to_hub( "HuggingFaceM4/dope-dataset-red-teaming", split="train", token=HF_WRITE_TOKEN, private=True)
294
 
295
 
296
  def flag_problematic(