marianna13 commited on
Commit
e2e5007
1 Parent(s): 7318362

group by model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ MODEL_MAPPINGS = {
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)
 
42
  "qwen2-72b-instruct": "Qwen 2 72b",
43
  "codestral-2405": "Codestral"
44
  }
45
+ resp_url = 'https://github.com/LAION-AI/AIW/raw/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)