Spaces:
Sleeping
Sleeping
marianna13
commited on
Commit
•
ba5b48d
1
Parent(s):
25771ae
Update app.py
Browse files
app.py
CHANGED
@@ -42,8 +42,8 @@ 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/
|
46 |
-
df = pd.read_json(resp_url)
|
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 |
|