marianna13 commited on
Commit
da6fc76
1 Parent(s): 31227a6

add resp_url

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,8 +42,8 @@ MODEL_MAPPINGS = {
42
  "qwen2-72b-instruct": "Qwen 2 72b",
43
  "codestral-2405": "Codestral"
44
  }
45
-
46
- df = pd.read_json('responses_data/responses.jsonl', lines=True)
47
  df['model'] = df['model'].map(MODEL_MAPPINGS)
48
  df['prompt'] = df[['prompt', 'prompt_id']].apply(lambda x: f"{x['prompt']} [{x['prompt_id']}]", axis=1)
49
 
 
42
  "qwen2-72b-instruct": "Qwen 2 72b",
43
  "codestral-2405": "Codestral"
44
  }
45
+ resp_url = 'https://raw.githubusercontent.com/LAION-AI/AIW/main/collected_responses/responses.jsonl'
46
+ df = pd.read_json(resp_url, lines=True)
47
  df['model'] = df['model'].map(MODEL_MAPPINGS)
48
  df['prompt'] = df[['prompt', 'prompt_id']].apply(lambda x: f"{x['prompt']} [{x['prompt_id']}]", axis=1)
49