Commit
·
c5c298a
1
Parent(s):
3e67663
eval updates
Browse files- compile-results.ipynb +51 -40
- summary/bf16-all-results-and-groups.csv +2 -2
- summary/bf16-eng-focus.csv +2 -2
- summary/bf16-eng-results.csv +2 -2
- summary/bf16-eng-summary.csv +2 -2
- summary/bf16-multilang-results.csv +2 -2
- summary/bf16-multilang-summary.csv +2 -2
- summary/bf16-sorted-eng-focus.csv +2 -2
- summary/bf16-sorted-eng-results.csv +2 -2
- summary/bf16-sorted-eng-summary.csv +2 -2
- summary/bf16-sorted-multilang-summary.csv +2 -2
- summary/compiled-lm-eval-results.json +2 -2
- summary/rwkv-x-dev-bf16-sorted-eng-focus.csv +2 -2
- summary/rwkv-x-dev-bf16-sorted-multilang-summary.csv +2 -2
compile-results.ipynb
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
-
"execution_count":
|
6 |
"metadata": {},
|
7 |
"outputs": [
|
8 |
{
|
@@ -11,10 +11,10 @@
|
|
11 |
"text": [
|
12 |
"Defaulting to user installation because normal site-packages is not writeable\n",
|
13 |
"Requirement already satisfied: pandas in /Users/picocreator/Library/Python/3.9/lib/python/site-packages (2.2.0)\n",
|
14 |
-
"Requirement already satisfied: pytz>=2020.1 in /Users/picocreator/Library/Python/3.9/lib/python/site-packages (from pandas) (2024.1)\n",
|
15 |
-
"Requirement already satisfied: numpy<2,>=1.22.4 in /Users/picocreator/Library/Python/3.9/lib/python/site-packages (from pandas) (1.26.1)\n",
|
16 |
-
"Requirement already satisfied: python-dateutil>=2.8.2 in /Users/picocreator/Library/Python/3.9/lib/python/site-packages (from pandas) (2.8.2)\n",
|
17 |
"Requirement already satisfied: tzdata>=2022.7 in /Users/picocreator/Library/Python/3.9/lib/python/site-packages (from pandas) (2024.1)\n",
|
|
|
|
|
|
|
18 |
"Requirement already satisfied: six>=1.5 in /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages (from python-dateutil>=2.8.2->pandas) (1.15.0)\n",
|
19 |
"\u001b[33mWARNING: You are using pip version 21.2.4; however, version 24.0 is available.\n",
|
20 |
"You should consider upgrading via the '/Library/Developer/CommandLineTools/usr/bin/python3 -m pip install --upgrade pip' command.\u001b[0m\n"
|
@@ -36,14 +36,14 @@
|
|
36 |
},
|
37 |
{
|
38 |
"cell_type": "code",
|
39 |
-
"execution_count":
|
40 |
"metadata": {},
|
41 |
"outputs": [
|
42 |
{
|
43 |
"name": "stdout",
|
44 |
"output_type": "stream",
|
45 |
"text": [
|
46 |
-
"Found
|
47 |
]
|
48 |
}
|
49 |
],
|
@@ -71,7 +71,7 @@
|
|
71 |
},
|
72 |
{
|
73 |
"cell_type": "code",
|
74 |
-
"execution_count":
|
75 |
"metadata": {},
|
76 |
"outputs": [
|
77 |
{
|
@@ -156,16 +156,16 @@
|
|
156 |
},
|
157 |
{
|
158 |
"cell_type": "code",
|
159 |
-
"execution_count":
|
160 |
"metadata": {},
|
161 |
"outputs": [
|
162 |
{
|
163 |
"name": "stdout",
|
164 |
"output_type": "stream",
|
165 |
"text": [
|
166 |
-
"Found
|
167 |
"Models: \n",
|
168 |
-
"['mistralai/Mistral-7B-v0.1', 'mosaicml/mpt-7b-instruct', 'mosaicml/mpt-7b', 'mosaicml/mpt-7b-chat', 'bigscience/bloom-7b1', 'bigscience/bloomz-7b1-mt', 'bigscience/bloomz-7b1', 'EleutherAI/pythia-2.8b', 'EleutherAI/pythia-1.4b', 'EleutherAI/gpt-j-6b', 'EleutherAI/pythia-6.9b', 'google/flan-t5-base', 'google/gemma-2b', 'google/gemma-2b-it', 'google/gemma-7b', 'google/gemma-7b-it', 'google/flan-t5-large', 'microsoft/phi-1_5', 'microsoft/phi-2', 'microsoft/phi-1', 'allenai/OLMo-7B', 'TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T', 'TinyLlama/TinyLlama-1.1B-Chat-v1.0', 'RWKV/rwkv-5-world-1b5', 'RWKV/rwkv-5-world-3b', 'RWKV/rwkv-4-world-3b', 'RWKV/rwkv-4-world-1b5', 'RWKV/v5-Eagle-7B-HF', 'RWKV/rwkv-4-world-7b', 'aisingapore/sealion7b', 'aisingapore/sealion3b', './rwkv-x-dev/chunk4-0_85_pth', './rwkv-x-dev/chunk1-0_8_pth', './rwkv-x-dev/chunk0-0_8_pth', './rwkv-x-dev/blink4-final_pth', './rwkv-x-dev/chunk2-0_8_pth', './rwkv-x-dev/chunk3-0_8_pth', './rwkv-x-dev/r3-testchunk-1-8_pth', './rwkv-x-dev/chunk7-2-0_85_pth', './rwkv-x-dev/r3-testchunk2-blink-fixed_pth', './rwkv-x-dev/r3-testchunk2-blink_pth', './rwkv-x-dev/chunk5-0_85_pth', './rwkv-x-dev/RWKV-5-World-1B5-v2-20231025-ctx4096', './rwkv-x-dev/chunk8-1-0_85_pth', './rwkv-x-dev/r3-testchunk-1-8-no-cuda-with-warmup_pth', './rwkv-x-dev/r3-c1-8_pth', './rwkv-x-dev/RWKV-5-World-3B-v2-20231118-ctx16k', './rwkv-x-dev/RWKV-5-World-7B-v2-20240128-ctx4096', './rwkv-x-dev/chunk6-0_85_pth', './rwkv-x-dev/chunk7-1-0_85_pth', './rwkv-x-dev/r3-testchunk2_pth', './rwkv-x-dev/Hermes-RWKV-v5-7B_pth', './rwkv-x-dev/r3-testchunk-blink_pth', 'togethercomputer/RedPajama-INCITE-7B-Base', 'togethercomputer/RedPajama-INCITE-7B-Instruct', 'togethercomputer/RedPajama-INCITE-7B-Chat', 'facebook/opt-2.7b', 'facebook/opt-6.7b', 'facebook/opt-1.3b', 'tiiuae/falcon-7b-instruct', 'tiiuae/falcon-rw-1b', 'tiiuae/falcon-rw-7b', 'tiiuae/falcon-7b', 'huggyllama/llama-7b', 'meta-llama/Llama-2-7b-chat-hf', 'meta-llama/Llama-2-7b-hf']\n",
|
169 |
"Saved to compiled-lm-eval-results.json\n"
|
170 |
]
|
171 |
}
|
@@ -199,7 +199,7 @@
|
|
199 |
},
|
200 |
{
|
201 |
"cell_type": "code",
|
202 |
-
"execution_count":
|
203 |
"metadata": {},
|
204 |
"outputs": [
|
205 |
{
|
@@ -418,10 +418,10 @@
|
|
418 |
" <tr>\n",
|
419 |
" <th>23</th>\n",
|
420 |
" <td>RWKV/rwkv-5-world-1b5</td>\n",
|
421 |
-
" <td>0.
|
422 |
-
" <td>0.
|
423 |
-
" <td>0.
|
424 |
-
" <td>0.
|
425 |
" </tr>\n",
|
426 |
" <tr>\n",
|
427 |
" <th>24</th>\n",
|
@@ -612,7 +612,7 @@
|
|
612 |
"20 allenai/OLMo-7B 0.537818 \n",
|
613 |
"21 TinyLlama/TinyLlama-1.1B-intermediate-step-143... 0.529273 \n",
|
614 |
"22 TinyLlama/TinyLlama-1.1B-Chat-v1.0 0.528909 \n",
|
615 |
-
"23 RWKV/rwkv-5-world-1b5 0.
|
616 |
"24 RWKV/rwkv-5-world-3b 0.590000 \n",
|
617 |
"25 RWKV/rwkv-4-world-3b 0.575455 \n",
|
618 |
"26 RWKV/rwkv-4-world-1b5 0.554000 \n",
|
@@ -658,7 +658,7 @@
|
|
658 |
"20 0.034147 0.537818 0.034147 \n",
|
659 |
"21 0.029316 0.529273 0.029316 \n",
|
660 |
"22 0.031702 0.528909 0.031702 \n",
|
661 |
-
"23 0.
|
662 |
"24 0.057252 0.590000 0.057252 \n",
|
663 |
"25 0.040977 0.575455 0.040977 \n",
|
664 |
"26 0.039406 0.554000 0.039406 \n",
|
@@ -681,7 +681,7 @@
|
|
681 |
"43 0.052515 0.566727 0.052515 "
|
682 |
]
|
683 |
},
|
684 |
-
"execution_count":
|
685 |
"metadata": {},
|
686 |
"output_type": "execute_result"
|
687 |
}
|
@@ -758,7 +758,8 @@
|
|
758 |
" exGroups = [],\n",
|
759 |
"\n",
|
760 |
" # Sorted\n",
|
761 |
-
" sort = False
|
|
|
762 |
"):\n",
|
763 |
" table_rows = []\n",
|
764 |
"\n",
|
@@ -810,14 +811,19 @@
|
|
810 |
"\n",
|
811 |
" # Add the result to the row, as seperate columns for each key\n",
|
812 |
" for k, v in cleanResult.items():\n",
|
813 |
-
" row[f\"{test} ({k})\"] = v\n",
|
814 |
-
"\n",
|
815 |
" if k == 'acc':\n",
|
816 |
" acc_total += v\n",
|
817 |
" acc_count += 1\n",
|
818 |
" elif k == 'acc_stderr':\n",
|
819 |
" acc_stderr_total += v\n",
|
820 |
" acc_stderr_count += 1\n",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
821 |
"\n",
|
822 |
" # Add the results\n",
|
823 |
" for test, result in confSet['results'].items():\n",
|
@@ -831,14 +837,19 @@
|
|
831 |
"\n",
|
832 |
" # Add the result to the row, as seperate columns for each key\n",
|
833 |
" for k, v in cleanResult.items():\n",
|
834 |
-
" row[f\"{test} ({k})\"] = v\n",
|
835 |
-
"\n",
|
836 |
" if k == 'acc':\n",
|
837 |
" acc_total += v\n",
|
838 |
" acc_count += 1\n",
|
839 |
" elif k == 'acc_stderr':\n",
|
840 |
" acc_stderr_total += v\n",
|
841 |
" acc_stderr_count += 1\n",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
842 |
" \n",
|
843 |
" # Add the avg acc and acc_stderr\n",
|
844 |
" if acc_count > 0:\n",
|
@@ -871,27 +882,27 @@
|
|
871 |
},
|
872 |
{
|
873 |
"cell_type": "code",
|
874 |
-
"execution_count":
|
875 |
"metadata": {},
|
876 |
"outputs": [
|
877 |
{
|
878 |
"name": "stdout",
|
879 |
"output_type": "stream",
|
880 |
"text": [
|
881 |
-
"total
|
882 |
-
"-rw-r--r--@ 1 picocreator staff 1.0M Mar
|
883 |
-
"-rw-r--r--@ 1 picocreator staff
|
884 |
-
"-rw-r--r--@ 1 picocreator staff 966K Mar
|
885 |
-
"-rw-r--r--@ 1 picocreator staff 81K Mar
|
886 |
-
"-rw-r--r--@ 1 picocreator staff 100K Mar
|
887 |
-
"-rw-r--r--@ 1 picocreator staff 14K Mar
|
888 |
-
"-rw-r--r--@ 1 picocreator staff
|
889 |
-
"-rw-r--r--@ 1 picocreator staff 966K Mar
|
890 |
-
"-rw-r--r--@ 1 picocreator staff 81K Mar
|
891 |
-
"-rw-r--r--@ 1 picocreator staff 14K Mar
|
892 |
-
"-rw-r--r-- 1 picocreator staff 5.
|
893 |
-
"-rw-r--r--@ 1 picocreator staff
|
894 |
-
"-rw-r--r--@ 1 picocreator staff
|
895 |
]
|
896 |
}
|
897 |
],
|
@@ -936,7 +947,7 @@
|
|
936 |
"eng_grp_sorted.to_csv('summary/bf16-sorted-eng-summary.csv', index=False)\n",
|
937 |
"\n",
|
938 |
"# English focused subset\n",
|
939 |
-
"eng_focus_mixed=[\"lambada_openai\", \"lambada_standard\", \"blimp\", \"piqa\", \"copa\", \"sciq\",
|
940 |
"eng_focus_tGrps=[\"anli\", \"glue\", \"mmlu\" ]\n",
|
941 |
"eng_focus_tTest=[\"blimp\", \"arc_*\", \"logiqa\", \"winogrande\", \"openbookqa\", \"hellaswag\"]\n",
|
942 |
"\n",
|
@@ -949,7 +960,7 @@
|
|
949 |
"eng_focus_sorted.to_csv('summary/bf16-sorted-eng-focus.csv', index=False)\n",
|
950 |
"\n",
|
951 |
"# RWKV perf tracking\n",
|
952 |
-
"rwkv_eng_focus_sorted = generate_result_table( inConfig = { \"dtype\": \"bfloat16\" }, inGroups=eng_focus_tGrps, inResults=eng_focus_tTest, exModels=[], inModels=[\"./rwkv-x-dev/*\", \"rwkv-x-dev/*\", \"RWKV/*\"], sort=True )\n",
|
953 |
"rwkv_eng_focus_sorted.to_csv('summary/rwkv-x-dev-bf16-sorted-eng-focus.csv', index=False)\n",
|
954 |
"\n",
|
955 |
"# # Overall results\n",
|
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
+
"execution_count": 14,
|
6 |
"metadata": {},
|
7 |
"outputs": [
|
8 |
{
|
|
|
11 |
"text": [
|
12 |
"Defaulting to user installation because normal site-packages is not writeable\n",
|
13 |
"Requirement already satisfied: pandas in /Users/picocreator/Library/Python/3.9/lib/python/site-packages (2.2.0)\n",
|
|
|
|
|
|
|
14 |
"Requirement already satisfied: tzdata>=2022.7 in /Users/picocreator/Library/Python/3.9/lib/python/site-packages (from pandas) (2024.1)\n",
|
15 |
+
"Requirement already satisfied: python-dateutil>=2.8.2 in /Users/picocreator/Library/Python/3.9/lib/python/site-packages (from pandas) (2.8.2)\n",
|
16 |
+
"Requirement already satisfied: numpy<2,>=1.22.4 in /Users/picocreator/Library/Python/3.9/lib/python/site-packages (from pandas) (1.26.1)\n",
|
17 |
+
"Requirement already satisfied: pytz>=2020.1 in /Users/picocreator/Library/Python/3.9/lib/python/site-packages (from pandas) (2024.1)\n",
|
18 |
"Requirement already satisfied: six>=1.5 in /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages (from python-dateutil>=2.8.2->pandas) (1.15.0)\n",
|
19 |
"\u001b[33mWARNING: You are using pip version 21.2.4; however, version 24.0 is available.\n",
|
20 |
"You should consider upgrading via the '/Library/Developer/CommandLineTools/usr/bin/python3 -m pip install --upgrade pip' command.\u001b[0m\n"
|
|
|
36 |
},
|
37 |
{
|
38 |
"cell_type": "code",
|
39 |
+
"execution_count": 15,
|
40 |
"metadata": {},
|
41 |
"outputs": [
|
42 |
{
|
43 |
"name": "stdout",
|
44 |
"output_type": "stream",
|
45 |
"text": [
|
46 |
+
"Found 3488 results.json files\n"
|
47 |
]
|
48 |
}
|
49 |
],
|
|
|
71 |
},
|
72 |
{
|
73 |
"cell_type": "code",
|
74 |
+
"execution_count": 16,
|
75 |
"metadata": {},
|
76 |
"outputs": [
|
77 |
{
|
|
|
156 |
},
|
157 |
{
|
158 |
"cell_type": "code",
|
159 |
+
"execution_count": 17,
|
160 |
"metadata": {},
|
161 |
"outputs": [
|
162 |
{
|
163 |
"name": "stdout",
|
164 |
"output_type": "stream",
|
165 |
"text": [
|
166 |
+
"Found 73 models\n",
|
167 |
"Models: \n",
|
168 |
+
"['mistralai/Mistral-7B-v0.1', 'mosaicml/mpt-7b-instruct', 'mosaicml/mpt-7b', 'mosaicml/mpt-7b-chat', 'bigscience/bloom-7b1', 'bigscience/bloomz-7b1-mt', 'bigscience/bloomz-7b1', 'EleutherAI/pythia-2.8b', 'EleutherAI/pythia-1.4b', 'EleutherAI/gpt-j-6b', 'EleutherAI/pythia-6.9b', 'google/flan-t5-base', 'google/gemma-2b', 'google/gemma-2b-it', 'google/gemma-7b', 'google/gemma-7b-it', 'google/flan-t5-large', 'microsoft/phi-1_5', 'microsoft/phi-2', 'microsoft/phi-1', 'allenai/OLMo-7B', 'TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T', 'TinyLlama/TinyLlama-1.1B-Chat-v1.0', 'RWKV/rwkv-5-world-1b5', 'RWKV/rwkv-5-world-3b', 'RWKV/rwkv-4-world-3b', 'RWKV/rwkv-4-world-1b5', 'RWKV/v5-Eagle-7B-HF', 'RWKV/rwkv-4-world-7b', 'aisingapore/sealion7b', 'aisingapore/sealion3b', './rwkv-x-dev/chunk4-0_85_pth', './rwkv-x-dev/chunk1-0_8_pth', './rwkv-x-dev/chunk0-0_8_pth', './rwkv-x-dev/blink4-final_pth', './rwkv-x-dev/chunk2-0_8_pth', './rwkv-x-dev/chunk3-0_8_pth', './rwkv-x-dev/r3-4k-test2-fix3-blink-final_pth', './rwkv-x-dev/r3-testchunk-1-8_pth', './rwkv-x-dev/R4-with-shuffle-rwkv-53_pth', './rwkv-x-dev/chunk7-2-0_85_pth', './rwkv-x-dev/r3-testchunk2-blink-fixed_pth', './rwkv-x-dev/r3-testchunk2-blink_pth', './rwkv-x-dev/rwkv-230_pth', './rwkv-x-dev/chunk5-0_85_pth', './rwkv-x-dev/RWKV-5-World-1B5-v2-20231025-ctx4096', './rwkv-x-dev/R4-1B5-No-Mask_pth', './rwkv-x-dev/chunk8-1-0_85_pth', './rwkv-x-dev/R4-no-shuffle-rwkv-53_pth', './rwkv-x-dev/r3-testchunk-1-8-no-cuda-with-warmup_pth', './rwkv-x-dev/r3-c1-8_pth', './rwkv-x-dev/RWKV-5-World-3B-v2-20231118-ctx16k', './rwkv-x-dev/RWKV-5-World-7B-v2-20240128-ctx4096', './rwkv-x-dev/1_0-c1-290_pth', './rwkv-x-dev/R4-1B5-With-Mask_pth', './rwkv-x-dev/chunk6-0_85_pth', './rwkv-x-dev/chunk7-1-0_85_pth', './rwkv-x-dev/r3-testchunk2_pth', './rwkv-x-dev/Hermes-RWKV-v5-7B_pth', './rwkv-x-dev/r3-testchunk-blink_pth', 'togethercomputer/RedPajama-INCITE-7B-Base', 'togethercomputer/RedPajama-INCITE-7B-Instruct', 'togethercomputer/RedPajama-INCITE-7B-Chat', 'facebook/opt-2.7b', 'facebook/opt-6.7b', 'facebook/opt-1.3b', 'tiiuae/falcon-7b-instruct', 'tiiuae/falcon-rw-1b', 'tiiuae/falcon-rw-7b', 'tiiuae/falcon-7b', 'huggyllama/llama-7b', 'meta-llama/Llama-2-7b-chat-hf', 'meta-llama/Llama-2-7b-hf']\n",
|
169 |
"Saved to compiled-lm-eval-results.json\n"
|
170 |
]
|
171 |
}
|
|
|
199 |
},
|
200 |
{
|
201 |
"cell_type": "code",
|
202 |
+
"execution_count": 18,
|
203 |
"metadata": {},
|
204 |
"outputs": [
|
205 |
{
|
|
|
418 |
" <tr>\n",
|
419 |
" <th>23</th>\n",
|
420 |
" <td>RWKV/rwkv-5-world-1b5</td>\n",
|
421 |
+
" <td>0.578909</td>\n",
|
422 |
+
" <td>0.044635</td>\n",
|
423 |
+
" <td>0.578909</td>\n",
|
424 |
+
" <td>0.044635</td>\n",
|
425 |
" </tr>\n",
|
426 |
" <tr>\n",
|
427 |
" <th>24</th>\n",
|
|
|
612 |
"20 allenai/OLMo-7B 0.537818 \n",
|
613 |
"21 TinyLlama/TinyLlama-1.1B-intermediate-step-143... 0.529273 \n",
|
614 |
"22 TinyLlama/TinyLlama-1.1B-Chat-v1.0 0.528909 \n",
|
615 |
+
"23 RWKV/rwkv-5-world-1b5 0.578909 \n",
|
616 |
"24 RWKV/rwkv-5-world-3b 0.590000 \n",
|
617 |
"25 RWKV/rwkv-4-world-3b 0.575455 \n",
|
618 |
"26 RWKV/rwkv-4-world-1b5 0.554000 \n",
|
|
|
658 |
"20 0.034147 0.537818 0.034147 \n",
|
659 |
"21 0.029316 0.529273 0.029316 \n",
|
660 |
"22 0.031702 0.528909 0.031702 \n",
|
661 |
+
"23 0.044635 0.578909 0.044635 \n",
|
662 |
"24 0.057252 0.590000 0.057252 \n",
|
663 |
"25 0.040977 0.575455 0.040977 \n",
|
664 |
"26 0.039406 0.554000 0.039406 \n",
|
|
|
681 |
"43 0.052515 0.566727 0.052515 "
|
682 |
]
|
683 |
},
|
684 |
+
"execution_count": 18,
|
685 |
"metadata": {},
|
686 |
"output_type": "execute_result"
|
687 |
}
|
|
|
758 |
" exGroups = [],\n",
|
759 |
"\n",
|
760 |
" # Sorted\n",
|
761 |
+
" sort = False,\n",
|
762 |
+
" simplified = False\n",
|
763 |
"):\n",
|
764 |
" table_rows = []\n",
|
765 |
"\n",
|
|
|
811 |
"\n",
|
812 |
" # Add the result to the row, as seperate columns for each key\n",
|
813 |
" for k, v in cleanResult.items():\n",
|
|
|
|
|
814 |
" if k == 'acc':\n",
|
815 |
" acc_total += v\n",
|
816 |
" acc_count += 1\n",
|
817 |
" elif k == 'acc_stderr':\n",
|
818 |
" acc_stderr_total += v\n",
|
819 |
" acc_stderr_count += 1\n",
|
820 |
+
" \n",
|
821 |
+
" # For simplified, we only use acc and perplexity\n",
|
822 |
+
" if simplified and k not in ['acc', 'perplexity']:\n",
|
823 |
+
" continue\n",
|
824 |
+
"\n",
|
825 |
+
" # Save the value\n",
|
826 |
+
" row[f\"{test} ({k})\"] = v\n",
|
827 |
"\n",
|
828 |
" # Add the results\n",
|
829 |
" for test, result in confSet['results'].items():\n",
|
|
|
837 |
"\n",
|
838 |
" # Add the result to the row, as seperate columns for each key\n",
|
839 |
" for k, v in cleanResult.items():\n",
|
|
|
|
|
840 |
" if k == 'acc':\n",
|
841 |
" acc_total += v\n",
|
842 |
" acc_count += 1\n",
|
843 |
" elif k == 'acc_stderr':\n",
|
844 |
" acc_stderr_total += v\n",
|
845 |
" acc_stderr_count += 1\n",
|
846 |
+
"\n",
|
847 |
+
" # For simplified, we only use acc and perplexity\n",
|
848 |
+
" if simplified and k not in ['acc', 'perplexity']:\n",
|
849 |
+
" continue\n",
|
850 |
+
"\n",
|
851 |
+
" # Save the value\n",
|
852 |
+
" row[f\"{test} ({k})\"] = v\n",
|
853 |
" \n",
|
854 |
" # Add the avg acc and acc_stderr\n",
|
855 |
" if acc_count > 0:\n",
|
|
|
882 |
},
|
883 |
{
|
884 |
"cell_type": "code",
|
885 |
+
"execution_count": 19,
|
886 |
"metadata": {},
|
887 |
"outputs": [
|
888 |
{
|
889 |
"name": "stdout",
|
890 |
"output_type": "stream",
|
891 |
"text": [
|
892 |
+
"total 21536\n",
|
893 |
+
"-rw-r--r--@ 1 picocreator staff 1.0M Mar 7 01:16 bf16-all-results-and-groups.csv\n",
|
894 |
+
"-rw-r--r--@ 1 picocreator staff 68K Mar 7 01:16 bf16-eng-focus.csv\n",
|
895 |
+
"-rw-r--r--@ 1 picocreator staff 966K Mar 7 01:16 bf16-eng-results.csv\n",
|
896 |
+
"-rw-r--r--@ 1 picocreator staff 81K Mar 7 01:16 bf16-eng-summary.csv\n",
|
897 |
+
"-rw-r--r--@ 1 picocreator staff 100K Mar 7 01:16 bf16-multilang-results.csv\n",
|
898 |
+
"-rw-r--r--@ 1 picocreator staff 14K Mar 7 01:16 bf16-multilang-summary.csv\n",
|
899 |
+
"-rw-r--r--@ 1 picocreator staff 68K Mar 7 01:16 bf16-sorted-eng-focus.csv\n",
|
900 |
+
"-rw-r--r--@ 1 picocreator staff 966K Mar 7 01:16 bf16-sorted-eng-results.csv\n",
|
901 |
+
"-rw-r--r--@ 1 picocreator staff 81K Mar 7 01:16 bf16-sorted-eng-summary.csv\n",
|
902 |
+
"-rw-r--r--@ 1 picocreator staff 14K Mar 7 01:16 bf16-sorted-multilang-summary.csv\n",
|
903 |
+
"-rw-r--r-- 1 picocreator staff 5.7M Mar 7 01:16 compiled-lm-eval-results.json\n",
|
904 |
+
"-rw-r--r--@ 1 picocreator staff 37K Mar 7 01:16 rwkv-x-dev-bf16-sorted-eng-focus.csv\n",
|
905 |
+
"-rw-r--r--@ 1 picocreator staff 11K Mar 7 01:16 rwkv-x-dev-bf16-sorted-multilang-summary.csv\n"
|
906 |
]
|
907 |
}
|
908 |
],
|
|
|
947 |
"eng_grp_sorted.to_csv('summary/bf16-sorted-eng-summary.csv', index=False)\n",
|
948 |
"\n",
|
949 |
"# English focused subset\n",
|
950 |
+
"eng_focus_mixed=[\"lambada_openai\", \"lambada_standard\", \"blimp\", \"piqa\", \"copa\", \"sciq\", \"pythia\", \"truthfulqa\", \"record\"] #\"np_open\", \"cmmlu\"\n",
|
951 |
"eng_focus_tGrps=[\"anli\", \"glue\", \"mmlu\" ]\n",
|
952 |
"eng_focus_tTest=[\"blimp\", \"arc_*\", \"logiqa\", \"winogrande\", \"openbookqa\", \"hellaswag\"]\n",
|
953 |
"\n",
|
|
|
960 |
"eng_focus_sorted.to_csv('summary/bf16-sorted-eng-focus.csv', index=False)\n",
|
961 |
"\n",
|
962 |
"# RWKV perf tracking\n",
|
963 |
+
"rwkv_eng_focus_sorted = generate_result_table( inConfig = { \"dtype\": \"bfloat16\" }, inGroups=eng_focus_tGrps, inResults=eng_focus_tTest, exModels=[], inModels=[\"./rwkv-x-dev/*\", \"rwkv-x-dev/*\", \"RWKV/*\"], sort=True, simplified=True )\n",
|
964 |
"rwkv_eng_focus_sorted.to_csv('summary/rwkv-x-dev-bf16-sorted-eng-focus.csv', index=False)\n",
|
965 |
"\n",
|
966 |
"# # Overall results\n",
|
summary/bf16-all-results-and-groups.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91f8ef887b06a50ffccc5b4df35e93ab32703cb8683d04cefb0dee384a590382
|
3 |
+
size 1089354
|
summary/bf16-eng-focus.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:045d5f1627c5c4e75399d7cdad891bfab8efd60ef72f4c74eabbfc6f1b225cc4
|
3 |
+
size 69144
|
summary/bf16-eng-results.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6faf593c3849b156f3d55b2ad9f505290df68140719fcdef1e087c08fd755983
|
3 |
+
size 989330
|
summary/bf16-eng-summary.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f36e772632bb8265e318ecdfafe443dc04d030d7d75397f92016f4f41ac495a
|
3 |
+
size 82608
|
summary/bf16-multilang-results.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52fe0792e7511a6a29aa014361537a23d045b43a226366c95c8d1bec9d8f0f82
|
3 |
+
size 102812
|
summary/bf16-multilang-summary.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42aa4619a56e8dac0c3c95a90f93ff710ab583ae1c6f808100d97ebce67da3e0
|
3 |
+
size 14625
|
summary/bf16-sorted-eng-focus.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76fa743f0b198d6d9d342f9fa43c2d4a46afbc1d1c8ec07f625fac2f4df1d1e7
|
3 |
+
size 69144
|
summary/bf16-sorted-eng-results.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6006a3ce9c42fcce06b662084508b7a248742907fb096d71fdc5506b249eb232
|
3 |
+
size 989330
|
summary/bf16-sorted-eng-summary.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:45d265f4091e200e55fe4ffaa439d58b6205ee2019bcaf84a493d39c9be749fd
|
3 |
+
size 82608
|
summary/bf16-sorted-multilang-summary.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1aac3036ed6a26344e625ba5f43ac02e7ed3f099bafa52665fbdf9fd43ebcff3
|
3 |
+
size 14625
|
summary/compiled-lm-eval-results.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f6b390ddc10b6043827e71479e170565f8f7c4e45b61d5d2380f4799cc1f61b
|
3 |
+
size 5992720
|
summary/rwkv-x-dev-bf16-sorted-eng-focus.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5bf5d54c10d9d6bd88939e57dfd8fefa7aa8f4bdacd9b3dbb76e412b3a3dee30
|
3 |
+
size 13331
|
summary/rwkv-x-dev-bf16-sorted-multilang-summary.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d5c318aa3df78116ce035277071e21167c9f39552a6d9ea5e75ce178ea06505
|
3 |
+
size 11235
|