Views
No views yet
| Model | Average | ARC | HellaSwag | MMLU | TruthfulQA |
|---|---|---|---|---|---|
| meta-llama/Llama-2-13b-hf | 56.9 | 58.11 | 80.97 | 54.34 | 34.17 |
| meta-llama/Llama-2-13b-chat-hf | 59.93 | 59.04 | 81.94 | 54.64 | 44.12 |
| Open-Orca/OpenOrca-Platypus2-13B | 64.6 | 62.8 | 83.15 | 59.39 | 53.08 |
| Open-Orca/OpenOrcaxOpenChat-Preview2-13B | 63.81 | 62.37 | 82.96 | 58.68 | 51.23 |
| circulus/Llama-2-13b-orca-v1 | 62.91 | 62.03 | 82.27 | 57.71 | 49.61 |
| CHIH-HUNG/llama-2-13b-open_orca_20w | 60.46 | 59.9 | 82.51 | 56.3 | 43.14 |
| CHIH-HUNG/llama-2-13b-OpenOrca_5w | 61.2 | 61.01 | 82.82 | 56.09 | 44.87 |
1import json
2from datasets import load_dataset
3
4# 讀取數據集,take可以取得該數據集前n筆資料
5dataset = load_dataset("Open-Orca/OpenOrca", split="train", streaming=True).take(50000)
6
7# 提取所需欄位並建立新的字典列表
8extracted_data = []
9for example in dataset:
10 extracted_example = {
11 ### open orca
12 "system_prompt": example["system_prompt"],
13 "question": example["question"],
14 "response": example["response"]
15 }
16 extracted_data.append(extracted_example)
17
18# 指定 JSON 文件名稱
19json_filename = "open_orca.json"
20
21# 寫入 JSON 文件
22with open(json_filename, "w") as json_file:
23 json.dump(extracted_data, json_file, indent=4)
24
25print(f"數據已提取並保存為 {json_filename}")