Skip to content

Commit ef9e94f

Browse files
committed
fix rumi jawi docs
1 parent 6106289 commit ef9e94f

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

docs/load-rumi-jawi.ipynb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
"name": "stdout",
6868
"output_type": "stream",
6969
"text": [
70-
"CPU times: user 5.66 s, sys: 1.09 s, total: 6.75 s\n",
71-
"Wall time: 8.54 s\n"
70+
"CPU times: user 5.81 s, sys: 1.24 s, total: 7.06 s\n",
71+
"Wall time: 9.8 s\n"
7272
]
7373
}
7474
],
@@ -95,7 +95,7 @@
9595
"name": "stderr",
9696
"output_type": "stream",
9797
"text": [
98-
"INFO:malaya.jawi_rumi:tested on first 10k Jawi-Rumi test set, dataset at https://huggingface.co/datasets/mesolitica/rumi-jawi\n"
98+
"INFO:malaya.rumi_jawi:tested on first 10k Rumi-Jawi test set, dataset at https://huggingface.co/datasets/mesolitica/rumi-jawi\n"
9999
]
100100
},
101101
{
@@ -131,16 +131,16 @@
131131
" <th>small</th>\n",
132132
" <td>42.7</td>\n",
133133
" <td>13.1</td>\n",
134-
" <td>0.004477</td>\n",
135-
" <td>0.013642</td>\n",
134+
" <td>0.000617</td>\n",
135+
" <td>0.001928</td>\n",
136136
" <td>256.0</td>\n",
137137
" </tr>\n",
138138
" <tr>\n",
139139
" <th>base</th>\n",
140140
" <td>234.0</td>\n",
141141
" <td>63.8</td>\n",
142-
" <td>0.000764</td>\n",
143-
" <td>0.003042</td>\n",
142+
" <td>0.000124</td>\n",
143+
" <td>0.000438</td>\n",
144144
" <td>256.0</td>\n",
145145
" </tr>\n",
146146
" </tbody>\n",
@@ -149,8 +149,8 @@
149149
],
150150
"text/plain": [
151151
" Size (MB) Quantized Size (MB) CER WER Suggested length\n",
152-
"small 42.7 13.1 0.004477 0.013642 256.0\n",
153-
"base 234.0 63.8 0.000764 0.003042 256.0"
152+
"small 42.7 13.1 0.000617 0.001928 256.0\n",
153+
"base 234.0 63.8 0.000124 0.000438 256.0"
154154
]
155155
},
156156
"execution_count": 3,
@@ -159,7 +159,7 @@
159159
}
160160
],
161161
"source": [
162-
"malaya.jawi_rumi.available_transformer()"
162+
"malaya.rumi_jawi.available_transformer()"
163163
]
164164
},
165165
{

example/rumi-jawi/load-rumi-jawi.ipynb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
"name": "stdout",
6868
"output_type": "stream",
6969
"text": [
70-
"CPU times: user 5.66 s, sys: 1.09 s, total: 6.75 s\n",
71-
"Wall time: 8.54 s\n"
70+
"CPU times: user 5.81 s, sys: 1.24 s, total: 7.06 s\n",
71+
"Wall time: 9.8 s\n"
7272
]
7373
}
7474
],
@@ -95,7 +95,7 @@
9595
"name": "stderr",
9696
"output_type": "stream",
9797
"text": [
98-
"INFO:malaya.jawi_rumi:tested on first 10k Jawi-Rumi test set, dataset at https://huggingface.co/datasets/mesolitica/rumi-jawi\n"
98+
"INFO:malaya.rumi_jawi:tested on first 10k Rumi-Jawi test set, dataset at https://huggingface.co/datasets/mesolitica/rumi-jawi\n"
9999
]
100100
},
101101
{
@@ -131,16 +131,16 @@
131131
" <th>small</th>\n",
132132
" <td>42.7</td>\n",
133133
" <td>13.1</td>\n",
134-
" <td>0.004477</td>\n",
135-
" <td>0.013642</td>\n",
134+
" <td>0.000617</td>\n",
135+
" <td>0.001928</td>\n",
136136
" <td>256.0</td>\n",
137137
" </tr>\n",
138138
" <tr>\n",
139139
" <th>base</th>\n",
140140
" <td>234.0</td>\n",
141141
" <td>63.8</td>\n",
142-
" <td>0.000764</td>\n",
143-
" <td>0.003042</td>\n",
142+
" <td>0.000124</td>\n",
143+
" <td>0.000438</td>\n",
144144
" <td>256.0</td>\n",
145145
" </tr>\n",
146146
" </tbody>\n",
@@ -149,8 +149,8 @@
149149
],
150150
"text/plain": [
151151
" Size (MB) Quantized Size (MB) CER WER Suggested length\n",
152-
"small 42.7 13.1 0.004477 0.013642 256.0\n",
153-
"base 234.0 63.8 0.000764 0.003042 256.0"
152+
"small 42.7 13.1 0.000617 0.001928 256.0\n",
153+
"base 234.0 63.8 0.000124 0.000438 256.0"
154154
]
155155
},
156156
"execution_count": 3,
@@ -159,7 +159,7 @@
159159
}
160160
],
161161
"source": [
162-
"malaya.jawi_rumi.available_transformer()"
162+
"malaya.rumi_jawi.available_transformer()"
163163
]
164164
},
165165
{

0 commit comments

Comments
 (0)