mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-08-31 12:00:23 +00:00
Fix incorrect indentation (#536)
This commit is contained in:
parent
18dd8ab633
commit
0a5214b804
@ -382,7 +382,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 4,
|
"execution_count": null,
|
||||||
"id": "3e4a15ec-2667-4f56-b7c1-34e8071b621d",
|
"id": "3e4a15ec-2667-4f56-b7c1-34e8071b621d",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
@ -499,7 +499,7 @@
|
|||||||
" if lines and lines[0].startswith(\"#\"):\n",
|
" if lines and lines[0].startswith(\"#\"):\n",
|
||||||
" lines = lines[1:]\n",
|
" lines = lines[1:]\n",
|
||||||
"\n",
|
"\n",
|
||||||
" for rank, line in enumerate(lines):\n",
|
" for line in lines:\n",
|
||||||
" pair = tuple(line.strip().split())\n",
|
" pair = tuple(line.strip().split())\n",
|
||||||
" if len(pair) == 2:\n",
|
" if len(pair) == 2:\n",
|
||||||
" token1, token2 = pair\n",
|
" token1, token2 = pair\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user