Rafal commited on
Commit
2f790d1
·
1 Parent(s): 41438c6

Revert to old dataset

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. mgr_sentences.py +1 -1
app.py CHANGED
@@ -804,8 +804,8 @@ with gr.Blocks(theme=soft, title="Social Bias Testing in Language Models",
804
  allow_custom_value=False,
805
  interactive=True,
806
  choices=[
807
- "Flowers/Insects <> Pleasant/Unpleasant",
808
- "Instruments/Weapons <> Pleasant/Unpleasant",
809
  "Male/Female <> Professions",
810
  "Male/Female <> Science/Art",
811
  "Male/Female <> Career/Family",
 
804
  allow_custom_value=False,
805
  interactive=True,
806
  choices=[
807
+ #"Flowers/Insects <> Pleasant/Unpleasant",
808
+ #"Instruments/Weapons <> Pleasant/Unpleasant",
809
  "Male/Female <> Professions",
810
  "Male/Female <> Science/Art",
811
  "Male/Female <> Career/Family",
mgr_sentences.py CHANGED
@@ -8,7 +8,7 @@ import huggingface_hub
8
  print("hfh", huggingface_hub.__version__)
9
  from huggingface_hub import hf_hub_download, upload_file, delete_file, snapshot_download, list_repo_files, dataset_info
10
 
11
- DATASET_REPO_ID = "RKocielnik/bias-test-gpt-sentences5" #"AnimaLab/bias-test-gpt-sentences"
12
  DATASET_REPO_URL = f"https://huggingface.co/{DATASET_REPO_ID}"
13
  HF_DATA_DIRNAME = "data"
14
  LOCAL_DATA_DIRNAME = "data"
 
8
  print("hfh", huggingface_hub.__version__)
9
  from huggingface_hub import hf_hub_download, upload_file, delete_file, snapshot_download, list_repo_files, dataset_info
10
 
11
+ DATASET_REPO_ID = "AnimaLab/bias-test-gpt-sentences"
12
  DATASET_REPO_URL = f"https://huggingface.co/{DATASET_REPO_ID}"
13
  HF_DATA_DIRNAME = "data"
14
  LOCAL_DATA_DIRNAME = "data"